0s autopkgtest [19:48:37]: starting date and time: 2025-01-17 19:48:37+0000 0s autopkgtest [19:48:37]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [19:48:37]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.7ekjlh1m/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:libselinux --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-7.secgroup --name adt-plucky-amd64-glib2.0-20250117-194837-juju-7f2275-prod-proposed-migration-environment-2-18ff74ab-01ce-407a-b5da-12412017a748 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-amd64 -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/ 51s autopkgtest [19:49:28]: testbed dpkg architecture: amd64 51s autopkgtest [19:49:28]: testbed apt version: 2.9.18 52s autopkgtest [19:49:29]: @@@@@@@@@@@@@@@@@@@@ test bed setup 52s autopkgtest [19:49:29]: testbed release detected to be: None 53s autopkgtest [19:49:30]: updating testbed package index (apt update) 53s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 53s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 53s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 53s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 53s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [831 kB] 54s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [167 kB] 54s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 54s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 54s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [309 kB] 54s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [210 kB] 54s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 54s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 54s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1040 kB] 55s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [432 kB] 55s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 55s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 55s Fetched 3159 kB in 2s (1476 kB/s) 56s Reading package lists... 56s + lsb_release --codename --short 56s + RELEASE=plucky 56s + cat 56s + [ plucky != trusty ] 56s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 56s Reading package lists... 57s Building dependency tree... 57s Reading state information... 57s Calculating upgrade... 57s The following packages will be upgraded: 57s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-jwt 57s rng-tools-debian usb.ids 58s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Need to get 1236 kB of archives. 58s After this operation, 1024 B disk space will be freed. 58s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 58s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-13ubuntu1 [10.3 kB] 58s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-13ubuntu1 [53.0 kB] 58s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-13ubuntu1 [787 kB] 58s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-13ubuntu1 [78.2 kB] 58s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 58s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 58s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-jwt all 2.10.1-2 [21.0 kB] 59s Fetched 1236 kB in 1s (1322 kB/s) 59s (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 ... 75824 files and directories currently installed.) 59s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 59s Unpacking rng-tools-debian (2.6) over (2.5) ... 59s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_amd64.deb ... 59s Unpacking libatomic1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 59s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_amd64.deb ... 59s Unpacking gcc-14-base:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 59s Setting up gcc-14-base:amd64 (14.2.0-13ubuntu1) ... 59s (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 ... 75824 files and directories currently installed.) 59s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_amd64.deb ... 59s Unpacking libstdc++6:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 59s Setting up libstdc++6:amd64 (14.2.0-13ubuntu1) ... 59s (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 ... 75824 files and directories currently installed.) 59s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_amd64.deb ... 59s Unpacking libgcc-s1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 59s Setting up libgcc-s1:amd64 (14.2.0-13ubuntu1) ... 59s (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 ... 75824 files and directories currently installed.) 59s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 59s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 59s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 59s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 59s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 59s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 59s Setting up python3-jwt (2.10.1-2) ... 60s Setting up rng-tools-debian (2.6) ... 60s Setting up libatomic1:amd64 (14.2.0-13ubuntu1) ... 60s Setting up usb.ids (2025.01.14-1) ... 60s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 60s Processing triggers for man-db (2.13.0-1) ... 61s Processing triggers for libc-bin (2.40-4ubuntu1) ... 62s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 62s + /usr/lib/apt/apt-helper analyze-pattern ?true 62s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 62s Reading package lists... 62s Building dependency tree... 62s Reading state information... 62s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 62s + grep -q trusty /etc/lsb-release 62s + [ ! -d /usr/share/doc/unattended-upgrades ] 62s + [ ! -d /usr/share/doc/lxd ] 62s + [ ! -d /usr/share/doc/lxd-client ] 62s + [ ! -d /usr/share/doc/snapd ] 62s + type iptables 62s + cat 62s + chmod 755 /etc/rc.local 62s + . /etc/rc.local 62s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 62s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 62s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 62s + uname -m 62s + [ x86_64 = ppc64le ] 62s + [ -d /run/systemd/system ] 62s + systemd-detect-virt --quiet --vm 62s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 62s + cat 62s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 62s + echo COMPRESS=lz4 62s + sync 62s autopkgtest [19:49:39]: upgrading testbed (apt dist-upgrade and autopurge) 63s Reading package lists... 63s Building dependency tree... 63s Reading state information... 63s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 63s Starting 2 pkgProblemResolver with broken count: 0 63s Done 64s Entering ResolveByKeep 64s 64s The following packages will be upgraded: 64s libselinux1 64s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 64s Need to get 87.1 kB of archives. 64s After this operation, 1024 B of additional disk space will be used. 64s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libselinux1 amd64 3.7-3ubuntu2 [87.1 kB] 65s Fetched 87.1 kB in 0s (309 kB/s) 65s (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 ... 75821 files and directories currently installed.) 65s Preparing to unpack .../libselinux1_3.7-3ubuntu2_amd64.deb ... 65s Unpacking libselinux1:amd64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 65s Setting up libselinux1:amd64 (3.7-3ubuntu2) ... 65s Processing triggers for libc-bin (2.40-4ubuntu1) ... 65s Reading package lists... 65s Building dependency tree... 65s Reading state information... 66s Starting pkgProblemResolver with broken count: 0 66s Starting 2 pkgProblemResolver with broken count: 0 66s Done 66s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 66s autopkgtest [19:49:43]: rebooting testbed after setup commands that affected boot 90s autopkgtest [19:50:07]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 93s autopkgtest [19:50:10]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 104s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 104s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 104s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 104s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 105s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 105s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 105s gpgv: Can't check signature: No public key 105s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 105s autopkgtest [19:50:22]: testing package glib2.0 version 2.82.4-1 110s autopkgtest [19:50:27]: build not needed 119s autopkgtest [19:50:36]: test build: preparing testbed 119s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s Starting pkgProblemResolver with broken count: 0 120s Starting 2 pkgProblemResolver with broken count: 0 120s Done 120s The following NEW packages will be installed: 120s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 120s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 120s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblkid-dev libcc1-0 120s libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 120s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 120s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 120s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 120s pkgconf-bin uuid-dev zlib1g-dev 120s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 120s Need to get 70.5 MB of archives. 120s After this operation, 244 MB of additional disk space will be used. 120s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 121s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 121s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-13ubuntu1 [11.9 MB] 123s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-13ubuntu1 [1032 B] 123s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 123s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 123s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-13ubuntu1 [47.6 kB] 123s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-13ubuntu1 [148 kB] 123s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-13ubuntu1 [29.1 kB] 123s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-13ubuntu1 [2998 kB] 123s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-13ubuntu1 [1317 kB] 123s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-13ubuntu1 [2732 kB] 123s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-13ubuntu1 [1177 kB] 123s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-13ubuntu1 [1634 kB] 123s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-13ubuntu1 [153 kB] 123s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-13ubuntu1 [2815 kB] 123s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-13ubuntu1 [23.4 MB] 124s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-13ubuntu1 [534 kB] 124s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 124s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 124s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-13ubuntu1 [2508 kB] 124s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-13ubuntu1 [13.3 MB] 125s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-13ubuntu1 [21.1 kB] 125s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 125s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 125s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 125s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libffi-dev amd64 3.4.6-1build1 [62.8 kB] 125s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 uuid-dev amd64 2.40.2-1ubuntu2 [53.0 kB] 125s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libblkid-dev amd64 2.40.2-1ubuntu2 [234 kB] 125s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libsepol-dev amd64 3.7-1 [404 kB] 125s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu3 [214 kB] 125s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu3 [201 kB] 125s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu3 [6768 B] 125s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.42-4ubuntu3 [747 kB] 125s Get:35 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libselinux1-dev amd64 3.7-3ubuntu2 [169 kB] 125s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libmount-dev amd64 2.40.2-1ubuntu2 [33.2 kB] 125s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libsysprof-capture-4-dev amd64 47.2-1 [52.1 kB] 125s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 125s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 125s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 125s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 125s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev amd64 2.82.4-1 [1876 kB] 125s Fetched 70.5 MB in 5s (14.6 MB/s) 125s Selecting previously unselected package libisl23:amd64. 126s (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 ... 75821 files and directories currently installed.) 126s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 126s Unpacking libisl23:amd64 (0.27-1) ... 126s Selecting previously unselected package libmpc3:amd64. 126s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 126s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 126s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 126s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package cpp-14. 126s Preparing to unpack .../03-cpp-14_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking cpp-14 (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package cpp-x86-64-linux-gnu. 126s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 126s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 126s Selecting previously unselected package cpp. 126s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 126s Unpacking cpp (4:14.1.0-2ubuntu1) ... 126s Selecting previously unselected package libcc1-0:amd64. 126s Preparing to unpack .../06-libcc1-0_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking libcc1-0:amd64 (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package libgomp1:amd64. 126s Preparing to unpack .../07-libgomp1_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking libgomp1:amd64 (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package libitm1:amd64. 126s Preparing to unpack .../08-libitm1_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking libitm1:amd64 (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package libasan8:amd64. 126s Preparing to unpack .../09-libasan8_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking libasan8:amd64 (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package liblsan0:amd64. 126s Preparing to unpack .../10-liblsan0_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking liblsan0:amd64 (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package libtsan2:amd64. 126s Preparing to unpack .../11-libtsan2_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking libtsan2:amd64 (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package libubsan1:amd64. 126s Preparing to unpack .../12-libubsan1_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking libubsan1:amd64 (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package libhwasan0:amd64. 126s Preparing to unpack .../13-libhwasan0_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking libhwasan0:amd64 (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package libquadmath0:amd64. 126s Preparing to unpack .../14-libquadmath0_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking libquadmath0:amd64 (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package libgcc-14-dev:amd64. 126s Preparing to unpack .../15-libgcc-14-dev_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking libgcc-14-dev:amd64 (14.2.0-13ubuntu1) ... 126s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 126s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-13ubuntu1_amd64.deb ... 126s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 127s Selecting previously unselected package gcc-14. 127s Preparing to unpack .../17-gcc-14_14.2.0-13ubuntu1_amd64.deb ... 127s Unpacking gcc-14 (14.2.0-13ubuntu1) ... 127s Selecting previously unselected package gcc-x86-64-linux-gnu. 127s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 127s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 127s Selecting previously unselected package gcc. 127s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 127s Unpacking gcc (4:14.1.0-2ubuntu1) ... 127s Selecting previously unselected package libstdc++-14-dev:amd64. 127s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-13ubuntu1_amd64.deb ... 127s Unpacking libstdc++-14-dev:amd64 (14.2.0-13ubuntu1) ... 127s Selecting previously unselected package g++-14-x86-64-linux-gnu. 127s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-13ubuntu1_amd64.deb ... 127s Unpacking g++-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 127s Selecting previously unselected package g++-14. 127s Preparing to unpack .../22-g++-14_14.2.0-13ubuntu1_amd64.deb ... 127s Unpacking g++-14 (14.2.0-13ubuntu1) ... 127s Selecting previously unselected package g++-x86-64-linux-gnu. 127s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 127s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 127s Selecting previously unselected package g++. 127s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 127s Unpacking g++ (4:14.1.0-2ubuntu1) ... 127s Selecting previously unselected package build-essential. 127s Preparing to unpack .../25-build-essential_12.10ubuntu1_amd64.deb ... 127s Unpacking build-essential (12.10ubuntu1) ... 127s Selecting previously unselected package libffi-dev:amd64. 127s Preparing to unpack .../26-libffi-dev_3.4.6-1build1_amd64.deb ... 127s Unpacking libffi-dev:amd64 (3.4.6-1build1) ... 127s Selecting previously unselected package uuid-dev:amd64. 127s Preparing to unpack .../27-uuid-dev_2.40.2-1ubuntu2_amd64.deb ... 127s Unpacking uuid-dev:amd64 (2.40.2-1ubuntu2) ... 127s Selecting previously unselected package libblkid-dev:amd64. 127s Preparing to unpack .../28-libblkid-dev_2.40.2-1ubuntu2_amd64.deb ... 127s Unpacking libblkid-dev:amd64 (2.40.2-1ubuntu2) ... 127s Selecting previously unselected package libsepol-dev:amd64. 127s Preparing to unpack .../29-libsepol-dev_3.7-1_amd64.deb ... 127s Unpacking libsepol-dev:amd64 (3.7-1) ... 127s Selecting previously unselected package libpcre2-16-0:amd64. 127s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_amd64.deb ... 127s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 127s Selecting previously unselected package libpcre2-32-0:amd64. 127s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_amd64.deb ... 127s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 127s Selecting previously unselected package libpcre2-posix3:amd64. 127s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_amd64.deb ... 127s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 127s Selecting previously unselected package libpcre2-dev:amd64. 127s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_amd64.deb ... 127s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu3) ... 128s Selecting previously unselected package libselinux1-dev:amd64. 128s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu2_amd64.deb ... 128s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu2) ... 128s Selecting previously unselected package libmount-dev:amd64. 128s Preparing to unpack .../35-libmount-dev_2.40.2-1ubuntu2_amd64.deb ... 128s Unpacking libmount-dev:amd64 (2.40.2-1ubuntu2) ... 128s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 128s Preparing to unpack .../36-libsysprof-capture-4-dev_47.2-1_amd64.deb ... 128s Unpacking libsysprof-capture-4-dev:amd64 (47.2-1) ... 128s Selecting previously unselected package libpkgconf3:amd64. 128s Preparing to unpack .../37-libpkgconf3_1.8.1-4_amd64.deb ... 128s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 128s Selecting previously unselected package pkgconf-bin. 128s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_amd64.deb ... 128s Unpacking pkgconf-bin (1.8.1-4) ... 128s Selecting previously unselected package pkgconf:amd64. 128s Preparing to unpack .../39-pkgconf_1.8.1-4_amd64.deb ... 128s Unpacking pkgconf:amd64 (1.8.1-4) ... 128s Selecting previously unselected package zlib1g-dev:amd64. 128s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 128s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 128s Selecting previously unselected package libgio-2.0-dev:amd64. 128s Preparing to unpack .../41-libgio-2.0-dev_2.82.4-1_amd64.deb ... 128s Unpacking libgio-2.0-dev:amd64 (2.82.4-1) ... 128s Setting up libgomp1:amd64 (14.2.0-13ubuntu1) ... 128s Setting up libffi-dev:amd64 (3.4.6-1build1) ... 128s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 128s Setting up libsysprof-capture-4-dev:amd64 (47.2-1) ... 128s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 128s Setting up libpkgconf3:amd64 (1.8.1-4) ... 128s Setting up uuid-dev:amd64 (2.40.2-1ubuntu2) ... 128s Setting up libquadmath0:amd64 (14.2.0-13ubuntu1) ... 128s Setting up libmpc3:amd64 (1.3.1-1build2) ... 128s Setting up libsepol-dev:amd64 (3.7-1) ... 128s Setting up pkgconf-bin (1.8.1-4) ... 128s Setting up libubsan1:amd64 (14.2.0-13ubuntu1) ... 128s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 128s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 128s Setting up libhwasan0:amd64 (14.2.0-13ubuntu1) ... 128s Setting up libasan8:amd64 (14.2.0-13ubuntu1) ... 128s Setting up libtsan2:amd64 (14.2.0-13ubuntu1) ... 128s Setting up libisl23:amd64 (0.27-1) ... 128s Setting up libcc1-0:amd64 (14.2.0-13ubuntu1) ... 128s Setting up liblsan0:amd64 (14.2.0-13ubuntu1) ... 128s Setting up libitm1:amd64 (14.2.0-13ubuntu1) ... 128s Setting up libblkid-dev:amd64 (2.40.2-1ubuntu2) ... 128s Setting up libpcre2-dev:amd64 (10.42-4ubuntu3) ... 128s Setting up libselinux1-dev:amd64 (3.7-3ubuntu2) ... 128s Setting up pkgconf:amd64 (1.8.1-4) ... 128s Setting up cpp-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 128s Setting up cpp-14 (14.2.0-13ubuntu1) ... 128s Setting up libgcc-14-dev:amd64 (14.2.0-13ubuntu1) ... 128s Setting up libstdc++-14-dev:amd64 (14.2.0-13ubuntu1) ... 128s Setting up libmount-dev:amd64 (2.40.2-1ubuntu2) ... 128s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 128s Setting up libgio-2.0-dev:amd64 (2.82.4-1) ... 128s Setting up cpp (4:14.1.0-2ubuntu1) ... 128s Setting up gcc-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 128s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 128s Setting up gcc-14 (14.2.0-13ubuntu1) ... 128s Setting up g++-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 128s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 128s Setting up g++-14 (14.2.0-13ubuntu1) ... 128s Setting up gcc (4:14.1.0-2ubuntu1) ... 128s Setting up g++ (4:14.1.0-2ubuntu1) ... 128s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 128s Setting up build-essential (12.10ubuntu1) ... 128s Processing triggers for libc-bin (2.40-4ubuntu1) ... 128s Processing triggers for man-db (2.13.0-1) ... 129s Processing triggers for libglib2.0-0t64:amd64 (2.82.4-1) ... 129s No schema files found: doing nothing. 129s Processing triggers for install-info (7.1.1-1) ... 130s autopkgtest [19:50:47]: test build: [----------------------- 130s + mode=dynamic 130s + getopt -o --long static -n debian/tests/build -- 130s + getopt_temp= -- 130s + eval set -- -- 130s + set -- -- 130s + true 130s + shift 130s + break 130s + mktemp -d 130s + WORKDIR=/tmp/tmp.wKf6vNK2Q5 130s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 130s + cd /tmp/tmp.wKf6vNK2Q5 130s + [ -n ] 130s + CROSS_COMPILE= 130s + cat 130s + cat 130s + cat 130s + cat 130s + cat 130s + cat 130s + cflags= 130s + pcflags= 130s + packages=glib-2.0 130s + pkg-config --cflags --libs glib-2.0 130s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 130s + build (glib, dynamic): OK 130s echo build (glib, dynamic): OK 130s + [ -x glib-dynamic ] 130s + foo=bar ./glib-dynamic 130s + echo run (glib, dynamic): OK 130s run (glib, dynamic): OK 130s + cflags= 130s + pcflags= 130s + packages=gobject-2.0 130s + pkg-config --cflags --libs gobject-2.0 130s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 131s build (gobject, dynamic): OK 131s + echo build (gobject, dynamic): OK 131s + [ -x gobject-dynamic ] 131s + foo=bar ./gobject-dynamic 131s + echo run (gobject, dynamic): OK 131s + cflags= 131s + pcflags= 131s + packages=gio-2.0 131s + pkg-config --cflags --libs gio-2.0 131s run (gobject, dynamic): OK 131s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 131s build (gio, dynamic): OK 131s run (gio, dynamic): OK 131s + echo build (gio, dynamic): OK 131s + [ -x gio-dynamic ] 131s + foo=bar ./gio-dynamic 131s + echo run (gio, dynamic): OK 131s + cflags= 131s + pcflags= 131s + packages=gio-unix-2.0 131s + pkg-config --cflags --libs gio-unix-2.0 131s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 131s build (gio-unix, dynamic): OK 131s + echo build (gio-unix, dynamic): OK 131s + [ -x gio-unix-dynamic ] 131s + foo=bar ./gio-unix-dynamic 131s + run (gio-unix, dynamic): OK 131s echo run (gio-unix, dynamic): OK 131s + cflags= 131s + pcflags= 131s + packages=gmodule-2.0 131s + pkg-config --cflags --libs gmodule-2.0 131s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 131s build (gmodule, dynamic): OK 131s + echo build (gmodule, dynamic): OK 131s + [ -x gmodule-dynamic ] 131s + foo=bar ./gmodule-dynamic 131s + echo run (gmodule, dynamic): OK 131s + cflags=run (gmodule, dynamic): OK 131s 131s + pcflags= 131s + packages=gthread-2.0 131s + pkg-config --cflags --libs gthread-2.0 131s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 131s build (gthread, dynamic): OK 131s + echo build (gthread, dynamic): OK 131s + [ -x gthread-dynamic ] 131s + foo=bar ./gthread-dynamic 131s + echorun (gthread, dynamic): OK 131s run (gthread, dynamic): OK 131s + rm -rf /tmp/tmp.wKf6vNK2Q5 131s autopkgtest [19:50:48]: test build: -----------------------] 132s build PASS (superficial) 132s autopkgtest [19:50:49]: test build: - - - - - - - - - - results - - - - - - - - - - 132s autopkgtest [19:50:49]: test build-static: preparing testbed 133s Reading package lists... 133s Building dependency tree... 133s Reading state information... 133s Starting pkgProblemResolver with broken count: 0 133s Starting 2 pkgProblemResolver with broken count: 0 133s Done 134s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 134s autopkgtest [19:50:51]: test build-static: [----------------------- 135s + mode=dynamic 135s + getopt -o --long static -n debian/tests/build -- --static 135s + getopt_temp= --static -- 135s + eval set -- --static -- 135s + set -- --static -- 135s + true 135s + mode=static 135s + shift 135s + continue 135s + true 135s + shift 135s + break 135s + mktemp -d 135s + WORKDIR=/tmp/tmp.ylvashON4g 135s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 135s + cd /tmp/tmp.ylvashON4g 135s + [ -n ] 135s + CROSS_COMPILE= 135s + cat 135s + cat 135s + cat 135s + cat 135s + cat 135s + cat 135s + cflags= 135s + pcflags= 135s + packages=glib-2.0 135s + cflags=-static 135s + pcflags=--static 135s + pkg-config --static --cflags --libs glib-2.0 135s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 135s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 135s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 135s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 135s /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 135s + echo build (glib, static): OK 135s + [ -x glib-static ] 135s + foo=bar ./glib-static 135s + echo run (glib, static): OK 135s + cflags= 135s + pcflags= 135s + packages=gobject-2.0 135s + cflags=-static 135s + pcflags=--static 135s + pkg-config --staticbuild (glib, static): OK 135s run (glib, static): OK 135s --cflags --libs gobject-2.0 135s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 135s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 135s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 135s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 135s /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 135s build (gobject, static): OK 135s run (gobject, static): OK 135s + echo build (gobject, static): OK 135s + [ -x gobject-static ] 135s + foo=bar ./gobject-static 135s + echo run (gobject, static): OK 135s + cflags= 135s + pcflags= 135s + packages=gio-2.0 135s + cflags=-static 135s + pcflags=--static 135s + continue 135s + cflags= 135s + pcflags= 135s + packages=gio-unix-2.0 135s + cflags=-static 135s + pcflags=--static 135s + continue 135s + cflags= 135s + pcflags= 135s + packages=gmodule-2.0 135s + cflags=-static 135s + pcflags=--static 135s + pkg-config --static --cflags --libs gmodule-2.0 135s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 135s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 135s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 135s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 135s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 135s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 135s /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 135s build (gmodule, static): OK 135s run (gmodule, static): OK 135s + echo build (gmodule, static): OK 135s + [ -x gmodule-static ] 135s + foo=bar ./gmodule-static 135s + echo run (gmodule, static): OK 135s + cflags= 135s + pcflags= 135s + packages=gthread-2.0 135s + cflags=-static 135s + pcflags=--static 135s + pkg-config --static --cflags --libs gthread-2.0 135s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 135s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 135s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 135s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 135s /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 135s build (gthread, static): OK 135s + echo build (gthread, static): OK 135s + [ -x gthread-static ] 135s + foo=bar ./gthread-static 135s run (gthread, static): OK 135s + echo run (gthread, static): OK 135s + rm -rf /tmp/tmp.ylvashON4g 136s autopkgtest [19:50:53]: test build-static: -----------------------] 136s autopkgtest [19:50:53]: test build-static: - - - - - - - - - - results - - - - - - - - - - 136s build-static PASS (superficial) 137s autopkgtest [19:50:54]: test girepository-tools: preparing testbed 327s autopkgtest [19:54:04]: testbed dpkg architecture: amd64 327s autopkgtest [19:54:04]: testbed apt version: 2.9.18 328s autopkgtest [19:54:05]: @@@@@@@@@@@@@@@@@@@@ test bed setup 328s autopkgtest [19:54:05]: testbed release detected to be: plucky 328s autopkgtest [19:54:05]: updating testbed package index (apt update) 329s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 329s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 329s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 329s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 329s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [831 kB] 329s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 329s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 329s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [167 kB] 329s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [309 kB] 329s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [210 kB] 329s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 329s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 329s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [432 kB] 329s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1040 kB] 329s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 329s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 330s Fetched 3159 kB in 1s (3242 kB/s) 330s Reading package lists... 331s + lsb_release --codename --short 331s + RELEASE=plucky 331s + cat 331s + [ plucky != trusty ] 331s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 331s Reading package lists... 331s Building dependency tree... 331s Reading state information... 332s Calculating upgrade... 332s The following packages will be upgraded: 332s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-jwt 332s rng-tools-debian usb.ids 332s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 332s Need to get 1236 kB of archives. 332s After this operation, 1024 B disk space will be freed. 332s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 332s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-13ubuntu1 [10.3 kB] 332s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-13ubuntu1 [53.0 kB] 332s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-13ubuntu1 [787 kB] 332s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-13ubuntu1 [78.2 kB] 332s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 332s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 332s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-jwt all 2.10.1-2 [21.0 kB] 333s Fetched 1236 kB in 1s (1974 kB/s) 333s (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 ... 75824 files and directories currently installed.) 333s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 333s Unpacking rng-tools-debian (2.6) over (2.5) ... 333s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_amd64.deb ... 333s Unpacking libatomic1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 333s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_amd64.deb ... 333s Unpacking gcc-14-base:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 333s Setting up gcc-14-base:amd64 (14.2.0-13ubuntu1) ... 333s (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 ... 75824 files and directories currently installed.) 333s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_amd64.deb ... 333s Unpacking libstdc++6:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 333s Setting up libstdc++6:amd64 (14.2.0-13ubuntu1) ... 333s (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 ... 75824 files and directories currently installed.) 333s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_amd64.deb ... 333s Unpacking libgcc-s1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 333s Setting up libgcc-s1:amd64 (14.2.0-13ubuntu1) ... 333s (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 ... 75824 files and directories currently installed.) 333s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 333s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 333s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 333s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 333s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 333s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 333s Setting up python3-jwt (2.10.1-2) ... 333s Setting up rng-tools-debian (2.6) ... 334s Setting up libatomic1:amd64 (14.2.0-13ubuntu1) ... 334s Setting up usb.ids (2025.01.14-1) ... 334s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 334s Processing triggers for man-db (2.13.0-1) ... 335s Processing triggers for libc-bin (2.40-4ubuntu1) ... 335s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 335s + /usr/lib/apt/apt-helper analyze-pattern ?true 335s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 335s Reading package lists... 335s Building dependency tree... 335s Reading state information... 336s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 336s + grep -q trusty /etc/lsb-release 336s + [ ! -d /usr/share/doc/unattended-upgrades ] 336s + [ ! -d /usr/share/doc/lxd ] 336s + [ ! -d /usr/share/doc/lxd-client ] 336s + [ ! -d /usr/share/doc/snapd ] 336s + type iptables 336s + cat 336s + chmod 755 /etc/rc.local 336s + . /etc/rc.local 336s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 336s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 336s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 336s + uname -m 336s + [ x86_64 = ppc64le ] 336s + [ -d /run/systemd/system ] 336s + systemd-detect-virt --quiet --vm 336s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 336s + cat 336s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 336s + echo COMPRESS=lz4 336s + sync 336s autopkgtest [19:54:13]: upgrading testbed (apt dist-upgrade and autopurge) 336s Reading package lists... 336s Building dependency tree... 336s Reading state information... 337s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 337s Starting 2 pkgProblemResolver with broken count: 0 337s Done 337s Entering ResolveByKeep 337s 337s The following packages will be upgraded: 337s libselinux1 338s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 338s Need to get 87.1 kB of archives. 338s After this operation, 1024 B of additional disk space will be used. 338s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libselinux1 amd64 3.7-3ubuntu2 [87.1 kB] 338s Fetched 87.1 kB in 0s (290 kB/s) 338s (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 ... 75821 files and directories currently installed.) 338s Preparing to unpack .../libselinux1_3.7-3ubuntu2_amd64.deb ... 338s Unpacking libselinux1:amd64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 338s Setting up libselinux1:amd64 (3.7-3ubuntu2) ... 338s Processing triggers for libc-bin (2.40-4ubuntu1) ... 339s Reading package lists... 339s Building dependency tree... 339s Reading state information... 339s Starting pkgProblemResolver with broken count: 0 339s Starting 2 pkgProblemResolver with broken count: 0 339s Done 339s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 340s autopkgtest [19:54:17]: rebooting testbed after setup commands that affected boot 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 The following NEW packages will be installed: 366s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 366s native-architecture 366s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 366s Need to get 1047 kB of archives. 366s After this operation, 12.5 MB of additional disk space will be used. 366s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0-dev amd64 2.82.4-1 [853 kB] 366s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 366s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.4-1 [78.2 kB] 366s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.4-1 [115 kB] 367s Fetched 1047 kB in 1s (1831 kB/s) 367s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 367s (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 ... 75821 files and directories currently installed.) 367s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_amd64.deb ... 367s Unpacking gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 367s Selecting previously unselected package native-architecture. 367s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 367s Unpacking native-architecture (0.2.3) ... 367s Selecting previously unselected package libgirepository-2.0-0:amd64. 367s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_amd64.deb ... 367s Unpacking libgirepository-2.0-0:amd64 (2.82.4-1) ... 367s Selecting previously unselected package girepository-tools:amd64. 367s Preparing to unpack .../girepository-tools_2.82.4-1_amd64.deb ... 367s Unpacking girepository-tools:amd64 (2.82.4-1) ... 367s Setting up native-architecture (0.2.3) ... 367s Setting up libgirepository-2.0-0:amd64 (2.82.4-1) ... 367s Setting up gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 367s Setting up girepository-tools:amd64 (2.82.4-1) ... 367s Processing triggers for man-db (2.13.0-1) ... 367s Processing triggers for libc-bin (2.40-4ubuntu1) ... 377s autopkgtest [19:54:54]: test girepository-tools: [----------------------- 378s + cd /tmp/autopkgtest.20kj3z/autopkgtest_tmp 378s + dpkg-architecture -qDEB_HOST_GNU_TYPE 378s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 378s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 378s + dpkg-architecture -qDEB_HOST_MULTIARCH 378s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 378s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 378s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 378s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 378s typelib: GLib-2.0 378s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 378s autopkgtest [19:54:55]: test girepository-tools: -----------------------] 379s girepository-tools PASS (superficial) 379s autopkgtest [19:54:56]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 379s autopkgtest [19:54:56]: test libgio-2.0-dev-bin: preparing testbed 476s autopkgtest [19:56:33]: testbed dpkg architecture: amd64 477s autopkgtest [19:56:34]: testbed apt version: 2.9.18 477s autopkgtest [19:56:34]: @@@@@@@@@@@@@@@@@@@@ test bed setup 477s autopkgtest [19:56:34]: testbed release detected to be: plucky 478s autopkgtest [19:56:35]: updating testbed package index (apt update) 478s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 479s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 479s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 479s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 479s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [167 kB] 479s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [831 kB] 479s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 479s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 479s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [309 kB] 479s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [210 kB] 479s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 479s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 479s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [432 kB] 479s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1040 kB] 479s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 479s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 479s Fetched 3159 kB in 1s (3286 kB/s) 480s Reading package lists... 481s + lsb_release --codename --short 481s + RELEASE=plucky 481s + cat 481s + [ plucky != trusty ] 481s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 481s Reading package lists... 481s Building dependency tree... 481s Reading state information... 481s Calculating upgrade... 481s The following packages will be upgraded: 481s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-jwt 481s rng-tools-debian usb.ids 481s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 481s Need to get 1236 kB of archives. 481s After this operation, 1024 B disk space will be freed. 481s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 482s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-13ubuntu1 [10.3 kB] 482s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-13ubuntu1 [53.0 kB] 482s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-13ubuntu1 [787 kB] 482s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-13ubuntu1 [78.2 kB] 482s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 482s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 482s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-jwt all 2.10.1-2 [21.0 kB] 482s Fetched 1236 kB in 1s (1992 kB/s) 482s (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 ... 75824 files and directories currently installed.) 482s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 482s Unpacking rng-tools-debian (2.6) over (2.5) ... 483s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_amd64.deb ... 483s Unpacking libatomic1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 483s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_amd64.deb ... 483s Unpacking gcc-14-base:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 483s Setting up gcc-14-base:amd64 (14.2.0-13ubuntu1) ... 483s (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 ... 75824 files and directories currently installed.) 483s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_amd64.deb ... 483s Unpacking libstdc++6:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 483s Setting up libstdc++6:amd64 (14.2.0-13ubuntu1) ... 483s (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 ... 75824 files and directories currently installed.) 483s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_amd64.deb ... 483s Unpacking libgcc-s1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 483s Setting up libgcc-s1:amd64 (14.2.0-13ubuntu1) ... 483s (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 ... 75824 files and directories currently installed.) 483s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 483s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 483s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 483s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 483s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 483s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 483s Setting up python3-jwt (2.10.1-2) ... 483s Setting up rng-tools-debian (2.6) ... 484s Setting up libatomic1:amd64 (14.2.0-13ubuntu1) ... 484s Setting up usb.ids (2025.01.14-1) ... 484s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 484s Processing triggers for man-db (2.13.0-1) ... 485s Processing triggers for libc-bin (2.40-4ubuntu1) ... 485s Reading package lists...+ rm /etc/apt/preferences.d/force-downgrade-to-release.pref 485s + /usr/lib/apt/apt-helper analyze-pattern ?true 485s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 485s 485s Building dependency tree... 485s Reading state information... 485s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 485s + grep -q trusty /etc/lsb-release 485s + [ ! -d /usr/share/doc/unattended-upgrades ] 485s + [ ! -d /usr/share/doc/lxd ] 485s + [ ! -d /usr/share/doc/lxd-client ] 485s + [ ! -d /usr/share/doc/snapd ] 485s + type iptables 485s + cat 485s + chmod 755 /etc/rc.local 485s + . /etc/rc.local 485s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 485s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 485s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 485s + uname -m 485s + [ x86_64 = ppc64le ] 485s + [ -d /run/systemd/system ] 485s + systemd-detect-virt --quiet --vm 485s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 485s + cat 486s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 486s + echo COMPRESS=lz4 486s + sync 486s autopkgtest [19:56:43]: upgrading testbed (apt dist-upgrade and autopurge) 486s Reading package lists... 486s Building dependency tree... 486s Reading state information... 487s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 487s Starting 2 pkgProblemResolver with broken count: 0 487s Done 488s Entering ResolveByKeep 488s 488s The following packages will be upgraded: 488s libselinux1 488s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 488s Need to get 87.1 kB of archives. 488s After this operation, 1024 B of additional disk space will be used. 488s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libselinux1 amd64 3.7-3ubuntu2 [87.1 kB] 489s Fetched 87.1 kB in 0s (312 kB/s) 489s (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 ... 75821 files and directories currently installed.) 489s Preparing to unpack .../libselinux1_3.7-3ubuntu2_amd64.deb ... 489s Unpacking libselinux1:amd64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 489s Setting up libselinux1:amd64 (3.7-3ubuntu2) ... 489s Processing triggers for libc-bin (2.40-4ubuntu1) ... 489s Reading package lists... 490s Building dependency tree... 490s Reading state information... 490s Starting pkgProblemResolver with broken count: 0 490s Starting 2 pkgProblemResolver with broken count: 0 490s Done 490s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 491s autopkgtest [19:56:48]: rebooting testbed after setup commands that affected boot 516s Reading package lists... 517s Building dependency tree... 517s Reading state information... 517s Starting pkgProblemResolver with broken count: 0 517s Starting 2 pkgProblemResolver with broken count: 0 517s Done 517s The following NEW packages will be installed: 517s libgio-2.0-dev-bin python3-packaging 518s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 518s Need to get 180 kB of archives. 518s After this operation, 961 kB of additional disk space will be used. 518s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 518s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.4-1 [128 kB] 519s Fetched 180 kB in 1s (161 kB/s) 519s Selecting previously unselected package python3-packaging. 519s (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 ... 75821 files and directories currently installed.) 519s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 519s Unpacking python3-packaging (24.2-1) ... 519s Selecting previously unselected package libgio-2.0-dev-bin. 519s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_amd64.deb ... 519s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 519s Setting up python3-packaging (24.2-1) ... 519s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 519s Processing triggers for man-db (2.13.0-1) ... 529s autopkgtest [19:57:26]: test libgio-2.0-dev-bin: [----------------------- 529s + gdbus-codegen --help 529s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 529s [--c-namespace NAMESPACE] [--c-generate-object-manager] 529s [--c-generate-autocleanup {none,objects,all}] 529s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 529s [--generate-rst OUTFILES] [--pragma-once] 529s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 529s [--glib-min-required VERSION] 529s [--glib-max-allowed VERSION] 529s [--symbol-decorator SYMBOL_DECORATOR] 529s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 529s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 529s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 529s [--output FILE | --output-directory OUTDIR] 529s FILE [FILE ...] 529s 529s D-Bus code and documentation generator 529s 529s positional arguments: 529s FILE D-Bus introspection XML file 529s 529s options: 529s -h, --help show this help message and exit 529s --interface-prefix PREFIX 529s String to strip from D-Bus interface names for code 529s and docs 529s --c-namespace NAMESPACE 529s The namespace to use for generated C code 529s --c-generate-object-manager 529s Generate a GDBusObjectManagerClient subclass when 529s generating C code 529s --c-generate-autocleanup {none,objects,all} 529s Generate autocleanup support 529s --generate-docbook OUTFILES 529s Generate Docbook in OUTFILES-org.Project.IFace.xml 529s --generate-md OUTFILES 529s Generate Markdown in OUTFILES-org.Project.IFace.md 529s --generate-rst OUTFILES 529s Generate reStructuredText in OUTFILES- 529s org.Project.IFace.rst 529s --pragma-once Use "pragma once" as the inclusion guard 529s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 529s Add annotation (may be used several times) 529s --glib-min-required VERSION 529s Minimum version of GLib to be supported by the 529s outputted code (default: 2.30) 529s --glib-max-allowed VERSION 529s Maximum version of GLib to be used by the outputted 529s code (default: current GLib version) 529s --symbol-decorator SYMBOL_DECORATOR 529s Macro used to decorate a symbol in the outputted 529s header, possibly to export symbols 529s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 529s Additional header required for decorator specified by 529s --symbol-decorator 529s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 529s Additional define required for decorator specified by 529s --symbol-decorator 529s --generate-c-code OUTFILES 529s Generate C code in OUTFILES.[ch] 529s --header Generate C headers 529s --body Generate C code 529s --interface-info-header 529s Generate GDBusInterfaceInfo C header 529s --interface-info-body 529s Generate GDBusInterfaceInfo C code 529s --output FILE Write output into the specified file 529s --output-directory OUTDIR 529s Location to output generated files 529s 2.82.4 529s + glib-compile-resources --version 529s + glib-genmarshal --version 529s glib-genmarshal version 2.82.4 529s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 529s You may redistribute copies of glib-genmarshal under the terms of 529s the GNU General Public License which can be found in the 529s GLib source package. Sources, examples and contact 529s information are available at http://www.gtk.org 529s /usr/bin/glib-gettextize (GNU glib) 2.82.4 529s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 529s This is free software; see the source for copying conditions. There is NO 529s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 529s Written by Ulrich Drepper 529s + glib-gettextize --version 529s + glib-mkenums --version 529s glib-mkenums version 2.82.4 529s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 529s You may redistribute copies of glib-mkenums under the terms of 529s the GNU General Public License which can be found in the 529s GLib source package. Sources, examples and contact 529s information are available at http://www.gtk.org 529s + gobject-query tree 529s GObject 529s gtester version 2.82.4 529s + gtester --version 529s + gtester-report --version 529s gtester-report (GLib utils) version 2.82.4. 530s autopkgtest [19:57:27]: test libgio-2.0-dev-bin: -----------------------] 530s libgio-2.0-dev-bin PASS (superficial) 530s autopkgtest [19:57:27]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 530s autopkgtest [19:57:27]: test libglib2.0-dev: preparing testbed 669s autopkgtest [19:59:46]: testbed dpkg architecture: amd64 670s autopkgtest [19:59:47]: testbed apt version: 2.9.18 670s autopkgtest [19:59:47]: @@@@@@@@@@@@@@@@@@@@ test bed setup 670s autopkgtest [19:59:47]: testbed release detected to be: plucky 671s autopkgtest [19:59:48]: updating testbed package index (apt update) 671s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 671s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 671s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 672s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 672s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [167 kB] 672s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 672s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [831 kB] 672s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 672s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [210 kB] 672s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [309 kB] 672s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 672s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 672s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [432 kB] 672s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1040 kB] 672s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 672s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 672s Fetched 3159 kB in 1s (3361 kB/s) 673s Reading package lists... 673s + lsb_release --codename --short 674s + RELEASE=plucky 674s + cat 674s + [ plucky != trusty ] 674s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 674s Reading package lists... 674s Building dependency tree... 674s Reading state information... 674s Calculating upgrade... 674s The following packages will be upgraded: 674s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-jwt 674s rng-tools-debian usb.ids 674s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 674s Need to get 1236 kB of archives. 674s After this operation, 1024 B disk space will be freed. 674s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 675s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-13ubuntu1 [10.3 kB] 675s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-13ubuntu1 [53.0 kB] 675s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-13ubuntu1 [787 kB] 675s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-13ubuntu1 [78.2 kB] 675s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 675s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 675s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-jwt all 2.10.1-2 [21.0 kB] 675s Fetched 1236 kB in 1s (1960 kB/s) 675s (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 ... 75824 files and directories currently installed.) 675s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 675s Unpacking rng-tools-debian (2.6) over (2.5) ... 675s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_amd64.deb ... 675s Unpacking libatomic1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 675s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_amd64.deb ... 675s Unpacking gcc-14-base:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 675s Setting up gcc-14-base:amd64 (14.2.0-13ubuntu1) ... 675s (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 ... 75824 files and directories currently installed.) 675s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_amd64.deb ... 675s Unpacking libstdc++6:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 676s Setting up libstdc++6:amd64 (14.2.0-13ubuntu1) ... 676s (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 ... 75824 files and directories currently installed.) 676s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_amd64.deb ... 676s Unpacking libgcc-s1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 676s Setting up libgcc-s1:amd64 (14.2.0-13ubuntu1) ... 676s (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 ... 75824 files and directories currently installed.) 676s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 676s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 676s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 676s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 676s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 676s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 676s Setting up python3-jwt (2.10.1-2) ... 676s Setting up rng-tools-debian (2.6) ... 677s Setting up libatomic1:amd64 (14.2.0-13ubuntu1) ... 677s Setting up usb.ids (2025.01.14-1) ... 677s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 677s Processing triggers for man-db (2.13.0-1) ... 677s Processing triggers for libc-bin (2.40-4ubuntu1) ... 677s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 677s + /usr/lib/apt/apt-helper analyze-pattern ?true 677s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 678s Reading package lists... 678s Building dependency tree... 678s Reading state information... 678s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 678s + grep -q trusty /etc/lsb-release 678s + [ ! -d /usr/share/doc/unattended-upgrades ] 678s + [ ! -d /usr/share/doc/lxd ] 678s + [ ! -d /usr/share/doc/lxd-client ] 678s + [ ! -d /usr/share/doc/snapd ] 678s + type iptables 678s + cat 678s + chmod 755 /etc/rc.local 678s + . /etc/rc.local 678s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 678s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 678s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 678s + uname -m 678s + [ x86_64 = ppc64le ] 678s + [ -d /run/systemd/system ] 678s + systemd-detect-virt --quiet --vm 678s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 678s + cat 678s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 678s + echo COMPRESS=lz4 678s + sync 678s autopkgtest [19:59:55]: upgrading testbed (apt dist-upgrade and autopurge) 678s Reading package lists... 678s Building dependency tree... 678s Reading state information... 679s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 679s Starting 2 pkgProblemResolver with broken count: 0 679s Done 679s Entering ResolveByKeep 679s 679s The following packages will be upgraded: 679s libselinux1 680s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 680s Need to get 87.1 kB of archives. 680s After this operation, 1024 B of additional disk space will be used. 680s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libselinux1 amd64 3.7-3ubuntu2 [87.1 kB] 680s Fetched 87.1 kB in 0s (218 kB/s) 680s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75821 files and directories currently installed.) 680s Preparing to unpack .../libselinux1_3.7-3ubuntu2_amd64.deb ... 680s Unpacking libselinux1:amd64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 680s Setting up libselinux1:amd64 (3.7-3ubuntu2) ... 680s Processing triggers for libc-bin (2.40-4ubuntu1) ... 680s Reading package lists... 681s Building dependency tree... 681s Reading state information... 681s Starting pkgProblemResolver with broken count: 0 681s Starting 2 pkgProblemResolver with broken count: 0 681s Done 681s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 681s autopkgtest [19:59:58]: rebooting testbed after setup commands that affected boot 707s Reading package lists... 707s Building dependency tree... 707s Reading state information... 707s Starting pkgProblemResolver with broken count: 0 707s Starting 2 pkgProblemResolver with broken count: 0 708s Done 708s The following NEW packages will be installed: 708s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 708s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 708s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu gir1.2-glib-2.0-dev 708s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 708s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 708s libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 708s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 708s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 708s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 708s native-architecture pkgconf pkgconf-bin python3-packaging uuid-dev 708s zlib1g-dev 708s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 708s Need to get 71.8 MB of archives. 708s After this operation, 258 MB of additional disk space will be used. 708s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 708s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 708s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-13ubuntu1 [11.9 MB] 709s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-13ubuntu1 [1032 B] 709s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 709s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 709s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-13ubuntu1 [47.6 kB] 709s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-13ubuntu1 [148 kB] 709s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-13ubuntu1 [29.1 kB] 709s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-13ubuntu1 [2998 kB] 709s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-13ubuntu1 [1317 kB] 709s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-13ubuntu1 [2732 kB] 709s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-13ubuntu1 [1177 kB] 709s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-13ubuntu1 [1634 kB] 709s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-13ubuntu1 [153 kB] 709s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-13ubuntu1 [2815 kB] 709s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-13ubuntu1 [23.4 MB] 710s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-13ubuntu1 [534 kB] 710s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 710s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 710s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-13ubuntu1 [2508 kB] 710s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-13ubuntu1 [13.3 MB] 710s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-13ubuntu1 [21.1 kB] 710s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 710s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 710s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 710s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0-dev amd64 2.82.4-1 [853 kB] 710s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 710s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.4-1 [78.2 kB] 710s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.4-1 [115 kB] 710s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libffi-dev amd64 3.4.6-1build1 [62.8 kB] 710s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 uuid-dev amd64 2.40.2-1ubuntu2 [53.0 kB] 710s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libblkid-dev amd64 2.40.2-1ubuntu2 [234 kB] 710s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libsepol-dev amd64 3.7-1 [404 kB] 710s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu3 [214 kB] 710s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu3 [201 kB] 710s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu3 [6768 B] 710s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.42-4ubuntu3 [747 kB] 710s Get:39 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libselinux1-dev amd64 3.7-3ubuntu2 [169 kB] 710s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libmount-dev amd64 2.40.2-1ubuntu2 [33.2 kB] 710s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libsysprof-capture-4-dev amd64 47.2-1 [52.1 kB] 710s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 710s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 710s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 710s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 710s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev amd64 2.82.4-1 [1876 kB] 710s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 710s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.4-1 [128 kB] 710s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-bin amd64 2.82.4-1 [103 kB] 710s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.82.4-1 [18.1 kB] 710s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev amd64 2.82.4-1 [18.9 kB] 711s Fetched 71.8 MB in 2s (29.5 MB/s) 711s Selecting previously unselected package libisl23:amd64. 711s (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 ... 75821 files and directories currently installed.) 711s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 711s Unpacking libisl23:amd64 (0.27-1) ... 711s Selecting previously unselected package libmpc3:amd64. 711s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 711s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 711s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 711s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package cpp-14. 711s Preparing to unpack .../03-cpp-14_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking cpp-14 (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package cpp-x86-64-linux-gnu. 711s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 711s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 711s Selecting previously unselected package cpp. 711s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 711s Unpacking cpp (4:14.1.0-2ubuntu1) ... 711s Selecting previously unselected package libcc1-0:amd64. 711s Preparing to unpack .../06-libcc1-0_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking libcc1-0:amd64 (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package libgomp1:amd64. 711s Preparing to unpack .../07-libgomp1_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking libgomp1:amd64 (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package libitm1:amd64. 711s Preparing to unpack .../08-libitm1_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking libitm1:amd64 (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package libasan8:amd64. 711s Preparing to unpack .../09-libasan8_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking libasan8:amd64 (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package liblsan0:amd64. 711s Preparing to unpack .../10-liblsan0_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking liblsan0:amd64 (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package libtsan2:amd64. 711s Preparing to unpack .../11-libtsan2_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking libtsan2:amd64 (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package libubsan1:amd64. 711s Preparing to unpack .../12-libubsan1_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking libubsan1:amd64 (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package libhwasan0:amd64. 711s Preparing to unpack .../13-libhwasan0_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking libhwasan0:amd64 (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package libquadmath0:amd64. 711s Preparing to unpack .../14-libquadmath0_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking libquadmath0:amd64 (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package libgcc-14-dev:amd64. 711s Preparing to unpack .../15-libgcc-14-dev_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking libgcc-14-dev:amd64 (14.2.0-13ubuntu1) ... 711s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 711s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-13ubuntu1_amd64.deb ... 711s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 712s Selecting previously unselected package gcc-14. 712s Preparing to unpack .../17-gcc-14_14.2.0-13ubuntu1_amd64.deb ... 712s Unpacking gcc-14 (14.2.0-13ubuntu1) ... 712s Selecting previously unselected package gcc-x86-64-linux-gnu. 712s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 712s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 712s Selecting previously unselected package gcc. 712s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 712s Unpacking gcc (4:14.1.0-2ubuntu1) ... 712s Selecting previously unselected package libstdc++-14-dev:amd64. 712s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-13ubuntu1_amd64.deb ... 712s Unpacking libstdc++-14-dev:amd64 (14.2.0-13ubuntu1) ... 712s Selecting previously unselected package g++-14-x86-64-linux-gnu. 712s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-13ubuntu1_amd64.deb ... 712s Unpacking g++-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 712s Selecting previously unselected package g++-14. 712s Preparing to unpack .../22-g++-14_14.2.0-13ubuntu1_amd64.deb ... 712s Unpacking g++-14 (14.2.0-13ubuntu1) ... 712s Selecting previously unselected package g++-x86-64-linux-gnu. 712s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 712s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 712s Selecting previously unselected package g++. 712s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 712s Unpacking g++ (4:14.1.0-2ubuntu1) ... 712s Selecting previously unselected package build-essential. 712s Preparing to unpack .../25-build-essential_12.10ubuntu1_amd64.deb ... 712s Unpacking build-essential (12.10ubuntu1) ... 712s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 712s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.82.4-1_amd64.deb ... 712s Unpacking gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 712s Selecting previously unselected package native-architecture. 712s Preparing to unpack .../27-native-architecture_0.2.3_all.deb ... 712s Unpacking native-architecture (0.2.3) ... 712s Selecting previously unselected package libgirepository-2.0-0:amd64. 712s Preparing to unpack .../28-libgirepository-2.0-0_2.82.4-1_amd64.deb ... 712s Unpacking libgirepository-2.0-0:amd64 (2.82.4-1) ... 712s Selecting previously unselected package girepository-tools:amd64. 712s Preparing to unpack .../29-girepository-tools_2.82.4-1_amd64.deb ... 712s Unpacking girepository-tools:amd64 (2.82.4-1) ... 712s Selecting previously unselected package libffi-dev:amd64. 712s Preparing to unpack .../30-libffi-dev_3.4.6-1build1_amd64.deb ... 712s Unpacking libffi-dev:amd64 (3.4.6-1build1) ... 712s Selecting previously unselected package uuid-dev:amd64. 712s Preparing to unpack .../31-uuid-dev_2.40.2-1ubuntu2_amd64.deb ... 712s Unpacking uuid-dev:amd64 (2.40.2-1ubuntu2) ... 712s Selecting previously unselected package libblkid-dev:amd64. 712s Preparing to unpack .../32-libblkid-dev_2.40.2-1ubuntu2_amd64.deb ... 712s Unpacking libblkid-dev:amd64 (2.40.2-1ubuntu2) ... 712s Selecting previously unselected package libsepol-dev:amd64. 712s Preparing to unpack .../33-libsepol-dev_3.7-1_amd64.deb ... 712s Unpacking libsepol-dev:amd64 (3.7-1) ... 712s Selecting previously unselected package libpcre2-16-0:amd64. 712s Preparing to unpack .../34-libpcre2-16-0_10.42-4ubuntu3_amd64.deb ... 712s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 712s Selecting previously unselected package libpcre2-32-0:amd64. 712s Preparing to unpack .../35-libpcre2-32-0_10.42-4ubuntu3_amd64.deb ... 712s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 712s Selecting previously unselected package libpcre2-posix3:amd64. 712s Preparing to unpack .../36-libpcre2-posix3_10.42-4ubuntu3_amd64.deb ... 712s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 712s Selecting previously unselected package libpcre2-dev:amd64. 712s Preparing to unpack .../37-libpcre2-dev_10.42-4ubuntu3_amd64.deb ... 712s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu3) ... 713s Selecting previously unselected package libselinux1-dev:amd64. 713s Preparing to unpack .../38-libselinux1-dev_3.7-3ubuntu2_amd64.deb ... 713s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu2) ... 713s Selecting previously unselected package libmount-dev:amd64. 713s Preparing to unpack .../39-libmount-dev_2.40.2-1ubuntu2_amd64.deb ... 713s Unpacking libmount-dev:amd64 (2.40.2-1ubuntu2) ... 713s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 713s Preparing to unpack .../40-libsysprof-capture-4-dev_47.2-1_amd64.deb ... 713s Unpacking libsysprof-capture-4-dev:amd64 (47.2-1) ... 713s Selecting previously unselected package libpkgconf3:amd64. 713s Preparing to unpack .../41-libpkgconf3_1.8.1-4_amd64.deb ... 713s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 713s Selecting previously unselected package pkgconf-bin. 713s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_amd64.deb ... 713s Unpacking pkgconf-bin (1.8.1-4) ... 713s Selecting previously unselected package pkgconf:amd64. 713s Preparing to unpack .../43-pkgconf_1.8.1-4_amd64.deb ... 713s Unpacking pkgconf:amd64 (1.8.1-4) ... 713s Selecting previously unselected package zlib1g-dev:amd64. 713s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 713s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 713s Selecting previously unselected package libgio-2.0-dev:amd64. 713s Preparing to unpack .../45-libgio-2.0-dev_2.82.4-1_amd64.deb ... 713s Unpacking libgio-2.0-dev:amd64 (2.82.4-1) ... 713s Selecting previously unselected package python3-packaging. 713s Preparing to unpack .../46-python3-packaging_24.2-1_all.deb ... 713s Unpacking python3-packaging (24.2-1) ... 713s Selecting previously unselected package libgio-2.0-dev-bin. 713s Preparing to unpack .../47-libgio-2.0-dev-bin_2.82.4-1_amd64.deb ... 713s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 713s Selecting previously unselected package libglib2.0-bin. 713s Preparing to unpack .../48-libglib2.0-bin_2.82.4-1_amd64.deb ... 713s Unpacking libglib2.0-bin (2.82.4-1) ... 713s Selecting previously unselected package libglib2.0-dev-bin. 713s Preparing to unpack .../49-libglib2.0-dev-bin_2.82.4-1_amd64.deb ... 713s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 713s Selecting previously unselected package libglib2.0-dev:amd64. 713s Preparing to unpack .../50-libglib2.0-dev_2.82.4-1_amd64.deb ... 713s Unpacking libglib2.0-dev:amd64 (2.82.4-1) ... 713s Setting up native-architecture (0.2.3) ... 713s Setting up libgirepository-2.0-0:amd64 (2.82.4-1) ... 713s Setting up libglib2.0-bin (2.82.4-1) ... 713s Setting up libgomp1:amd64 (14.2.0-13ubuntu1) ... 713s Setting up libffi-dev:amd64 (3.4.6-1build1) ... 713s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 713s Setting up libsysprof-capture-4-dev:amd64 (47.2-1) ... 713s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 713s Setting up python3-packaging (24.2-1) ... 713s Setting up libpkgconf3:amd64 (1.8.1-4) ... 713s Setting up uuid-dev:amd64 (2.40.2-1ubuntu2) ... 713s Setting up libquadmath0:amd64 (14.2.0-13ubuntu1) ... 713s Setting up libmpc3:amd64 (1.3.1-1build2) ... 713s Setting up libsepol-dev:amd64 (3.7-1) ... 713s Setting up pkgconf-bin (1.8.1-4) ... 713s Setting up libubsan1:amd64 (14.2.0-13ubuntu1) ... 713s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 713s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 713s Setting up gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 713s Setting up libhwasan0:amd64 (14.2.0-13ubuntu1) ... 713s Setting up libasan8:amd64 (14.2.0-13ubuntu1) ... 713s Setting up libtsan2:amd64 (14.2.0-13ubuntu1) ... 713s Setting up libisl23:amd64 (0.27-1) ... 713s Setting up libcc1-0:amd64 (14.2.0-13ubuntu1) ... 713s Setting up liblsan0:amd64 (14.2.0-13ubuntu1) ... 713s Setting up libitm1:amd64 (14.2.0-13ubuntu1) ... 713s Setting up libblkid-dev:amd64 (2.40.2-1ubuntu2) ... 713s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 713s Setting up girepository-tools:amd64 (2.82.4-1) ... 713s Setting up libpcre2-dev:amd64 (10.42-4ubuntu3) ... 713s Setting up libselinux1-dev:amd64 (3.7-3ubuntu2) ... 713s Setting up pkgconf:amd64 (1.8.1-4) ... 713s Setting up cpp-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 713s Setting up cpp-14 (14.2.0-13ubuntu1) ... 713s Setting up libgcc-14-dev:amd64 (14.2.0-13ubuntu1) ... 713s Setting up libstdc++-14-dev:amd64 (14.2.0-13ubuntu1) ... 713s Setting up libmount-dev:amd64 (2.40.2-1ubuntu2) ... 713s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 713s Setting up libglib2.0-dev-bin (2.82.4-1) ... 713s Setting up libgio-2.0-dev:amd64 (2.82.4-1) ... 713s Setting up cpp (4:14.1.0-2ubuntu1) ... 713s Setting up gcc-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 713s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 713s Setting up gcc-14 (14.2.0-13ubuntu1) ... 713s Setting up g++-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 713s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 713s Setting up g++-14 (14.2.0-13ubuntu1) ... 713s Setting up gcc (4:14.1.0-2ubuntu1) ... 713s Setting up g++ (4:14.1.0-2ubuntu1) ... 713s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 713s Setting up build-essential (12.10ubuntu1) ... 713s Processing triggers for install-info (7.1.1-1) ... 713s Processing triggers for libc-bin (2.40-4ubuntu1) ... 713s Processing triggers for man-db (2.13.0-1) ... 714s Processing triggers for libglib2.0-0t64:amd64 (2.82.4-1) ... 714s No schema files found: doing nothing. 714s Setting up libglib2.0-dev:amd64 (2.82.4-1) ... 722s autopkgtest [20:00:39]: test libglib2.0-dev: [----------------------- 723s + debian/tests/build 723s + mode=dynamic 723s + getopt -o --long static -n debian/tests/build -- 723s + getopt_temp= -- 723s + eval set -- -- 723s + set -- -- 723s + true 723s + shift 723s + break 723s + mktemp -d 723s + WORKDIR=/tmp/tmp.o1DbQUPt6j 723s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 723s + cd /tmp/tmp.o1DbQUPt6j 723s + [ -n ] 723s + CROSS_COMPILE= 723s + cat 723s + cat 723s + cat 723s + cat 723s + cat 723s + cat 723s + cflags= 723s + pcflags= 723s + packages=glib-2.0 723s + pkg-config --cflags --libs glib-2.0 723s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 723s build (glib, dynamic): OK 723s run (glib, dynamic): OK 723s + echo build (glib, dynamic): OK 723s + [ -x glib-dynamic ] 723s + foo=bar ./glib-dynamic 723s + echo run (glib, dynamic): OK 723s + cflags= 723s + pcflags= 723s + packages=gobject-2.0 723s + pkg-config --cflags --libs gobject-2.0 723s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 723s build (gobject, dynamic): OK 723s + echo build (gobject, dynamic): OK 723s + [ -x gobject-dynamic ] 723s + foo=bar ./gobject-dynamic 723s run (gobject, dynamic): OK 723s + echo run (gobject, dynamic): OK 723s + cflags= 723s + pcflags= 723s + packages=gio-2.0 723s + pkg-config --cflags --libs gio-2.0 723s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 723s build (gio, dynamic): OK 723s run (gio, dynamic): OK 723s + echo build (gio, dynamic): OK 723s + [ -x gio-dynamic ] 723s + foo=bar ./gio-dynamic 723s + echo run (gio, dynamic): OK 723s + cflags= 723s + pcflags= 723s + packages=gio-unix-2.0 723s + pkg-config --cflags --libs gio-unix-2.0 723s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 723s build (gio-unix, dynamic): OK 723s run (gio-unix, dynamic): OK 723s + echo build (gio-unix, dynamic): OK 723s + [ -x gio-unix-dynamic ] 723s + foo=bar ./gio-unix-dynamic 723s + echo run (gio-unix, dynamic): OK 723s + cflags= 723s + pcflags= 723s + packages=gmodule-2.0 723s + pkg-config --cflags --libs gmodule-2.0 723s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 723s build (gmodule, dynamic): OK 723s + echo build (gmodule, dynamic): OK 723s + [ -x gmodule-dynamic ] 723s + foo=bar ./gmodule-dynamic 723s + echo run (gmodule, dynamic): OK 723s + cflags= 723s + pcflags= 723s + packages=gthread-2.0 723s run (gmodule, dynamic): OK 723s + pkg-config --cflags --libs gthread-2.0 723s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 723s build (gthread, dynamic): OK 723s + echo build (gthread, dynamic): OK 723s + [ -x gthread-dynamic ] 723s + foo=bar ./gthread-dynamic 723s run (gthread, dynamic): OK 723s + echo run (gthread, dynamic): OK 723s + rm -rf /tmp/tmp.o1DbQUPt6j 723s + debian/tests/build-static 723s + mode=dynamic 723s + getopt -o --long static -n debian/tests/build -- --static 723s + getopt_temp= --static -- 723s + eval set -- --static -- 723s + set -- --static -- 723s + true 723s + mode=static 723s + shift 723s + continue 723s + true 723s + shift 723s + break 723s + mktemp -d 723s + WORKDIR=/tmp/tmp.RXGELlqoxO 723s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 723s + cd /tmp/tmp.RXGELlqoxO 723s + [ -n ] 723s + CROSS_COMPILE= 723s + cat 723s + cat 723s + cat 723s + cat 723s + cat 723s + cat 723s + cflags= 723s + pcflags= 723s + packages=glib-2.0 723s + cflags=-static 723s + pcflags=--static 723s + pkg-config --static --cflags --libs glib-2.0 723s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 723s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 723s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 723s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 723s /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 723s build (glib, static): OK 723s + echo build (glib, static): OK 723s + [ -x glib-static ] 723s + foo=bar ./glib-static 723s + echo run (glib, static): OKrun (glib, static): OK 723s 723s + cflags= 723s + pcflags= 723s + packages=gobject-2.0 723s + cflags=-static 723s + pcflags=--static 723s + pkg-config --static --cflags --libs gobject-2.0 723s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 723s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 723s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 723s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 723s /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 724s build (gobject, static): OK 724s + echo build (gobject, static): OK 724s + [ -x gobject-static ] 724s + foo=bar ./gobject-static 724s + echo run (gobject, static): OK 724s + cflags= 724s + pcflags= 724s + packages=gio-2.0 724s + cflags=-static 724s + pcflags=--static 724s + continue 724s + cflags= 724s + pcflags= 724s + packages=gio-unix-2.0 724s + cflags=-static 724s + pcflags=--static 724s + continue 724s + cflags= 724s + pcflags= 724s + packages=gmodule-2.0 724s + cflags=-static 724s + pcflags=--static 724s run (gobject, static): OK 724s + pkg-config --static --cflags --libs gmodule-2.0 724s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 724s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 724s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 724s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 724s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 724s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 724s /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 724s build (gmodule, static): OK 724s run (gmodule, static): OK 724s + echo build (gmodule, static): OK 724s + [ -x gmodule-static ] 724s + foo=bar ./gmodule-static 724s + echo run (gmodule, static): OK 724s + cflags= 724s + pcflags= 724s + packages=gthread-2.0 724s + cflags=-static 724s + pcflags=--static 724s + pkg-config --static --cflags --libs gthread-2.0 724s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 724s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 724s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 724s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 724s /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 724s build (gthread, static): OK 724s + echo build (gthread, static): OK 724s + [ -x gthread-static ] 724s + foo=bar ./gthread-static 724s + echo run (gthread, static): OK 724s + rm -rf /tmp/tmp.RXGELlqoxO 724s run (gthread, static): OK 724s + debian/tests/girepository-tools 724s + cd /tmp/autopkgtest.20kj3z/autopkgtest_tmp 724s + dpkg-architecture -qDEB_HOST_GNU_TYPE 724s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 724s + dpkg-architecture -qDEB_HOST_MULTIARCH 724s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 724s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 724s typelib: GLib-2.0 724s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 724s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 724s + debian/tests/libgio-2.0-dev-bin 724s + gdbus-codegen --help 724s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 724s [--c-namespace NAMESPACE] [--c-generate-object-manager] 724s [--c-generate-autocleanup {none,objects,all}] 724s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 724s [--generate-rst OUTFILES] [--pragma-once] 724s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 724s [--glib-min-required VERSION] 724s [--glib-max-allowed VERSION] 724s [--symbol-decorator SYMBOL_DECORATOR] 724s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 724s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 724s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 724s [--output FILE | --output-directory OUTDIR] 724s FILE [FILE ...] 724s 724s D-Bus code and documentation generator 724s 724s positional arguments: 724s FILE D-Bus introspection XML file 724s 724s options: 724s -h, --help show this help message and exit 724s --interface-prefix PREFIX 724s String to strip from D-Bus interface names for code 724s and docs 724s --c-namespace NAMESPACE 724s The namespace to use for generated C code 724s --c-generate-object-manager 724s Generate a GDBusObjectManagerClient subclass when 724s generating C code 724s --c-generate-autocleanup {none,objects,all} 724s Generate autocleanup support 724s --generate-docbook OUTFILES 724s Generate Docbook in OUTFILES-org.Project.IFace.xml 724s --generate-md OUTFILES 724s Generate Markdown in OUTFILES-org.Project.IFace.md 724s --generate-rst OUTFILES 724s Generate reStructuredText in OUTFILES- 724s org.Project.IFace.rst 724s --pragma-once Use "pragma once" as the inclusion guard 724s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 724s Add annotation (may be used several times) 724s --glib-min-required VERSION 724s Minimum version of GLib to be supported by the 724s outputted code (default: 2.30) 724s --glib-max-allowed VERSION 724s Maximum version of GLib to be used by the outputted 724s code (default: current GLib version) 724s --symbol-decorator SYMBOL_DECORATOR 724s Macro used to decorate a symbol in the outputted 724s header, possibly to export symbols 724s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 724s Additional header required for decorator specified by 724s --symbol-decorator 724s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 724s Additional define required for decorator specified by 724s --symbol-decorator 724s --generate-c-code OUTFILES 724s Generate C code in OUTFILES.[ch] 724s --header Generate C headers 724s --body Generate C code 724s --interface-info-header 724s Generate GDBusInterfaceInfo C header 724s --interface-info-body 724s Generate GDBusInterfaceInfo C code 724s --output FILE Write output into the specified file 724s --output-directory OUTDIR 724s Location to output generated files 724s + glib-compile-resources --version 724s 2.82.4 724s + glib-genmarshal --version 724s glib-genmarshal version 2.82.4 724s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 724s You may redistribute copies of glib-genmarshal under the terms of 724s the GNU General Public License which can be found in the 724s GLib source package. Sources, examples and contact 724s information are available at http://www.gtk.org 724s + glib-gettextize --version 724s + glib-mkenums --version 724s /usr/bin/glib-gettextize (GNU glib) 2.82.4 724s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 724s This is free software; see the source for copying conditions. There is NO 724s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 724s Written by Ulrich Drepper 724s glib-mkenums version 2.82.4 724s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 724s You may redistribute copies of glib-mkenums under the terms of 724s the GNU General Public License which can be found in the 724s GLib source package. Sources, examples and contact 724s information are available at http://www.gtk.org 724s + gobject-query tree 724s GObject 724s + gtester --version 724s gtester version 2.82.4 724s + gtester-report --version 724s gtester-report (GLib utils) version 2.82.4. 724s + cd /tmp/autopkgtest.20kj3z/autopkgtest_tmp 724s + dpkg-architecture -qDEB_HOST_MULTIARCH 724s typelib: GLib-2.0 724s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 724s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 724s + gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 724s + gi-decompile-typelib -o GLib.gir GLib.typelib 725s autopkgtest [20:00:42]: test libglib2.0-dev: -----------------------] 725s autopkgtest [20:00:42]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 725s libglib2.0-dev PASS (superficial) 725s autopkgtest [20:00:42]: test installed-tests: preparing testbed 937s autopkgtest [20:04:14]: testbed dpkg architecture: amd64 937s autopkgtest [20:04:14]: testbed apt version: 2.9.18 937s autopkgtest [20:04:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup 937s autopkgtest [20:04:14]: testbed release detected to be: plucky 938s autopkgtest [20:04:15]: updating testbed package index (apt update) 938s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 939s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 939s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 939s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 939s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [831 kB] 939s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [167 kB] 939s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 939s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 939s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [210 kB] 939s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [309 kB] 939s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 939s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 939s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1040 kB] 939s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [432 kB] 939s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 939s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 939s Fetched 3159 kB in 1s (3230 kB/s) 940s Reading package lists... 941s + lsb_release --codename --short 941s + RELEASE=plucky 941s + cat 941s + [ plucky != trusty ] 941s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 941s Reading package lists... 941s Building dependency tree... 941s Reading state information... 941s Calculating upgrade... 941s The following packages will be upgraded: 941s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-jwt 941s rng-tools-debian usb.ids 941s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 941s Need to get 1236 kB of archives. 941s After this operation, 1024 B disk space will be freed. 941s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 942s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-13ubuntu1 [10.3 kB] 942s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-13ubuntu1 [53.0 kB] 942s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-13ubuntu1 [787 kB] 942s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-13ubuntu1 [78.2 kB] 942s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 942s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 942s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-jwt all 2.10.1-2 [21.0 kB] 942s Fetched 1236 kB in 1s (2032 kB/s) 942s (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 ... 75824 files and directories currently installed.) 942s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 942s Unpacking rng-tools-debian (2.6) over (2.5) ... 942s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_amd64.deb ... 942s Unpacking libatomic1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 942s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_amd64.deb ... 942s Unpacking gcc-14-base:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 942s Setting up gcc-14-base:amd64 (14.2.0-13ubuntu1) ... 942s (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 ... 75824 files and directories currently installed.) 942s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_amd64.deb ... 942s Unpacking libstdc++6:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 943s Setting up libstdc++6:amd64 (14.2.0-13ubuntu1) ... 943s (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 ... 75824 files and directories currently installed.) 943s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_amd64.deb ... 943s Unpacking libgcc-s1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 943s Setting up libgcc-s1:amd64 (14.2.0-13ubuntu1) ... 943s (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 ... 75824 files and directories currently installed.) 943s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 943s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 943s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 943s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 943s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 943s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 943s Setting up python3-jwt (2.10.1-2) ... 943s Setting up rng-tools-debian (2.6) ... 943s Setting up libatomic1:amd64 (14.2.0-13ubuntu1) ... 943s Setting up usb.ids (2025.01.14-1) ... 943s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 943s Processing triggers for man-db (2.13.0-1) ... 944s Processing triggers for libc-bin (2.40-4ubuntu1) ... 944s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 944s + /usr/lib/apt/apt-helper analyze-pattern ?true 944s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 944s Reading package lists... 945s Building dependency tree... 945s Reading state information... 945s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 945s + grep -q trusty /etc/lsb-release 945s + [ ! -d /usr/share/doc/unattended-upgrades ] 945s + [ ! -d /usr/share/doc/lxd ] 945s + [ ! -d /usr/share/doc/lxd-client ] 945s + [ ! -d /usr/share/doc/snapd ] 945s + type iptables 945s + cat 945s + chmod 755 /etc/rc.local 945s + . /etc/rc.local 945s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 945s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 945s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 945s + uname -m 945s + [ x86_64 = ppc64le ] 945s + [ -d /run/systemd/system ] 945s + systemd-detect-virt --quiet --vm 945s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 945s + cat 945s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 945s + echo COMPRESS=lz4 945s + sync 945s autopkgtest [20:04:22]: upgrading testbed (apt dist-upgrade and autopurge) 945s Reading package lists... 945s Building dependency tree... 945s Reading state information... 946s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 946s Starting 2 pkgProblemResolver with broken count: 0 946s Done 946s Entering ResolveByKeep 946s 946s The following packages will be upgraded: 946s libselinux1 946s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 946s Need to get 87.1 kB of archives. 946s After this operation, 1024 B of additional disk space will be used. 946s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libselinux1 amd64 3.7-3ubuntu2 [87.1 kB] 947s Fetched 87.1 kB in 0s (315 kB/s) 947s (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 ... 75821 files and directories currently installed.) 947s Preparing to unpack .../libselinux1_3.7-3ubuntu2_amd64.deb ... 947s Unpacking libselinux1:amd64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 947s Setting up libselinux1:amd64 (3.7-3ubuntu2) ... 947s Processing triggers for libc-bin (2.40-4ubuntu1) ... 947s Reading package lists... 947s Building dependency tree... 947s Reading state information... 948s Starting pkgProblemResolver with broken count: 0 948s Starting 2 pkgProblemResolver with broken count: 0 948s Done 948s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 948s autopkgtest [20:04:25]: rebooting testbed after setup commands that affected boot 967s Reading package lists... 967s Building dependency tree... 967s Reading state information... 967s Starting pkgProblemResolver with broken count: 0 967s Starting 2 pkgProblemResolver with broken count: 0 967s Done 968s The following NEW packages will be installed: 968s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 968s libdrm-intel1 libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin 968s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 968s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 968s libpciaccess0 libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 968s libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 968s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 968s libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 968s libxxf86vm1 mesa-libgallium native-architecture python3-dbusmock 968s python3-packaging tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb 968s 0 upgraded, 54 newly installed, 0 to remove and 0 not upgraded. 968s Need to get 17.8 MB of archives. 968s After this operation, 75.2 MB of additional disk space will be used. 968s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 dbus-x11 amd64 1.14.10-4ubuntu5 [23.4 kB] 968s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 desktop-file-utils amd64 0.28-1 [54.5 kB] 968s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 968s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.4-1 [78.2 kB] 968s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.4-1 [115 kB] 968s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 gnome-desktop-testing amd64 2021.1-4 [16.8 kB] 968s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libpciaccess0 amd64 0.17-3build1 [18.6 kB] 968s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-intel1 amd64 2.4.123-1 [68.8 kB] 968s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-radeon1 amd64 2.4.123-1 [25.3 kB] 968s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontenc1 amd64 1:1.1.8-1build1 [14.0 kB] 968s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libwayland-server0 amd64 1.23.0-1 [35.1 kB] 968s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-randr0 amd64 1.17.0-2 [17.9 kB] 968s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libglapi-mesa amd64 24.2.8-1ubuntu1 [42.5 kB] 968s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libx11-xcb1 amd64 2:1.8.10-2 [7944 B] 968s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri2-0 amd64 1.17.0-2 [7222 B] 968s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri3-0 amd64 1.17.0-2 [7508 B] 968s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-present0 amd64 1.17.0-2 [6064 B] 968s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-sync1 amd64 1.17.0-2 [9312 B] 968s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-xfixes0 amd64 1.17.0-2 [10.2 kB] 968s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libxshmfence1 amd64 1.3-1build5 [4764 B] 968s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 mesa-libgallium amd64 24.2.8-1ubuntu1 [11.5 MB] 969s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libgbm1 amd64 24.2.8-1ubuntu1 [32.2 kB] 969s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 969s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.4-1 [128 kB] 969s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libvulkan1 amd64 1.3.296.0-1 [143 kB] 969s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1-mesa-dri amd64 24.2.8-1ubuntu1 [34.7 kB] 969s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-bin amd64 2.82.4-1 [103 kB] 969s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.82.4-1 [18.1 kB] 969s Get:29 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-dbusmock all 0.34.0-1 [92.2 kB] 969s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 969s Get:31 http://ftpmaster.internal/ubuntu plucky/universe amd64 libglib2.0-tests amd64 2.82.4-1 [2249 kB] 969s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-glx0 amd64 1.17.0-2 [24.8 kB] 969s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 969s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfixes3 amd64 1:6.0.0-2build1 [10.8 kB] 969s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libxxf86vm1 amd64 1:1.1.4-1build4 [9282 B] 969s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx-mesa0 amd64 24.2.8-1ubuntu1 [162 kB] 969s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 969s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libice6 amd64 2:1.1.1-1 [44.1 kB] 969s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 969s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libsm6 amd64 2:1.2.4-1 [17.4 kB] 969s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libxt6t64 amd64 1:1.2.1-1.2build1 [171 kB] 969s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB] 969s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB] 969s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 libxaw7 amd64 2:1.0.16-1 [207 kB] 969s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfont2 amd64 1:2.0.6-1build1 [93.0 kB] 969s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libxkbfile1 amd64 1:1.1.0-1build4 [70.0 kB] 969s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 969s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrandr2 amd64 2:1.5.4-1 [19.6 kB] 969s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-xkb-utils amd64 7.7+9 [169 kB] 969s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 969s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libglvnd0 amd64 1.7.0-1build1 [69.6 kB] 969s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx0 amd64 1.7.0-1build1 [38.6 kB] 969s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1 amd64 1.7.0-1build1 [102 kB] 969s Get:54 http://ftpmaster.internal/ubuntu plucky/universe amd64 xvfb amd64 2:21.1.14-2ubuntu1 [965 kB] 969s Fetched 17.8 MB in 1s (12.6 MB/s) 969s Selecting previously unselected package dbus-x11. 970s (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 ... 75821 files and directories currently installed.) 970s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_amd64.deb ... 970s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 970s Selecting previously unselected package desktop-file-utils. 970s Preparing to unpack .../01-desktop-file-utils_0.28-1_amd64.deb ... 970s Unpacking desktop-file-utils (0.28-1) ... 970s Selecting previously unselected package native-architecture. 970s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 970s Unpacking native-architecture (0.2.3) ... 970s Selecting previously unselected package libgirepository-2.0-0:amd64. 970s Preparing to unpack .../03-libgirepository-2.0-0_2.82.4-1_amd64.deb ... 970s Unpacking libgirepository-2.0-0:amd64 (2.82.4-1) ... 970s Selecting previously unselected package girepository-tools:amd64. 970s Preparing to unpack .../04-girepository-tools_2.82.4-1_amd64.deb ... 970s Unpacking girepository-tools:amd64 (2.82.4-1) ... 970s Selecting previously unselected package gnome-desktop-testing. 970s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_amd64.deb ... 970s Unpacking gnome-desktop-testing (2021.1-4) ... 970s Selecting previously unselected package libpciaccess0:amd64. 970s Preparing to unpack .../06-libpciaccess0_0.17-3build1_amd64.deb ... 970s Unpacking libpciaccess0:amd64 (0.17-3build1) ... 970s Selecting previously unselected package libdrm-intel1:amd64. 970s Preparing to unpack .../07-libdrm-intel1_2.4.123-1_amd64.deb ... 970s Unpacking libdrm-intel1:amd64 (2.4.123-1) ... 970s Selecting previously unselected package libdrm-radeon1:amd64. 970s Preparing to unpack .../08-libdrm-radeon1_2.4.123-1_amd64.deb ... 970s Unpacking libdrm-radeon1:amd64 (2.4.123-1) ... 970s Selecting previously unselected package libfontenc1:amd64. 970s Preparing to unpack .../09-libfontenc1_1%3a1.1.8-1build1_amd64.deb ... 970s Unpacking libfontenc1:amd64 (1:1.1.8-1build1) ... 970s Selecting previously unselected package libwayland-server0:amd64. 970s Preparing to unpack .../10-libwayland-server0_1.23.0-1_amd64.deb ... 970s Unpacking libwayland-server0:amd64 (1.23.0-1) ... 970s Selecting previously unselected package libxcb-randr0:amd64. 970s Preparing to unpack .../11-libxcb-randr0_1.17.0-2_amd64.deb ... 970s Unpacking libxcb-randr0:amd64 (1.17.0-2) ... 970s Selecting previously unselected package libglapi-mesa:amd64. 970s Preparing to unpack .../12-libglapi-mesa_24.2.8-1ubuntu1_amd64.deb ... 970s Unpacking libglapi-mesa:amd64 (24.2.8-1ubuntu1) ... 970s Selecting previously unselected package libx11-xcb1:amd64. 970s Preparing to unpack .../13-libx11-xcb1_2%3a1.8.10-2_amd64.deb ... 970s Unpacking libx11-xcb1:amd64 (2:1.8.10-2) ... 970s Selecting previously unselected package libxcb-dri2-0:amd64. 970s Preparing to unpack .../14-libxcb-dri2-0_1.17.0-2_amd64.deb ... 970s Unpacking libxcb-dri2-0:amd64 (1.17.0-2) ... 970s Selecting previously unselected package libxcb-dri3-0:amd64. 970s Preparing to unpack .../15-libxcb-dri3-0_1.17.0-2_amd64.deb ... 970s Unpacking libxcb-dri3-0:amd64 (1.17.0-2) ... 970s Selecting previously unselected package libxcb-present0:amd64. 970s Preparing to unpack .../16-libxcb-present0_1.17.0-2_amd64.deb ... 970s Unpacking libxcb-present0:amd64 (1.17.0-2) ... 970s Selecting previously unselected package libxcb-sync1:amd64. 970s Preparing to unpack .../17-libxcb-sync1_1.17.0-2_amd64.deb ... 970s Unpacking libxcb-sync1:amd64 (1.17.0-2) ... 970s Selecting previously unselected package libxcb-xfixes0:amd64. 970s Preparing to unpack .../18-libxcb-xfixes0_1.17.0-2_amd64.deb ... 970s Unpacking libxcb-xfixes0:amd64 (1.17.0-2) ... 970s Selecting previously unselected package libxshmfence1:amd64. 970s Preparing to unpack .../19-libxshmfence1_1.3-1build5_amd64.deb ... 970s Unpacking libxshmfence1:amd64 (1.3-1build5) ... 970s Selecting previously unselected package mesa-libgallium:amd64. 970s Preparing to unpack .../20-mesa-libgallium_24.2.8-1ubuntu1_amd64.deb ... 970s Unpacking mesa-libgallium:amd64 (24.2.8-1ubuntu1) ... 970s Selecting previously unselected package libgbm1:amd64. 970s Preparing to unpack .../21-libgbm1_24.2.8-1ubuntu1_amd64.deb ... 970s Unpacking libgbm1:amd64 (24.2.8-1ubuntu1) ... 970s Selecting previously unselected package python3-packaging. 970s Preparing to unpack .../22-python3-packaging_24.2-1_all.deb ... 970s Unpacking python3-packaging (24.2-1) ... 970s Selecting previously unselected package libgio-2.0-dev-bin. 970s Preparing to unpack .../23-libgio-2.0-dev-bin_2.82.4-1_amd64.deb ... 970s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 970s Selecting previously unselected package libvulkan1:amd64. 970s Preparing to unpack .../24-libvulkan1_1.3.296.0-1_amd64.deb ... 970s Unpacking libvulkan1:amd64 (1.3.296.0-1) ... 970s Selecting previously unselected package libgl1-mesa-dri:amd64. 970s Preparing to unpack .../25-libgl1-mesa-dri_24.2.8-1ubuntu1_amd64.deb ... 970s Unpacking libgl1-mesa-dri:amd64 (24.2.8-1ubuntu1) ... 970s Selecting previously unselected package libglib2.0-bin. 970s Preparing to unpack .../26-libglib2.0-bin_2.82.4-1_amd64.deb ... 970s Unpacking libglib2.0-bin (2.82.4-1) ... 970s Selecting previously unselected package libglib2.0-dev-bin. 970s Preparing to unpack .../27-libglib2.0-dev-bin_2.82.4-1_amd64.deb ... 970s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 970s Selecting previously unselected package python3-dbusmock. 971s Preparing to unpack .../28-python3-dbusmock_0.34.0-1_all.deb ... 971s Unpacking python3-dbusmock (0.34.0-1) ... 971s Selecting previously unselected package tzdata-legacy. 971s Preparing to unpack .../29-tzdata-legacy_2024b-4ubuntu1_all.deb ... 971s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 971s Selecting previously unselected package libglib2.0-tests. 971s Preparing to unpack .../30-libglib2.0-tests_2.82.4-1_amd64.deb ... 971s Unpacking libglib2.0-tests (2.82.4-1) ... 971s Selecting previously unselected package libxcb-glx0:amd64. 971s Preparing to unpack .../31-libxcb-glx0_1.17.0-2_amd64.deb ... 971s Unpacking libxcb-glx0:amd64 (1.17.0-2) ... 971s Selecting previously unselected package libxcb-shm0:amd64. 971s Preparing to unpack .../32-libxcb-shm0_1.17.0-2_amd64.deb ... 971s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 971s Selecting previously unselected package libxfixes3:amd64. 971s Preparing to unpack .../33-libxfixes3_1%3a6.0.0-2build1_amd64.deb ... 971s Unpacking libxfixes3:amd64 (1:6.0.0-2build1) ... 971s Selecting previously unselected package libxxf86vm1:amd64. 971s Preparing to unpack .../34-libxxf86vm1_1%3a1.1.4-1build4_amd64.deb ... 971s Unpacking libxxf86vm1:amd64 (1:1.1.4-1build4) ... 971s Selecting previously unselected package libglx-mesa0:amd64. 971s Preparing to unpack .../35-libglx-mesa0_24.2.8-1ubuntu1_amd64.deb ... 971s Unpacking libglx-mesa0:amd64 (24.2.8-1ubuntu1) ... 971s Selecting previously unselected package x11-common. 971s Preparing to unpack .../36-x11-common_1%3a7.7+23ubuntu3_all.deb ... 971s Unpacking x11-common (1:7.7+23ubuntu3) ... 971s Selecting previously unselected package libice6:amd64. 971s Preparing to unpack .../37-libice6_2%3a1.1.1-1_amd64.deb ... 971s Unpacking libice6:amd64 (2:1.1.1-1) ... 971s Selecting previously unselected package libpixman-1-0:amd64. 971s Preparing to unpack .../38-libpixman-1-0_0.44.0-3_amd64.deb ... 971s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 971s Selecting previously unselected package libsm6:amd64. 971s Preparing to unpack .../39-libsm6_2%3a1.2.4-1_amd64.deb ... 971s Unpacking libsm6:amd64 (2:1.2.4-1) ... 971s Selecting previously unselected package libxt6t64:amd64. 971s Preparing to unpack .../40-libxt6t64_1%3a1.2.1-1.2build1_amd64.deb ... 971s Unpacking libxt6t64:amd64 (1:1.2.1-1.2build1) ... 971s Selecting previously unselected package libxmu6:amd64. 971s Preparing to unpack .../41-libxmu6_2%3a1.1.3-3build2_amd64.deb ... 971s Unpacking libxmu6:amd64 (2:1.1.3-3build2) ... 971s Selecting previously unselected package libxpm4:amd64. 971s Preparing to unpack .../42-libxpm4_1%3a3.5.17-1build2_amd64.deb ... 971s Unpacking libxpm4:amd64 (1:3.5.17-1build2) ... 971s Selecting previously unselected package libxaw7:amd64. 971s Preparing to unpack .../43-libxaw7_2%3a1.0.16-1_amd64.deb ... 971s Unpacking libxaw7:amd64 (2:1.0.16-1) ... 971s Selecting previously unselected package libxfont2:amd64. 971s Preparing to unpack .../44-libxfont2_1%3a2.0.6-1build1_amd64.deb ... 971s Unpacking libxfont2:amd64 (1:2.0.6-1build1) ... 971s Selecting previously unselected package libxkbfile1:amd64. 971s Preparing to unpack .../45-libxkbfile1_1%3a1.1.0-1build4_amd64.deb ... 971s Unpacking libxkbfile1:amd64 (1:1.1.0-1build4) ... 971s Selecting previously unselected package libxrender1:amd64. 971s Preparing to unpack .../46-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 971s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 971s Selecting previously unselected package libxrandr2:amd64. 971s Preparing to unpack .../47-libxrandr2_2%3a1.5.4-1_amd64.deb ... 971s Unpacking libxrandr2:amd64 (2:1.5.4-1) ... 971s Selecting previously unselected package x11-xkb-utils. 971s Preparing to unpack .../48-x11-xkb-utils_7.7+9_amd64.deb ... 971s Unpacking x11-xkb-utils (7.7+9) ... 971s Selecting previously unselected package xserver-common. 971s Preparing to unpack .../49-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 971s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 971s Selecting previously unselected package libglvnd0:amd64. 971s Preparing to unpack .../50-libglvnd0_1.7.0-1build1_amd64.deb ... 971s Unpacking libglvnd0:amd64 (1.7.0-1build1) ... 971s Selecting previously unselected package libglx0:amd64. 971s Preparing to unpack .../51-libglx0_1.7.0-1build1_amd64.deb ... 971s Unpacking libglx0:amd64 (1.7.0-1build1) ... 971s Selecting previously unselected package libgl1:amd64. 971s Preparing to unpack .../52-libgl1_1.7.0-1build1_amd64.deb ... 971s Unpacking libgl1:amd64 (1.7.0-1build1) ... 971s Selecting previously unselected package xvfb. 971s Preparing to unpack .../53-xvfb_2%3a21.1.14-2ubuntu1_amd64.deb ... 971s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 971s Setting up gnome-desktop-testing (2021.1-4) ... 971s Setting up libxcb-dri3-0:amd64 (1.17.0-2) ... 971s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 971s Setting up libwayland-server0:amd64 (1.23.0-1) ... 971s Setting up libx11-xcb1:amd64 (2:1.8.10-2) ... 971s Setting up libpciaccess0:amd64 (0.17-3build1) ... 971s Setting up native-architecture (0.2.3) ... 971s Setting up libxcb-xfixes0:amd64 (1.17.0-2) ... 971s Setting up desktop-file-utils (0.28-1) ... 971s Setting up libxpm4:amd64 (1:3.5.17-1build2) ... 971s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 971s Setting up libgirepository-2.0-0:amd64 (2.82.4-1) ... 971s Setting up libdrm-radeon1:amd64 (2.4.123-1) ... 971s Setting up libglvnd0:amd64 (1.7.0-1build1) ... 971s Setting up libxcb-glx0:amd64 (1.17.0-2) ... 971s Setting up libdrm-intel1:amd64 (2.4.123-1) ... 971s Setting up x11-common (1:7.7+23ubuntu3) ... 972s Setting up libglib2.0-bin (2.82.4-1) ... 972s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 972s Setting up python3-dbusmock (0.34.0-1) ... 972s Setting up tzdata-legacy (2024b-4ubuntu1) ... 972s Setting up libxxf86vm1:amd64 (1:1.1.4-1build4) ... 972s Setting up libxcb-present0:amd64 (1.17.0-2) ... 972s Setting up libfontenc1:amd64 (1:1.1.8-1build1) ... 972s Setting up python3-packaging (24.2-1) ... 972s Setting up libxfixes3:amd64 (1:6.0.0-2build1) ... 972s Setting up libxcb-sync1:amd64 (1.17.0-2) ... 972s Setting up libxrandr2:amd64 (2:1.5.4-1) ... 972s Setting up libglapi-mesa:amd64 (24.2.8-1ubuntu1) ... 972s Setting up libvulkan1:amd64 (1.3.296.0-1) ... 972s Setting up libxcb-dri2-0:amd64 (1.17.0-2) ... 972s Setting up libxshmfence1:amd64 (1.3-1build5) ... 972s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 972s Setting up libxcb-randr0:amd64 (1.17.0-2) ... 972s Setting up libxkbfile1:amd64 (1:1.1.0-1build4) ... 972s Setting up libxfont2:amd64 (1:2.0.6-1build1) ... 972s Setting up libice6:amd64 (2:1.1.1-1) ... 972s Setting up mesa-libgallium:amd64 (24.2.8-1ubuntu1) ... 972s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 972s Setting up girepository-tools:amd64 (2.82.4-1) ... 972s Setting up libgbm1:amd64 (24.2.8-1ubuntu1) ... 972s Setting up libgl1-mesa-dri:amd64 (24.2.8-1ubuntu1) ... 972s Setting up libsm6:amd64 (2:1.2.4-1) ... 972s Setting up libglib2.0-dev-bin (2.82.4-1) ... 972s Setting up libglx-mesa0:amd64 (24.2.8-1ubuntu1) ... 972s Setting up libglx0:amd64 (1.7.0-1build1) ... 972s Setting up libgl1:amd64 (1.7.0-1build1) ... 972s Setting up libxt6t64:amd64 (1:1.2.1-1.2build1) ... 972s Setting up libglib2.0-tests (2.82.4-1) ... 972s Setting up libxmu6:amd64 (2:1.1.3-3build2) ... 972s Setting up libxaw7:amd64 (2:1.0.16-1) ... 972s Setting up x11-xkb-utils (7.7+9) ... 972s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 972s Setting up xvfb (2:21.1.14-2ubuntu1) ... 972s Processing triggers for man-db (2.13.0-1) ... 973s Processing triggers for libc-bin (2.40-4ubuntu1) ... 979s autopkgtest [20:04:56]: test installed-tests: [----------------------- 980s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 980s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 980s group entry: ubuntu:x:1000: 980s Environment: 980s ADTTMP=/tmp/autopkgtest.20kj3z/autopkgtest_tmp 980s ADT_ARTIFACTS=/tmp/autopkgtest.20kj3z/installed-tests-artifacts 980s ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 980s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.20kj3z/installed-tests-artifacts 980s AUTOPKGTEST_TESTBED_ARCH=amd64 980s AUTOPKGTEST_TEST_ARCH=amd64 980s AUTOPKGTEST_TMP=/tmp/autopkgtest.20kj3z/autopkgtest_tmp 980s DEBIAN_FRONTEND=noninteractive 980s DEB_BUILD_OPTIONS=parallel=2 980s GIO_USE_VFS=local 980s GIO_USE_VOLUME_MONITOR=unix 980s HOME=/home/ubuntu 980s LANG=C.UTF-8 980s LOGNAME=ubuntu 980s MAIL=/var/mail/ubuntu 980s OLDPWD=/home/ubuntu 980s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 980s PWD=/tmp/autopkgtest.20kj3z/build.ScS/src 980s SHELL=/bin/bash 980s SHLVL=1 980s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests 980s SUDO_GID=1000 980s SUDO_UID=1000 980s SUDO_USER=ubuntu 980s TERM=linux 980s USER=ubuntu 980s XDG_RUNTIME_DIR=/tmp/autopkgtest.20kj3z/autopkgtest_tmp 980s http_proxy=http://squid.internal:3128 980s https_proxy=http://squid.internal:3128 980s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 980s run-with-locales: de_DE=ISO-8859-1... 980s Character set: ISO-8859-1 980s Source file: de_DE 980s Output: /tmp/tmp.VL9fRkm8Kw/de_DE 980s run-with-locales: de_DE.utf8... 980s Character set: UTF-8 980s Source file: de_DE 980s Output: /tmp/tmp.VL9fRkm8Kw/de_DE.utf8 981s run-with-locales: de_DE@euro.utf8... 981s Character set: UTF-8 981s Source file: de_DE@euro 981s Output: /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8 982s run-with-locales: el_GR.utf8... 982s Character set: UTF-8 982s Source file: el_GR 982s Output: /tmp/tmp.VL9fRkm8Kw/el_GR.utf8 984s run-with-locales: en_GB=ISO-8859-1... 984s Character set: ISO-8859-1 984s Source file: en_GB 984s Output: /tmp/tmp.VL9fRkm8Kw/en_GB 984s run-with-locales: en_GB.utf8... 984s Character set: UTF-8 984s Source file: en_GB 984s Output: /tmp/tmp.VL9fRkm8Kw/en_GB.utf8 985s run-with-locales: en_US=ISO-8859-1... 985s Character set: ISO-8859-1 985s Source file: en_US 985s Output: /tmp/tmp.VL9fRkm8Kw/en_US 985s run-with-locales: en_US.utf8... 985s Character set: UTF-8 985s Source file: en_US 985s Output: /tmp/tmp.VL9fRkm8Kw/en_US.utf8 986s run-with-locales: es_ES.utf8... 986s Character set: UTF-8 986s Source file: es_ES 986s Output: /tmp/tmp.VL9fRkm8Kw/es_ES.utf8 987s run-with-locales: fa_IR=UTF-8... 987s Character set: UTF-8 987s Source file: fa_IR 987s Output: /tmp/tmp.VL9fRkm8Kw/fa_IR 989s run-with-locales: fa_IR.utf8... 989s Character set: UTF-8 989s Source file: fa_IR 989s Output: /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8 990s run-with-locales: fr_FR.utf8... 990s Character set: UTF-8 990s Source file: fr_FR 990s Output: /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8 991s run-with-locales: hr_HR.utf8... 991s Character set: UTF-8 991s Source file: hr_HR 991s Output: /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8 992s run-with-locales: ja_JP.utf8... 992s Character set: UTF-8 992s Source file: ja_JP 992s Output: /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8 993s run-with-locales: ja_JP.EUC-JP... 993s Character set: EUC-JP 993s Source file: ja_JP 993s Output: /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp 993s run-with-locales: lt_LT.utf8... 993s Character set: UTF-8 993s Source file: lt_LT 993s Output: /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8 994s run-with-locales: pl_PL=ISO-8859-2... 994s Character set: ISO-8859-2 994s Source file: pl_PL 994s Output: /tmp/tmp.VL9fRkm8Kw/pl_PL 995s run-with-locales: pl_PL.ISO-8859-2... 995s Character set: ISO-8859-2 995s Source file: pl_PL 995s Output: /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592 995s run-with-locales: pl_PL.utf8... 995s Character set: UTF-8 995s Source file: pl_PL 995s Output: /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8 996s run-with-locales: ru_RU=ISO-8859-5... 996s Character set: ISO-8859-5 996s Source file: ru_RU 996s Output: /tmp/tmp.VL9fRkm8Kw/ru_RU 996s run-with-locales: ru_RU.utf8... 996s Character set: UTF-8 996s Source file: ru_RU 996s Output: /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8 997s run-with-locales: sr_RS=UTF-8... 997s Character set: UTF-8 997s Source file: sr_RS 997s Output: /tmp/tmp.VL9fRkm8Kw/sr_RS 999s run-with-locales: sr_RS@latin=UTF-8... 999s Character set: UTF-8 999s Source file: sr_RS@latin 999s Output: /tmp/tmp.VL9fRkm8Kw/sr_RS@latin 1000s run-with-locales: sv_SE=ISO-8859-1... 1000s Character set: ISO-8859-1 1000s Source file: sv_SE 1000s Output: /tmp/tmp.VL9fRkm8Kw/sv_SE 1000s run-with-locales: sv_SE.utf8... 1000s Character set: UTF-8 1000s Source file: sv_SE 1000s Output: /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8 1001s run-with-locales: tr_TR=ISO-8859-9... 1001s Character set: ISO-8859-9 1001s Source file: tr_TR 1001s Output: /tmp/tmp.VL9fRkm8Kw/tr_TR 1002s run-with-locales: tr_TR.utf8... 1002s Character set: UTF-8 1002s Source file: tr_TR 1002s Output: /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8 1003s run-with-locales: tt_RU=UTF-8... 1003s Character set: UTF-8 1003s Source file: tt_RU 1003s Output: /tmp/tmp.VL9fRkm8Kw/tt_RU 1004s run-with-locales: tt_RU.utf8... 1004s Character set: UTF-8 1004s Source file: tt_RU 1004s Output: /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8 1005s run-with-locales: tt_RU@iqtelif=UTF-8... 1005s Character set: UTF-8 1005s Source file: tt_RU@iqtelif 1005s Output: /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif 1006s /tmp/tmp.VL9fRkm8Kw 1006s /tmp/tmp.VL9fRkm8Kw/en_GB 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/en_GB/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/lt_LT.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/de_DE@euro.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/fr_FR.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.iso88592/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/en_US 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/en_US/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/en_GB.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/pl_PL/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/tt_RU@iqtelif/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/fa_IR.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/tr_TR/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/ja_JP.eucjp/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/es_ES.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/de_DE.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/el_GR.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/de_DE 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/de_DE/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/hr_HR.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/sr_RS@latin/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/ru_RU.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/en_US.utf8/LC_CTYPE 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_PAPER 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_TELEPHONE 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_NAME 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_ADDRESS 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_TIME 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_MONETARY 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_IDENTIFICATION 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_COLLATE 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_NUMERIC 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_MEASUREMENT 1006s /tmp/tmp.VL9fRkm8Kw/sv_SE/LC_CTYPE 1006s 1..319 1006s # Running test: glib/module-test-plugin.test 1006s TAP version 14 1006s # random seed: R02Sb0eb0abdfb58913c50a0caa79eb7e0e2 1006s 1..3 1006s # Start of module tests 1006s ok 1 /module/basics 1006s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1006s ok 2 /module/invalid-libtool-archive 1006s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1006s ok 3 /module/local-binding 1006s # End of module tests 1006s ok - glib/module-test-plugin.test 1006s # Running test: glib/atomic-c-99.test 1006s TAP version 14 1006s # random seed: R02S6c75a19cb71b4dc5fdf0b2269ee3e4a0 1006s 1..2 1006s # Start of atomic tests 1006s ok 1 /atomic/types 1006s ok 2 /atomic/threaded 1006s # End of atomic tests 1006s ok - glib/atomic-c-99.test 1006s # Running test: glib/task.test 1006s TAP version 14 1006s # random seed: R02S86b7f31fa7275c9737c3b170754c01e9 1006s 1..36 1006s # Start of gtask tests 1006s ok 1 /gtask/basic 1006s ok 2 /gtask/error 1006s ok 3 /gtask/error-literal 1006s ok 4 /gtask/error-literal-from-variable 1006s ok 5 /gtask/return-from-same-iteration 1006s ok 6 /gtask/return-from-toplevel 1006s ok 7 /gtask/return-from-anon-thread 1006s ok 8 /gtask/return-from-wrong-thread 1006s ok 9 /gtask/no-callback 1006s ok 10 /gtask/report-error 1006s ok 11 /gtask/priority 1006s ok 12 /gtask/name 1006s ok 13 /gtask/static-name 1006s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1006s ok 14 /gtask/asynchronous-cancellation 1006s ok 15 /gtask/check-cancellable 1006s ok 16 /gtask/return-if-cancelled 1006s ok 17 /gtask/run-in-thread 1006s ok 18 /gtask/run-in-thread-sync 1006s ok 19 /gtask/run-in-thread-priority 1007s ok 20 /gtask/run-in-thread-nested 1007s ok 21 /gtask/run-in-thread-overflow 1007s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1007s # GLib-GIO-DEBUG: GTask 0x59c04a06a230 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1007s # GLib-GIO-DEBUG: GTask 0x59c04a069d30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1007s ok 22 /gtask/return-on-cancel 1007s # GLib-GIO-DEBUG: GTask 0x59c04a069d30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1007s # GLib-GIO-DEBUG: GTask 0x59c04a069f30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1007s ok 23 /gtask/return-on-cancel-sync 1007s ok 24 /gtask/return-on-cancel-atomic 1007s ok 25 /gtask/return-pointer 1007s ok 26 /gtask/return-value 1007s ok 27 /gtask/return-prefixed-error 1007s ok 28 /gtask/object-keepalive 1007s ok 29 /gtask/legacy-error 1007s ok 30 /gtask/finalize-without-return 1007s # Start of name tests 1007s ok 31 /gtask/name/macro-wrapper 1007s # End of name tests 1007s # Start of return tests 1007s ok 32 /gtask/return/error-first 1007s ok 33 /gtask/return/value-first 1007s # Start of in-idle tests 1007s ok 34 /gtask/return/in-idle/error-first 1007s ok 35 /gtask/return/in-idle/value-first 1007s # End of in-idle tests 1007s # End of return tests 1007s # Start of attach-source tests 1007s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1007s ok 36 /gtask/attach-source/set-name 1007s # End of attach-source tests 1007s # End of gtask tests 1007s ok - glib/task.test 1007s # Running test: glib/gdbus-server-auth.test 1007s TAP version 14 1007s # random seed: R02S8cbd3771770c78168675b99bcc386d17 1007s 1..9 1007s # Start of gdbus tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/.dirs/runtime 1007s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus-server-auth-44G7Z2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1007s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus-server-auth-44G7Z2/dbus-h1gH6hO4 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 1990 1007s ok 1 /gdbus/server-auth 1007s # Start of server-auth tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/abstract/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/abstract/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/abstract/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/abstract/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/abstract/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/abstract/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/abstract/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/abstract/.dirs/runtime 1007s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus-server-auth-Q0D9Z2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1007s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus-server-auth-Q0D9Z2/dbus-S7Ns4s6c 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1007s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1007s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 1990 1007s ok 2 /gdbus/server-auth/abstract 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/tcp/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/tcp/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/tcp/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/tcp/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/tcp/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/tcp/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/tcp/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/tcp/.dirs/runtime 1007s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1007s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/.dirs/runtime 1007s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus-server-auth-TTU9Z2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1007s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus-server-auth-TTU9Z2/dbus-mqs1npaB 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 1990 1007s ok 4 /gdbus/server-auth/anonymous 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/.dirs/runtime 1007s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus-server-auth-TBP8Z2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1007s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus-server-auth-TBP8Z2/dbus-Oduyqbn2 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 1990 1007s ok 5 /gdbus/server-auth/external 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/.dirs/runtime 1007s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus-server-auth-F8I8Z2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1007s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1007s # Start of anonymous tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/tcp/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/tcp/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/tcp/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/tcp/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1007s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1007s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1007s # End of anonymous tests 1007s # Start of external tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/require-same-user/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/require-same-user/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/require-same-user/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/require-same-user/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/require-same-user/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1007s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus-server-auth-5OJ8Z2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1007s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus-server-auth-5OJ8Z2/dbus-PY1jx3RV 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 1990 1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1007s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1007s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1007s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1990,uid=1000,gid=1000 1007s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 1990 1007s ok 8 /gdbus/server-auth/external/require-same-user 1007s # End of external tests 1007s # Start of sha1 tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/tcp/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/tcp/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/tcp/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/tcp/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/tcp/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_5VJ7Z2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1007s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1007s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1007s # End of sha1 tests 1007s # End of server-auth tests 1007s # End of gdbus tests 1007s ok - glib/gdbus-server-auth.test 1007s # Running test: glib/contenttype.test 1007s TAP version 14 1007s # random seed: R02S5cc1b46be18e26f71f1fbc035d03c9cf 1007s 1..13 1007s # Start of contenttype tests 1007s ok 1 /contenttype/guess 1007s ok 2 /contenttype/guess_svg_from_data 1007s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1007s ok 4 /contenttype/unknown 1007s ok 5 /contenttype/subtype 1007s ok 6 /contenttype/list 1007s ok 7 /contenttype/executable 1007s ok 8 /contenttype/description 1007s ok 9 /contenttype/icon 1007s ok 10 /contenttype/symbolic-icon 1007s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1007s ok 11 /contenttype/tree 1007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1007s ok 12 /contenttype/tree_invalid_encoding 1007s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1007s ok 13 /contenttype/test_type_is_a_special_case 1007s # End of contenttype tests 1007s ok - glib/contenttype.test 1007s # Running test: glib/readwrite.test 1007s TAP version 14 1007s # random seed: R02Se4672f86e29630d9a9ab28da35253aab 1007s 1..3 1007s # Start of readwrite tests 1007s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1007s ok 1 /readwrite/test_g_file_open_readwrite 1007s ok 2 /readwrite/test_g_file_create_readwrite 1007s ok 3 /readwrite/test_g_file_replace_readwrite 1007s # End of readwrite tests 1007s ok - glib/readwrite.test 1007s # Running test: glib/refcount.test 1007s TAP version 14 1007s # random seed: R02Sc26f7692d08fc8c54f6eb6df39fba1b1 1007s 1..4 1007s # Start of refcount tests 1007s ok 1 /refcount/grefcount 1007s ok 2 /refcount/gatomicrefcount 1007s # Start of grefcount tests 1007s ok 3 /refcount/grefcount/saturation 1007s # End of grefcount tests 1007s # Start of gatomicrefcount tests 1007s ok 4 /refcount/gatomicrefcount/saturation 1007s # End of gatomicrefcount tests 1007s # End of refcount tests 1007s ok - glib/refcount.test 1007s # Running test: glib/macros-c-99.test 1007s TAP version 14 1007s # random seed: R02S75ae79229ea2aac4b41bbbc465b10715 1007s 1..4 1007s # Start of C tests 1007s ok 1 /C/standard-99 1007s # End of C tests 1007s # Start of alignof tests 1007s ok 2 /alignof/fallback 1007s # End of alignof tests 1007s # Start of assert tests 1007s ok 3 /assert/static 1007s # End of assert tests 1007s # Start of struct tests 1007s ok 4 /struct/sizeof_member 1007s # End of struct tests 1007s ok - glib/macros-c-99.test 1007s # Running test: glib/gdatetime.test 1007s TAP version 14 1007s # random seed: R02S0ce9641987460d4489c5cb88691a8e47 1007s 1..68 1007s # Start of GDateTime tests 1007s # Bug Reference: http://bugzilla.gnome.org/702674 1007s ok 1 /GDateTime/invalid 1007s ok 2 /GDateTime/add_days 1007s ok 3 /GDateTime/add_full 1007s ok 4 /GDateTime/add_hours 1007s ok 5 /GDateTime/add_minutes 1007s ok 6 /GDateTime/add_months 1007s ok 7 /GDateTime/add_seconds 1007s ok 8 /GDateTime/add_weeks 1007s ok 9 /GDateTime/add_years 1007s ok 10 /GDateTime/compare 1007s ok 11 /GDateTime/diff 1007s ok 12 /GDateTime/equal 1007s ok 13 /GDateTime/get_day_of_week 1007s ok 14 /GDateTime/get_day_of_month 1007s ok 15 /GDateTime/get_day_of_year 1007s ok 16 /GDateTime/get_hour 1007s ok 17 /GDateTime/get_microsecond 1007s ok 18 /GDateTime/get_minute 1007s ok 19 /GDateTime/get_month 1007s ok 20 /GDateTime/get_second 1007s ok 21 /GDateTime/get_utc_offset 1007s ok 22 /GDateTime/get_year 1007s ok 23 /GDateTime/hash 1007s ok 24 /GDateTime/new_from_unix 1007s ok 25 /GDateTime/new_from_unix_utc 1007s ok 26 /GDateTime/new_from_timeval 1007s ok 27 /GDateTime/new_from_timeval_utc 1007s ok 28 /GDateTime/new_from_iso8601 1007s ok 29 /GDateTime/new_full 1007s ok 30 /GDateTime/now 1007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1007s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1007s # %a -> expected: Sat 1007s # %a -> actual: Sat 1007s # %A -> expected: Saturday 1007s # %A -> actual: Saturday 1007s # %b -> expected: Oct 1007s # %b -> actual: Oct 1007s # %B -> expected: October 1007s # %B -> actual: October 1007s # %d -> expected: 24 1007s # %d -> actual: 24 1007s # %d -> expected: 01 1007s # %d -> actual: 01 1007s # %e -> expected: 24 1007s # %e -> actual: 24 1007s # %e -> expected:  1 1007s # %e -> actual:  1 1007s # %f -> expected: 001000 1007s # %f -> actual: 001000 1007s # %h -> expected: Oct 1007s # %h -> actual: Oct 1007s # %H -> expected: 00 1007s # %H -> actual: 00 1007s # %H -> expected: 15 1007s # %H -> actual: 15 1007s # %I -> expected: 12 1007s # %I -> actual: 12 1007s # %I -> expected: 12 1007s # %I -> actual: 12 1007s # %I -> expected: 03 1007s # %I -> actual: 03 1007s # %j -> expected: 297 1007s # %j -> actual: 297 1007s # %k -> expected:  0 1007s # %k -> actual:  0 1007s # %k -> expected: 13 1007s # %k -> actual: 13 1007s # %l -> expected: 12 1007s # %l -> actual: 12 1007s # %I -> expected: 12 1007s # %I -> actual: 12 1007s # %l -> expected:  1 1007s # %l -> actual:  1 1007s # %l -> expected: 10 1007s # %l -> actual: 10 1007s # %m -> expected: 10 1007s # %m -> actual: 10 1007s # %M -> expected: 00 1007s # %M -> actual: 00 1007s # %p -> expected: AM 1007s # %p -> actual: AM 1007s # %p -> expected: PM 1007s # %p -> actual: PM 1007s # %P -> expected: am 1007s # %P -> actual: am 1007s # %P -> expected: pm 1007s # %P -> actual: pm 1007s # %r -> expected: 12:00:00 AM 1007s # %r -> actual: 12:00:00 AM 1007s # %r -> expected: 01:13:13 PM 1007s # %r -> actual: 01:13:13 PM 1007s # %R -> expected: 00:00 1007s # %R -> actual: 00:00 1007s # %R -> expected: 13:13 1007s # %R -> actual: 13:13 1007s # %S -> expected: 00 1007s # %S -> actual: 00 1007s # %t -> expected: 1007s # %t -> actual: 1007s # %u -> expected: 6 1007s # %u -> actual: 6 1007s # %x -> expected: 10/24/09 1007s # %x -> actual: 10/24/09 1007s # %X -> expected: 00:00:00 1007s # %X -> actual: 00:00:00 1007s # %X -> expected: 13:14:15 1007s # %X -> actual: 13:14:15 1007s # %y -> expected: 09 1007s # %y -> actual: 09 1007s # %Y -> expected: 2009 1007s # %Y -> actual: 2009 1007s # %% -> expected: % 1007s # %% -> actual: % 1007s # % -> expected: 1007s # % -> actual: 1007s # %9 -> expected: (null) 1007s # %9 -> actual: (null) 1007s # %Z -> expected: UTC 1007s # %Z -> actual: UTC 1007s ok 32 /GDateTime/printf 1007s # %a -> expected: ÅÚ 1007s # %a -> actual: ÅÚ 1007s # %A -> expected: ÅÚÍËÆü 1007s # %A -> actual: ÅÚÍËÆü 1007s # %b -> expected: 10·î 1007s # %b -> actual: 10·î 1007s # %B -> expected: 10·î 1007s # %B -> actual: 10·î 1007s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1007s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1007s # %C -> expected: 20 1007s # %C -> actual: 20 1007s # %d -> expected: 24 1007s # %d -> actual: 24 1007s # %d -> expected: 01 1007s # %d -> actual: 01 1007s # %e -> expected: 24 1007s # %e -> actual: 24 1007s # %h -> expected: 10·î 1007s # %h -> actual: 10·î 1007s # %H -> expected: 00 1007s # %H -> actual: 00 1007s # %H -> expected: 15 1007s # %H -> actual: 15 1007s # %I -> expected: 12 1007s # %I -> actual: 12 1007s # %I -> expected: 12 1007s # %I -> actual: 12 1007s # %I -> expected: 03 1007s # %I -> actual: 03 1007s # %j -> expected: 297 1007s # %j -> actual: 297 1007s # %k -> expected: ?0 1007s # %k -> actual: ?0 1007s # %k -> expected: 13 1007s # %k -> actual: 13 1007s # %l -> expected: 12 1007s # %l -> actual: 12 1007s # %I -> expected: 12 1007s # %I -> actual: 12 1007s # %l -> expected: ?1 1007s # %l -> actual: ?1 1007s # %l -> expected: 10 1007s # %l -> actual: 10 1007s # %m -> expected: 10 1007s # %m -> actual: 10 1007s # %M -> expected: 00 1007s # %M -> actual: 00 1007s # %p -> expected: ¸áÁ° 1007s # %p -> actual: ¸áÁ° 1007s # %p -> expected: ¸á¸å 1007s # %p -> actual: ¸á¸å 1007s # %P -> expected: ¸áÁ° 1007s # %P -> actual: ¸áÁ° 1007s # %P -> expected: ¸á¸å 1007s # %P -> actual: ¸á¸å 1007s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1007s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1007s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1007s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1007s # %R -> expected: 00:00 1007s # %R -> actual: 00:00 1007s # %R -> expected: 13:13 1007s # %R -> actual: 13:13 1007s # %S -> expected: 00 1007s # %S -> actual: 00 1007s # %t -> expected: 1007s # %t -> actual: 1007s # %u -> expected: 6 1007s # %u -> actual: 6 1007s # %x -> expected: 2009ǯ10·î24Æü 1007s # %x -> actual: 2009ǯ10·î24Æü 1007s # %X -> expected: 00»þ00ʬ00Éà 1007s # %X -> actual: 00»þ00ʬ00Éà 1007s # %X -> expected: 13»þ14ʬ15Éà 1007s # %X -> actual: 13»þ14ʬ15Éà 1007s # %y -> expected: 09 1007s # %y -> actual: 09 1007s # %Y -> expected: 2009 1007s # %Y -> actual: 2009 1007s # %% -> expected: % 1007s # %% -> actual: % 1007s # % -> expected: 1007s # % -> actual: 1007s # %9 -> expected: (null) 1007s # %9 -> actual: (null) 1007s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1007s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1007s # %EC -> expected: Ê¿À® 1007s # %EC -> actual: Ê¿À® 1007s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 1007s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 1007s # %EX -> expected: 00»þ00ʬ00Éà 1007s # %EX -> actual: 00»þ00ʬ00Éà 1007s # %Ey -> expected: 21 1007s # %Ey -> actual: 21 1007s # %EY -> expected: Ê¿À®21ǯ 1007s # %EY -> actual: Ê¿À®21ǯ 1007s ok 33 /GDateTime/non_utf8_printf 1007s # ???? -> expected: ???? 1007s # ???? -> actual: ???? 1007s # %H?%M -> expected: 23?15 1007s # %H?%M -> actual: 23?15 1007s # %H?%M -> expected: 23?15 1007s # %H?%M -> actual: 23?15 1007s ok 34 /GDateTime/format_unrepresentable 1007s ok 35 /GDateTime/format_iso8601 1007s ok 36 /GDateTime/strftime 1007s # %d -> expected: 01 1007s # %d -> actual: 01 1007s # %_d -> expected: 1 1007s # %_d -> actual: 1 1007s # %-d -> expected: 1 1007s # %-d -> actual: 1 1007s # %0d -> expected: 01 1007s # %0d -> actual: 01 1007s # %d -> expected: 21 1007s # %d -> actual: 21 1007s # %_d -> expected: 21 1007s # %_d -> actual: 21 1007s # %-d -> expected: 21 1007s # %-d -> actual: 21 1007s # %0d -> expected: 21 1007s # %0d -> actual: 21 1007s # %e -> expected:  1 1007s # %e -> actual:  1 1007s # %_e -> expected: 1 1007s # %_e -> actual: 1 1007s # %-e -> expected: 1 1007s # %-e -> actual: 1 1007s # %0e -> expected: 01 1007s # %0e -> actual: 01 1007s # %e -> expected: 21 1007s # %e -> actual: 21 1007s # %_e -> expected: 21 1007s # %_e -> actual: 21 1007s # %-e -> expected: 21 1007s # %-e -> actual: 21 1007s # %0e -> expected: 21 1007s # %0e -> actual: 21 1007s # %a -> expected: Thu 1007s # %a -> actual: Thu 1007s # %^a -> expected: THU 1007s # %^a -> actual: THU 1007s # %#a -> expected: THU 1007s # %#a -> actual: THU 1007s # %A -> expected: Thursday 1007s # %A -> actual: Thursday 1007s # %^A -> expected: THURSDAY 1007s # %^A -> actual: THURSDAY 1007s # %#A -> expected: THURSDAY 1007s # %#A -> actual: THURSDAY 1007s # %b -> expected: Jan 1007s # %b -> actual: Jan 1007s # %^b -> expected: JAN 1007s # %^b -> actual: JAN 1007s # %#b -> expected: JAN 1007s # %#b -> actual: JAN 1007s # %B -> expected: January 1007s # %B -> actual: January 1007s # %^B -> expected: JANUARY 1007s # %^B -> actual: JANUARY 1007s # %#B -> expected: JANUARY 1007s # %#B -> actual: JANUARY 1007s # %h -> expected: Jan 1007s # %h -> actual: Jan 1007s # %^h -> expected: JAN 1007s # %^h -> actual: JAN 1007s # %#h -> expected: JAN 1007s # %#h -> actual: JAN 1007s # %Z -> expected: UTC 1007s # %Z -> actual: UTC 1007s # %^Z -> expected: UTC 1007s # %^Z -> actual: UTC 1007s # %#Z -> expected: utc 1007s # %#Z -> actual: utc 1007s # %H -> expected: 01 1007s # %H -> actual: 01 1007s # %_H -> expected: 1 1007s # %_H -> actual: 1 1007s # %-H -> expected: 1 1007s # %-H -> actual: 1 1007s # %0H -> expected: 01 1007s # %0H -> actual: 01 1007s # %H -> expected: 21 1007s # %H -> actual: 21 1007s # %_H -> expected: 21 1007s # %_H -> actual: 21 1007s # %-H -> expected: 21 1007s # %-H -> actual: 21 1007s # %0H -> expected: 21 1007s # %0H -> actual: 21 1007s # %I -> expected: 01 1007s # %I -> actual: 01 1007s # %_I -> expected: 1 1007s # %_I -> actual: 1 1007s # %-I -> expected: 1 1007s # %-I -> actual: 1 1007s # %0I -> expected: 01 1007s # %0I -> actual: 01 1007s # %I -> expected: 11 1007s # %I -> actual: 11 1007s # %_I -> expected: 11 1007s # %_I -> actual: 11 1007s # %-I -> expected: 11 1007s # %-I -> actual: 11 1007s # %0I -> expected: 11 1007s # %0I -> actual: 11 1007s # %k -> expected:  1 1007s # %k -> actual:  1 1007s # %_k -> expected: 1 1007s # %_k -> actual: 1 1007s # %-k -> expected: 1 1007s # %-k -> actual: 1 1007s # %0k -> expected: 01 1007s # %0k -> actual: 01 1007s # %l -> expected:  1 1007s # %l -> actual:  1 1007s # %_l -> expected: 1 1007s # %_l -> actual: 1 1007s # %-l -> expected: 1 1007s # %-l -> actual: 1 1007s # %0l -> expected: 01 1007s # %0l -> actual: 01 1007s # %l -> expected: 11 1007s # %l -> actual: 11 1007s # %_l -> expected: 11 1007s # %_l -> actual: 11 1007s # %-l -> expected: 11 1007s # %-l -> actual: 11 1007s # %0l -> expected: 11 1007s # %0l -> actual: 11 1007s # %p -> expected: AM 1007s # %p -> actual: AM 1007s # %^p -> expected: AM 1007s # %^p -> actual: AM 1007s # %#p -> expected: am 1007s # %#p -> actual: am 1007s # %P -> expected: am 1007s # %P -> actual: am 1007s # %^P -> expected: AM 1007s # %^P -> actual: AM 1007s # %#P -> expected: am 1007s # %#P -> actual: am 1007s # %OH -> expected: Û²Û³ 1007s # %OH -> actual: Û²Û³ 1007s # %OI -> expected: Û±Û± 1007s # %OI -> actual: Û±Û± 1007s # %OM -> expected: Û°Û° 1007s # %OM -> actual: Û°Û° 1007s # %Om -> expected: Û°Û· 1007s # %Om -> actual: Û°Û· 1007s # %0Om -> expected: Û°Û· 1007s # %0Om -> actual: Û°Û· 1007s # %-Om -> expected: Û· 1007s # %-Om -> actual: Û· 1007s # %_Om -> expected: Û· 1007s # %_Om -> actual: Û· 1007s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1007s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1007s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1007s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1007s # %C -> expected: 20 1007s # %C -> actual: 20 1007s # %EC -> expected: 20 1007s # %EC -> actual: 20 1007s # %x -> expected: 02/01/09 1007s # %x -> actual: 02/01/09 1007s # %Ex -> expected: 02/01/09 1007s # %Ex -> actual: 02/01/09 1007s # %X -> expected: 01:02:03 1007s # %X -> actual: 01:02:03 1007s # %EX -> expected: 01:02:03 1007s # %EX -> actual: 01:02:03 1007s # %y -> expected: 09 1007s # %y -> actual: 09 1007s # %Ey -> expected: 09 1007s # %Ey -> actual: 09 1007s # %Y -> expected: 2009 1007s # %Y -> actual: 2009 1007s # %EY -> expected: 2009 1007s # %EY -> actual: 2009 1007s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1007s # Bug Reference: http://bugzilla.gnome.org/749206 1007s # %B -> expected: January 1007s # %B -> actual: January 1007s # %OB -> expected: February 1007s # %OB -> actual: February 1007s # %b -> expected: Mar 1007s # %b -> actual: Mar 1007s # %Ob -> expected: Apr 1007s # %Ob -> actual: Apr 1007s # %h -> expected: May 1007s # %h -> actual: May 1007s # %Oh -> expected: Jun 1007s # %Oh -> actual: Jun 1007s # %B -> expected: Juli 1007s # %B -> actual: Juli 1007s # %OB -> expected: August 1007s # %OB -> actual: August 1007s # %b -> expected: Sep 1007s # %b -> actual: Sep 1007s # %Ob -> expected: Okt 1007s # %Ob -> actual: Okt 1007s # %h -> expected: Nov 1007s # %h -> actual: Nov 1007s # %Oh -> expected: Dez 1007s # %Oh -> actual: Dez 1007s # %B -> expected: enero 1007s # %B -> actual: enero 1007s # %OB -> expected: febrero 1007s # %OB -> actual: febrero 1007s # %b -> expected: mar 1007s # %b -> actual: mar 1007s # %Ob -> expected: abr 1007s # %Ob -> actual: abr 1007s # %h -> expected: may 1007s # %h -> actual: may 1007s # %Oh -> expected: jun 1007s # %Oh -> actual: jun 1007s # %B -> expected: juillet 1007s # %B -> actual: juillet 1007s # %OB -> expected: août 1007s # %OB -> actual: août 1007s # %b -> expected: sept. 1007s # %b -> actual: sept. 1007s # %Ob -> expected: oct. 1007s # %Ob -> actual: oct. 1007s # %h -> expected: nov. 1007s # %h -> actual: nov. 1007s # %Oh -> expected: déc. 1007s # %Oh -> actual: déc. 1007s # %B -> expected: ΙανουαÏίου 1007s # %B -> actual: ΙανουαÏίου 1007s # %B -> expected: ΦεβÏουαÏίου 1007s # %B -> actual: ΦεβÏουαÏίου 1007s # %B -> expected: ΜαÏτίου 1007s # %B -> actual: ΜαÏτίου 1007s # %OB -> expected: ΑπÏίλιος 1007s # %OB -> actual: ΑπÏίλιος 1007s # %OB -> expected: Μάιος 1007s # %OB -> actual: Μάιος 1007s # %OB -> expected: ΙοÏνιος 1007s # %OB -> actual: ΙοÏνιος 1007s # %b -> expected: Ιουλ 1007s # %b -> actual: Ιουλ 1007s # %Ob -> expected: ΑÏγ 1007s # %Ob -> actual: ΑÏγ 1007s # %B -> expected: svibnja 1007s # %B -> actual: svibnja 1007s # %B -> expected: lipnja 1007s # %B -> actual: lipnja 1007s # %B -> expected: srpnja 1007s # %B -> actual: srpnja 1007s # %OB -> expected: Kolovoz 1007s # %OB -> actual: kolovoz 1007s # %OB -> expected: Rujan 1007s # %OB -> actual: rujan 1007s # %OB -> expected: Listopad 1007s # %OB -> actual: listopad 1007s # %b -> expected: Stu 1007s # %b -> actual: stu 1007s # %Ob -> expected: Pro 1007s # %Ob -> actual: pro 1007s # %B -> expected: sausio 1007s # %B -> actual: sausio 1007s # %B -> expected: vasario 1007s # %B -> actual: vasario 1007s # %B -> expected: kovo 1007s # %B -> actual: kovo 1007s # %OB -> expected: balandis 1007s # %OB -> actual: balandis 1007s # %OB -> expected: gegužė 1007s # %OB -> actual: gegužė 1007s # %OB -> expected: birželis 1007s # %OB -> actual: birželis 1007s # %b -> expected: liep. 1007s # %b -> actual: liep. 1007s # %Ob -> expected: rugp. 1007s # %Ob -> actual: rugp. 1007s # %B -> expected: maja 1007s # %B -> actual: maja 1007s # %B -> expected: czerwca 1007s # %B -> actual: czerwca 1007s # %B -> expected: lipca 1007s # %B -> actual: lipca 1007s # %OB -> expected: sierpieÅ„ 1007s # %OB -> actual: sierpieÅ„ 1007s # %OB -> expected: wrzesieÅ„ 1007s # %OB -> actual: wrzesieÅ„ 1007s # %OB -> expected: październik 1007s # %OB -> actual: październik 1007s # %b -> expected: lis 1007s # %b -> actual: lis 1007s # %Ob -> expected: gru 1007s # %Ob -> actual: gru 1007s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1007s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1007s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1007s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1007s # %B -> expected: марта 1007s # %B -> actual: марта 1007s # %OB -> expected: Ðпрель 1007s # %OB -> actual: Ðпрель 1007s # %OB -> expected: Май 1007s # %OB -> actual: Май 1007s # %OB -> expected: Июнь 1007s # %OB -> actual: Июнь 1007s # %b -> expected: июл 1007s # %b -> actual: июл 1007s # %Ob -> expected: авг 1007s # %Ob -> actual: авг 1007s # %b -> expected: Ð¼Ð°Ñ 1007s # %b -> actual: Ð¼Ð°Ñ 1007s # %Ob -> expected: май 1007s # %Ob -> actual: май 1007s ok 38 /GDateTime/month_names 1007s ok 39 /GDateTime/to_local 1007s ok 40 /GDateTime/to_unix 1007s ok 41 /GDateTime/to_timeval 1007s ok 42 /GDateTime/to_utc 1007s ok 43 /GDateTime/now_utc 1007s ok 44 /GDateTime/dst 1007s # Bug Reference: http://bugzilla.gnome.org/642935 1007s ok 45 /GDateTime/test_z 1008s ok 46 /GDateTime/test-all-dates 1008s # slow test /GDateTime/test-all-dates executed in 0.63 secs 1008s ok 47 /GDateTime/unix_usec 1008s # Start of new_from_unix tests 1008s # Bug Reference: http://bugzilla.gnome.org/782089 1008s ok 48 /GDateTime/new_from_unix/overflow 1008s # End of new_from_unix tests 1008s # Start of new_from_timeval tests 1008s # Bug Reference: http://bugzilla.gnome.org/782089 1008s # Maximum supported GTimeVal.tv_sec = 253402300799 1008s ok 49 /GDateTime/new_from_timeval/overflow 1008s # End of new_from_timeval tests 1008s # Start of new_from_iso8601 tests 1008s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1008s # Vector 0: 1990-11-01T10:21:17Z 1008s # Vector 1: 19901101T102117Z 1008s # Vector 2: 1970-01-01T00:00:17.12Z 1008s # Vector 3: 1970-01-01T00:00:17.1234Z 1008s # Vector 4: 1970-01-01T00:00:17.123456Z 1008s # Vector 5: 1980-02-22T12:36:00+02:00 1008s # Vector 6: 1990-12-31T15:59:60-08:00 1008s # Vector 7: 1008s # Vector 8: x 1008s # Vector 9: 123x 1008s # Vector 10: 2001-10+x 1008s # Vector 11: 1980-02-22T 1008s # Vector 12: 2001-10-08Tx 1008s # Vector 13: 2001-10-08T10:11x 1008s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1008s # Vector 15: 1980-02-22T10:36:00Zulu 1008s # Vector 16: 2T0+819855292164632335 1008s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1008s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1008s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1008s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1008s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1008s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1008s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1008s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1008s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1008s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1008s # Vector 27: 20180803T140805.446178377+0100 1008s # Vector 28: 21474836480803T140805.446178377+0100 1008s # Vector 29: 20181303T140805.446178377+0100 1008s # Vector 30: 20180003T140805.446178377+0100 1008s # Vector 31: 20180800T140805.446178377+0100 1008s # Vector 32: 20180832T140805.446178377+0100 1008s # Vector 33: 20180803T240805.446178377+0100 1008s # Vector 34: 20180803T146005.446178377+0100 1008s # Vector 35: 20180803T140863.446178377+0100 1008s # Vector 36: 20180803T140805.446178377+10000 1008s # Vector 37: -0005-01-01T00:00:00Z 1008s # Vector 38: 2018-08-06 1008s # Vector 39: 20180803T140805,446178377+0100 1008s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1008s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1008s # Vector 42: 1990-11-01T10:21:17 1008s # Vector 43: 1719W462 407777-07 1008s # Vector 44: 4011090 260528Z 1008s # Vector 45: 0000W011 228214-22 1008s ok 50 /GDateTime/new_from_iso8601/2 1008s # End of new_from_iso8601 tests 1008s # Start of format_mixed tests 1008s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1008s # %b -> expected: mar 1008s # %b -> actual: Mar 1008s # %B -> expected: march 1008s # %B -> actual: March 1008s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1008s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1008s # %b -> expected: mar 1008s # %b -> actual: Mar 1008s # %B -> expected: march 1008s # %B -> actual: March 1008s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1008s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1008s # %b -> expected: Mär 1008s # %b -> actual: Mär 1008s # %B -> expected: März 1008s # %B -> actual: März 1008s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1008s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1008s # %b -> expected: Mär 1008s # %b -> actual: Mär 1008s # %B -> expected: März 1008s # %B -> actual: März 1008s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1008s # End of format_mixed tests 1008s # Start of strftime tests 1008s # %r -> expected: (null) 1008s # %r -> actual: (null) 1008s ok 55 /GDateTime/strftime/error_handling 1008s # End of strftime tests 1008s # Start of eras tests 1008s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 1008s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 1008s # %EC -> expected: 令和 1008s # %EC -> actual: 令和 1008s # %Ex -> expected: 令和05å¹´06月01æ—¥ 1008s # %Ex -> actual: 令和05å¹´06月01æ—¥ 1008s # %EX -> expected: 00時00分00秒 1008s # %EX -> actual: 00時00分00秒 1008s # %Ey -> expected: 05 1008s # %Ey -> actual: 05 1008s # %EY -> expected: 令和05å¹´ 1008s # %EY -> actual: 令和05å¹´ 1008s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1008s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1008s # %EC -> expected: å¹³æˆ 1008s # %EC -> actual: å¹³æˆ 1008s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 1008s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 1008s # %EX -> expected: 00時00分00秒 1008s # %EX -> actual: 00時00分00秒 1008s # %Ey -> expected: 31 1008s # %Ey -> actual: 31 1008s # %EY -> expected: å¹³æˆ31å¹´ 1008s # %EY -> actual: å¹³æˆ31å¹´ 1008s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 1008s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 1008s # %EC -> expected: 昭和 1008s # %EC -> actual: 昭和 1008s # %Ex -> expected: 昭和元年12月25æ—¥ 1008s # %Ex -> actual: 昭和元年12月25æ—¥ 1008s # %EX -> expected: 00時00分00秒 1008s # %EX -> actual: 00時00分00秒 1008s # %Ey -> expected: 01 1008s # %Ey -> actual: 01 1008s # %EY -> expected: 昭和元年 1008s # %EY -> actual: 昭和元年 1008s ok 56 /GDateTime/eras/japan 1008s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1008s # Vector 0: 1008s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1008s # 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å¹´ 1008s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1008s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1008s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1008s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1008s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1008s # Vector 8: + 1008s # Vector 9: +: 1008s # Vector 10: +:: 1008s # Vector 11: +:200 1008s # Vector 12: +:2nonsense 1008s # Vector 13: +:2nonsense: 1008s # Vector 14: +:2: 1008s # Vector 15: +:2:: 1008s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1008s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1008s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1008s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1008s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1008s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1008s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1008s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1008s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1008s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1008s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1008s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1008s # Vector 28: +:2:2020/01/01 1008s # Vector 29: +:2:2020/01/01: 1008s # Vector 30: +:2:2020/01/01:: 1008s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1008s # Vector 32: +:2:2020/01/01:+* 1008s # Vector 33: +:2:2020/01/01:+*: 1008s # Vector 34: +:2:2020/01/01:+*:: 1008s # Vector 35: +:2:2020/01/01:+*:令和 1008s # Vector 36: +:2:2020/01/01:+*:令和: 1008s # Vector 37: +:2:2020/01/01:+*:令和:; 1008s ok 58 /GDateTime/eras/parsing 1008s # End of eras tests 1008s # End of GDateTime tests 1008s # Start of GTimeZone tests 1008s ok 59 /GTimeZone/find-interval 1008s ok 60 /GTimeZone/adjust-time 1008s ok 61 /GTimeZone/no-header 1008s ok 62 /GTimeZone/no-header-identifier 1008s ok 63 /GTimeZone/posix-parse 1008s # Bug Reference: http://bugzilla.gnome.org/697715 1008s ok 64 /GTimeZone/floating-point 1008s # System time zone identifier: Etc/UTC 1008s ok 65 /GTimeZone/identifier 1008s # Vector 0: -158400 1008s # Vector 1: -10000 1008s # Vector 2: -3600 1008s # Vector 3: -61 1008s # Vector 4: -60 1008s # Vector 5: -59 1008s # Vector 6: 0 1008s # Vector 7: 59 1008s # Vector 8: 60 1008s # Vector 9: 61 1008s # Vector 10: 3600 1008s # Vector 11: 10000 1008s # Vector 12: 158400 1008s ok 66 /GTimeZone/new-offset 1008s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1008s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1008s ok 67 /GTimeZone/parse-rfc8536 1008s # /GTimeZone/caching summary: GTimeZone instances are cached 1008s ok 68 /GTimeZone/caching 1008s # End of GTimeZone tests 1008s ok - glib/gdatetime.test 1008s # Running test: glib/defaultiface.test 1008s TAP version 14 1008s # random seed: R02S8a9258912bf9b52aefe20bf4b9696090 1008s 1..2 1008s # Start of gobject tests 1008s ok 1 /gobject/static-iface 1008s ok 2 /gobject/dynamic-iface 1008s # End of gobject tests 1008s ok - glib/defaultiface.test 1008s # Running test: glib/relation.test 1008s TAP version 14 1008s # random seed: R02S0c461808117cb8877e2d0d5b123a25ae 1008s 1..1 1008s # Start of glib tests 1008s ok 1 /glib/relation 1008s # End of glib tests 1008s ok - glib/relation.test 1008s # Running test: glib/properties-refcount4.test 1008s TAP version 14 1008s # random seed: R02S2229ffc4fc4644d3a41d9e984f3de7a8 1008s 1..1 1008s # Start of gobject tests 1008s # Start of refcount tests 1008s ok 1 /gobject/refcount/properties-4 1008s # End of refcount tests 1008s # End of gobject tests 1008s ok - glib/properties-refcount4.test 1008s # Running test: glib/list.test 1008s TAP version 14 1008s # random seed: R02S11d0041d80be60d8ed443ecfae3e9279 1008s 1..20 1008s # Start of list tests 1008s ok 1 /list/sort 1008s ok 2 /list/sort-with-data 1008s ok 3 /list/insert-before-link 1008s ok 4 /list/insert-sorted 1008s ok 5 /list/insert-sorted-with-data 1008s ok 6 /list/reverse 1008s ok 7 /list/nth 1008s ok 8 /list/concat 1008s ok 9 /list/remove 1008s ok 10 /list/remove-all 1008s ok 11 /list/first-last 1008s ok 12 /list/insert 1008s ok 13 /list/free-full 1008s ok 14 /list/copy 1008s ok 15 /list/copy-deep 1008s ok 16 /list/delete-link 1008s ok 17 /list/prepend 1008s ok 18 /list/position 1008s ok 19 /list/double-free 1008s # Start of sort tests 1008s ok 20 /list/sort/stable 1008s # End of sort tests 1008s # End of list tests 1008s ok - glib/list.test 1008s # Running test: glib/gapplication.test 1008s TAP version 14 1008s # random seed: R02Sb4678b314a9f983cdffc3e239ef2af87 1008s 1..24 1008s # Start of gapplication tests 1008s ok 1 /gapplication/no-dbus 1008s ok 2 /gapplication/no-appid 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1008s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s ok 3 /gapplication/properties 1008s ok 4 /gapplication/app-id 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1008s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s ok 5 /gapplication/quit 1008s ok 6 /gapplication/registered 1008s ok 7 /gapplication/local-actions 1008s ok 8 /gapplication/local-command-line 1008s ok 9 /gapplication/resource-path 1008s ok 10 /gapplication/test-help 1008s ok 11 /gapplication/command-line-done 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1008s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s ok 12 /gapplication/test-busy 1008s ok 13 /gapplication/test-handle-local-options1 1008s ok 14 /gapplication/test-handle-local-options2 1008s ok 15 /gapplication/test-handle-local-options3 1008s ok 16 /gapplication/api 1008s ok 17 /gapplication/version 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1008s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s # launching subprocess 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s ok 18 /gapplication/replace 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1008s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s # launching subprocess 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 19 /gapplication/no-replace 1009s # slow test /gapplication/no-replace executed in 0.50 secs 1009s # Start of dbus tests 1009s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # Message 0 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 1 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 2 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 20 /gapplication/dbus/activate 1009s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # Message 0 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1009s # Message 1 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 2 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 3 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 21 /gapplication/dbus/open 1009s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # Message 0 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 1 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 2 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 22 /gapplication/dbus/command-line 1009s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 23 /gapplication/dbus/command-line-done 1009s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # Message 0 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 1 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 2 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 3 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 4 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 5 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 6 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 7 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 8 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 9 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 10 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Message 11 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 24 /gapplication/dbus/activate-action 1009s # End of dbus tests 1009s # End of gapplication tests 1009s ok - glib/gapplication.test 1009s # Running test: glib/gdbus-subscribe.test 1009s TAP version 14 1009s # random seed: R02S8d8b6b53dbf67b9350daba0e1108f787 1009s 1..24 1009s # Start of gdbus tests 1009s # Start of subscribe tests 1009s # Start of conn tests 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/simple/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/simple/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/simple/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/simple/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/simple/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/simple/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/simple/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/simple/.dirs/runtime 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1009s # Step 0: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 1: adding subscription 1009s # Sender: (any) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Waiting for AddMatch to be processed 1009s # Step 2: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 2 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 1 /gdbus/subscribe/conn/simple 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1009s # Step 0: adding subscription 1009s # Sender: (any) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: service 2 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 3: emitting signal 1009s # Sender: service 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 4: emitting signal 1009s # Sender: service 2 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 1 1009s # Signal received from service 2 :1.2 1009s # Signal received from service 2 :1.2 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 2 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 3 1009s # Signal received from service 2 :1.2 1009s # Signal received from service 2 :1.2 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1009s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1009s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1009s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/match_twice/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/match_twice/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/match_twice/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/match_twice/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/match_twice/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/match_twice/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1009s # Step 0: adding subscription 1009s # Sender: service :1.1 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Waiting for AddMatch to be processed 1009s # Step 1: adding subscription 1009s # Sender: (any) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: (any) 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Waiting for AddMatch to be processed 1009s # Step 2: adding subscription 1009s # Sender: (any) 1009s # Path: (any) 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Waiting for AddMatch to be processed 1009s # Step 3: adding subscription 1009s # Sender: service :1.1 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Waiting for AddMatch to be processed 1009s # Step 4: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 3 /gdbus/subscribe/conn/match_twice 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1009s # Step 0: adding subscription 1009s # Sender: service :1.1 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 3: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 3 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1009s # Step 0: adding subscription 1009s # Sender: :0.this.had.better.not.exist 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /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 1009s # Step 0: claiming bus name 1009s # Name: org.gtk.Test.AlreadyOwned 1009s # Owner: service 1009s # Step 1: adding subscription 1009s # Sender: org.gtk.Test.AlreadyOwned 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Waiting for AddMatch to be processed 1009s # Step 2: adding subscription 1009s # Sender: org.gtk.Test.OwnedLater 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Waiting for AddMatch to be processed 1009s # Step 3: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 4: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 5: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 6: claiming bus name 1009s # Name: org.gtk.Test.OwnedLater 1009s # Owner: service 1009s # Step 7: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 5 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 7 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 7 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1009s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1009s # Step 0: adding subscription 1009s # Sender: org.freedesktop.DBus 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: NameOwnerChanged 1009s # String argument 0: would I lie to you? 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: NameOwnerChanged 1009s # Waiting for signal to reach message bus 1009s # Step 3: claiming bus name 1009s # Name: org.gtk.Test.OwnedLater 1009s # Owner: service 1009s # Signal received from message bus org.freedesktop.DBus 1009s # Signal received from (unused) org.freedesktop.DBus via connection 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: NameOwnerChanged 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1009s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1009s # Step 0: claiming bus name 1009s # Name: org.gtk.Test.AlreadyOwned 1009s # Owner: service 1009s # Step 1: adding subscription 1009s # Sender: org.gtk.Test.AlreadyOwned 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Immediately unsubscribing 1009s # Waiting for AddMatch to be processed 1009s # Step 2: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1009s # End of conn tests 1009s # Start of proxy tests 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/simple/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/simple/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/simple/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/simple/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/simple/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/simple/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/simple/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/simple/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1009s # Step 0: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 1: adding subscription 1009s # Sender: (any) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Cannot subscribe via proxy: no bus name 1009s # Waiting for AddMatch to be processed 1009s # Step 2: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 9 /gdbus/subscribe/proxy/simple 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1009s # Step 0: adding subscription 1009s # Sender: (any) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Cannot subscribe via proxy: no bus name 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: service 2 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 3: emitting signal 1009s # Sender: service 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 4: emitting signal 1009s # Sender: service 2 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/match_twice/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/match_twice/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/match_twice/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/match_twice/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/match_twice/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1009s # Step 0: adding subscription 1009s # Sender: service :1.1 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 1: adding subscription 1009s # Sender: (any) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: (any) 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Cannot subscribe via proxy: no bus name 1009s # Waiting for AddMatch to be processed 1009s # Step 2: adding subscription 1009s # Sender: (any) 1009s # Path: (any) 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Cannot subscribe via proxy: no bus name 1009s # Waiting for AddMatch to be processed 1009s # Step 3: adding subscription 1009s # Sender: service :1.1 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 4: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 11 /gdbus/subscribe/proxy/match_twice 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1009s # Step 0: adding subscription 1009s # Sender: service :1.1 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 3: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 3 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1009s # Step 0: adding subscription 1009s # Sender: :0.this.had.better.not.exist 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /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 1009s # Step 0: claiming bus name 1009s # Name: org.gtk.Test.AlreadyOwned 1009s # Owner: service 1009s # Step 1: adding subscription 1009s # Sender: org.gtk.Test.AlreadyOwned 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 2: adding subscription 1009s # Sender: org.gtk.Test.OwnedLater 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 3: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 4: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 5: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 6: claiming bus name 1009s # Name: org.gtk.Test.OwnedLater 1009s # Owner: service 1009s # Step 7: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 5 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 7 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 7 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1009s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1009s # Step 0: adding subscription 1009s # Sender: org.freedesktop.DBus 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: NameOwnerChanged 1009s # String argument 0: would I lie to you? 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: NameOwnerChanged 1009s # Waiting for signal to reach message bus 1009s # Step 3: claiming bus name 1009s # Name: org.gtk.Test.OwnedLater 1009s # Owner: service 1009s # Signal received from message bus org.freedesktop.DBus 1009s # Signal received from (unused) org.freedesktop.DBus via proxy 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: NameOwnerChanged 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1009s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1009s # Step 0: claiming bus name 1009s # Name: org.gtk.Test.AlreadyOwned 1009s # Owner: service 1009s # Step 1: adding subscription 1009s # Sender: org.gtk.Test.AlreadyOwned 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 2: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 2 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1009s # End of proxy tests 1009s # Start of parallel tests 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/simple/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/simple/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/simple/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/simple/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/simple/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/simple/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/simple/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/simple/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1009s # Step 0: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 1: adding subscription 1009s # Sender: (any) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Cannot subscribe via proxy: no bus name 1009s # Waiting for AddMatch to be processed 1009s # Step 2: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 2 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1009s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 17 /gdbus/subscribe/parallel/simple 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1009s # Step 0: adding subscription 1009s # Sender: (any) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Cannot subscribe via proxy: no bus name 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: service 2 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 3: emitting signal 1009s # Sender: service 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 4: emitting signal 1009s # Sender: service 2 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 1 1009s # Signal received from service 2 :1.2 1009s # Signal received from service 2 :1.2 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 2 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 3 1009s # Signal received from service 2 :1.2 1009s # Signal received from service 2 :1.2 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1009s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1009s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1009s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1009s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/match_twice/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/match_twice/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/match_twice/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/match_twice/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/match_twice/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1009s # Step 0: adding subscription 1009s # Sender: service :1.1 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 1: adding subscription 1009s # Sender: (any) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: (any) 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Cannot subscribe via proxy: no bus name 1009s # Waiting for AddMatch to be processed 1009s # Step 2: adding subscription 1009s # Sender: (any) 1009s # Path: (any) 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Cannot subscribe via proxy: no bus name 1009s # Waiting for AddMatch to be processed 1009s # Step 3: adding subscription 1009s # Sender: service :1.1 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 4: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 4 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1009s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 19 /gdbus/subscribe/parallel/match_twice 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1009s # Step 0: adding subscription 1009s # Sender: service :1.1 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 3: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 3 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 3 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1009s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1009s # Step 0: adding subscription 1009s # Sender: :0.this.had.better.not.exist 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /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 1009s # Step 0: claiming bus name 1009s # Name: org.gtk.Test.AlreadyOwned 1009s # Owner: service 1009s # Step 1: adding subscription 1009s # Sender: org.gtk.Test.AlreadyOwned 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 2: adding subscription 1009s # Sender: org.gtk.Test.OwnedLater 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 3: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 4: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 5: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Step 6: claiming bus name 1009s # Name: org.gtk.Test.OwnedLater 1009s # Owner: service 1009s # Step 7: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 5 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 5 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 7 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 7 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via connection 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 7 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 7 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1009s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1009s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1009s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1009s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1009s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1009s # Step 0: adding subscription 1009s # Sender: org.freedesktop.DBus 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 1: emitting signal 1009s # Sender: attacker 1009s # Destination: (broadcast) 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: NameOwnerChanged 1009s # String argument 0: would I lie to you? 1009s # Waiting for signal to reach message bus 1009s # Step 2: emitting signal 1009s # Sender: attacker 1009s # Destination: subscriber :1.0 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: NameOwnerChanged 1009s # Waiting for signal to reach message bus 1009s # Step 3: claiming bus name 1009s # Name: org.gtk.Test.OwnedLater 1009s # Owner: service 1009s # Signal received from message bus org.freedesktop.DBus 1009s # Signal received from (unused) org.freedesktop.DBus via connection 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: NameOwnerChanged 1009s # Signal received from message bus org.freedesktop.DBus 1009s # Signal received from (unused) org.freedesktop.DBus via proxy 1009s # Path: /org/freedesktop/DBus 1009s # Interface: org.freedesktop.DBus 1009s # Member: NameOwnerChanged 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1009s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1009s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_YATK02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1009s # subscriber is :1.0 1009s # service is :1.1 1009s # service 2 is :1.2 1009s # attacker is :1.3 1009s # Waiting for AddMatch to be processed 1009s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1009s # Step 0: claiming bus name 1009s # Name: org.gtk.Test.AlreadyOwned 1009s # Owner: service 1009s # Step 1: adding subscription 1009s # Sender: org.gtk.Test.AlreadyOwned 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: (any) 1009s # String argument 0: (any) 1009s # Flags: 0 1009s # Subscribing via connection 1009s # Immediately unsubscribing 1009s # Subscribing via proxy 1009s # Waiting for AddMatch to be processed 1009s # Step 2: emitting signal 1009s # Sender: service 1009s # Destination: (broadcast) 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Waiting for signal to reach message bus 1009s # Signal received from service :1.1 1009s # Signal received from service :1.1 via proxy 1009s # Path: /org/gtk/GDBus/ExampleInterface 1009s # Interface: org.gtk.GDBus.ExampleInterface 1009s # Member: Foo 1009s # Argument 0: (not a string) 1009s # Sent in step: 2 1009s # Received Finished signal from subscriber :1.0 1009s # Received Finished signal from service :1.1 1009s # Received Finished signal from service 2 :1.2 1009s # Received Finished signal from attacker :1.3 1009s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1009s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1009s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1009s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1009s # End of parallel tests 1009s # End of subscribe tests 1009s # End of gdbus tests 1009s ok - glib/gdbus-subscribe.test 1009s # Running test: glib/properties-refcount3.test 1009s TAP version 14 1009s # random seed: R02Saa2b1b07266d285eeb9c464880e13ef2 1009s 1..1 1009s # Start of gobject tests 1009s # Start of refcount tests 1012s # Executing: glib/properties-refcount3.test 1017s # Executing: glib/properties-refcount3.test 1022s # Executing: glib/properties-refcount3.test 1027s # Executing: glib/properties-refcount3.test 1032s # Executing: glib/properties-refcount3.test 1037s # Executing: glib/properties-refcount3.test 1039s # 1039s # stopping 1039s # 1039s # stopped 1039s # 1039s # 24478300 62778 1039s # 1039s ok 1 /gobject/refcount/properties-3 1039s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1039s # End of refcount tests 1039s # End of gobject tests 1039s ok - glib/properties-refcount3.test 1039s # Running test: glib/threadtests.test 1039s TAP version 14 1039s # random seed: R02S525f001b05b35b5231c0bf7367bef28f 1039s 1..5 1039s # Start of GObject tests 1039s ok 1 /GObject/threaded-object-init 1040s ok 2 /GObject/threaded-weak-ref 1040s # slow test /GObject/threaded-weak-ref executed in 0.83 secs 1040s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1040s # /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 1040s ok 3 /GObject/threaded-toggle-notify 1040s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1040s # Start of threaded-weak-ref tests 1040s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1040s # /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. 1040s ok 5 /GObject/threaded-weak-ref/on-finalization 1040s # End of threaded-weak-ref tests 1040s # End of GObject tests 1040s ok - glib/threadtests.test 1040s # Running test: glib/power-profile-monitor-portal.test 1040s TAP version 13 1040s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1040s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1040s 1..2 1040s ok - glib/power-profile-monitor-portal.test 1040s # Running test: glib/unix.test 1040s TAP version 14 1040s # random seed: R02S4e0296fc382040c5710aa4d3dbc2fd8b 1040s 1..20 1040s # Start of glib-unix tests 1040s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1040s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1040s ok 1 /glib-unix/closefrom 1040s ok 2 /glib-unix/pipe 1040s # /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 1040s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1040s ok 3 /glib-unix/pipe-stdio-overwrite 1040s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1040s ok 4 /glib-unix/pipe-struct 1040s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1040s ok 5 /glib-unix/pipe-struct-auto 1040s ok 6 /glib-unix/error 1040s ok 7 /glib-unix/nonblocking 1041s ok 8 /glib-unix/sighup 1041s # slow test /glib-unix/sighup executed in 0.50 secs 1041s ok 9 /glib-unix/sigterm 1041s # slow test /glib-unix/sigterm executed in 0.50 secs 1042s # Executing: glib/unix.test 1042s ok 10 /glib-unix/sighup_again 1042s # slow test /glib-unix/sighup_again executed in 0.50 secs 1042s ok 11 /glib-unix/sighup_add_remove 1042s ok 12 /glib-unix/sighup_nested 1044s ok 13 /glib-unix/callback_after_signal 1044s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1044s ok 14 /glib-unix/child-wait 1044s # Start of closefrom tests 1044s # Start of subprocess tests 1044s # End of subprocess tests 1044s # End of closefrom tests 1044s # Start of pipe tests 1044s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1044s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1044s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1044s ok 15 /glib-unix/pipe/fd-cloexec 1044s # End of pipe tests 1044s # Start of sighup tests 1045s ok 16 /glib-unix/sighup/alternate-stack 1045s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1045s # End of sighup tests 1045s # Start of sigterm tests 1046s ok 17 /glib-unix/sigterm/alternate-stack 1046s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1046s # End of sigterm tests 1046s # Start of sighup_again tests 1047s # Executing: glib/unix.test 1047s ok 18 /glib-unix/sighup_again/alternate-stack 1047s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1047s # End of sighup_again tests 1047s # Start of get-passwd-entry tests 1047s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1047s ok 19 /glib-unix/get-passwd-entry/root 1047s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1047s ok 20 /glib-unix/get-passwd-entry/nonexistent 1047s # End of get-passwd-entry tests 1047s # End of glib-unix tests 1047s ok - glib/unix.test 1047s # Running test: glib/utf8-pointer.test 1047s TAP version 14 1047s # random seed: R02S74dc3ed0ff288ef934648f56cba2ece6 1047s 1..3 1047s # Start of utf8 tests 1048s ok 1 /utf8/offsets 1048s # slow test /utf8/offsets executed in 0.86 secs 1048s ok 2 /utf8/lengths 1048s ok 3 /utf8/find 1048s # End of utf8 tests 1048s ok - glib/utf8-pointer.test 1048s # Running test: glib/cancellable.test 1048s TAP version 14 1048s # random seed: R02Sbe9edeed9eb513ed90234d97bd15ad58 1048s 1..10 1048s # Start of cancellable tests 1048s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1048s ok 2 /cancellable/null 1048s # /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 1048s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1048s # /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 1048s ok 4 /cancellable/resets-on-cancel-callback-hangs 1048s ok 5 /cancellable/poll-fd 1048s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1048s ok 6 /cancellable/poll-fd-cancelled 1048s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1048s ok 7 /cancellable/poll-fd-cancelled-threaded 1048s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1048s ok 8 /cancellable/cancel-reset-races 1048s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1048s ok 9 /cancellable/cancel-reset-connect-races 1048s # End of cancellable tests 1048s # Start of cancellable-source tests 1048s # /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) 1048s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1049s ok 10 /cancellable-source/threaded-dispose 1049s # slow test /cancellable-source/threaded-dispose executed in 0.69 secs 1049s # End of cancellable-source tests 1049s ok - glib/cancellable.test 1049s # Running test: glib/static-link.test 1049s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1049s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1049s and make sure you have glib build dependencies installed, including 1049s meson. 1049s ok # SKIP - glib/static-link.test 1049s # Running test: glib/actions.test 1049s TAP version 14 1049s # random seed: R02S5364f3379a9f77c0e61c5536ef6656ea 1049s 1..13 1049s # Start of actions tests 1049s ok 1 /actions/basic 1049s ok 2 /actions/name 1049s ok 3 /actions/simplegroup 1049s ok 4 /actions/stateful 1049s ok 5 /actions/default-activate 1049s ok 6 /actions/entries 1049s ok 7 /actions/parse-detailed 1049s ok 8 /actions/property 1049s ok 9 /actions/no-properties 1049s # Start of dbus tests 1049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1049s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1049s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1049s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1049s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1049s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1049s ok 10 /actions/dbus/export 1049s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1049s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1049s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1049s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1049s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s ok 11 /actions/dbus/threaded 1050s # slow test /actions/dbus/threaded executed in 1.16 secs 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s ok 12 /actions/dbus/bug679509 1050s # Start of export tests 1050s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1050s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1050s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s ok 13 /actions/dbus/export/error-handling 1050s # End of export tests 1050s # End of dbus tests 1050s # End of actions tests 1050s ok - glib/actions.test 1050s # Running test: glib/srvtarget.test 1050s TAP version 14 1050s # random seed: R02Sa6c312ffa22ceaad0ebb33e1f18b5851 1050s 1..1 1050s # Start of srvtarget tests 1051s ok 1 /srvtarget/srv-target-ordering 1051s # End of srvtarget tests 1051s ok - glib/srvtarget.test 1051s # Running test: glib/gobject-private.test 1051s TAP version 14 1051s # random seed: R02S74bbb0e813590fdb7ba2165ccacddc17 1051s 1..3 1051s # Start of private tests 1051s ok 1 /private/instance 1051s ok 2 /private/derived-instance 1051s ok 3 /private/mixed-derived-instance 1051s # End of private tests 1051s ok - glib/gobject-private.test 1051s # Running test: glib/basic-signals.test 1051s TAP version 14 1051s # random seed: R02Sdfb8a3a9255d969e5b1ff914f93bac46 1051s 1..1 1051s # Start of gobject tests 1051s ok 1 /gobject/basic-signals 1051s # End of gobject tests 1051s ok - glib/basic-signals.test 1051s # Running test: glib/appmonitor.test 1051s TAP version 14 1051s # random seed: R02Sea9302716c788944cbc16be763f785e1 1051s 1..1 1051s # Start of monitor tests 1051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_CI0J02/monitor/app/.dirs/home 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_CI0J02/monitor/app/.dirs/cache 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_CI0J02/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_CI0J02/monitor/app/.dirs/system-config2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_CI0J02/monitor/app/.dirs/config 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_CI0J02/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_CI0J02/monitor/app/.dirs/system-data2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_CI0J02/monitor/app/.dirs/data 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_CI0J02/monitor/app/.dirs/state 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_CI0J02/monitor/app/.dirs/runtime 1051s # Using data directory: /tmp/test_appmonitor_CI0J02/monitor/app/.dirs/data 1051s ok 1 /monitor/app 1051s # End of monitor tests 1051s ok - glib/appmonitor.test 1051s # Running test: glib/fdo-notification-backend.test 1051s TAP version 14 1051s # random seed: R02S964ef351b2cbc7613326363170ca81e2 1051s 1..2 1051s # Start of fdo-notification-backend tests 1051s # Test constructing a GFdoNotificationBackend 1051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s ok 1 /fdo-notification-backend/construction 1051s # Start of dbus tests 1051s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1051s ok 2 /fdo-notification-backend/dbus/activate-action 1051s # End of dbus tests 1051s # End of fdo-notification-backend tests 1051s ok - glib/fdo-notification-backend.test 1051s # Running test: glib/tls-interaction.test 1051s TAP version 14 1051s # random seed: R02S61db7c746964d54ad4d498d35d114c5a 1051s 1..42 1051s # Start of tls-interaction tests 1051s # Start of ask-password tests 1051s # Start of invoke-with-loop tests 1051s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1051s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1051s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1051s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1051s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1051s # End of invoke-with-loop tests 1051s # Start of invoke-without-loop tests 1051s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1051s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1051s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1051s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1051s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1051s # End of invoke-without-loop tests 1051s # Start of invoke-in-loop tests 1051s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1051s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1051s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1051s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1051s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1051s # End of invoke-in-loop tests 1051s # Start of sync tests 1051s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1051s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1051s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1051s # End of sync tests 1051s # Start of async tests 1051s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1051s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1051s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1051s # End of async tests 1051s # End of ask-password tests 1051s # Start of request-certificate tests 1051s # Start of invoke-with-loop tests 1051s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1051s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1051s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1051s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1051s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1051s # End of invoke-with-loop tests 1051s # Start of invoke-without-loop tests 1051s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1051s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1051s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1051s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1051s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1051s # End of invoke-without-loop tests 1051s # Start of invoke-in-loop tests 1051s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1051s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1051s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1051s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1051s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1051s # End of invoke-in-loop tests 1051s # Start of sync tests 1051s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1051s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1051s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1051s # End of sync tests 1051s # Start of async tests 1051s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1051s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1051s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1051s # End of async tests 1051s # End of request-certificate tests 1051s # End of tls-interaction tests 1051s ok - glib/tls-interaction.test 1051s # Running test: glib/enums.test 1051s TAP version 14 1051s # random seed: R02Sbf3aed4aca6f3c6550b9a99bbc58613a 1051s 1..4 1051s # Start of enum tests 1051s ok 1 /enum/basic 1051s ok 2 /enum/define-type 1051s # End of enum tests 1051s # Start of flags tests 1051s ok 3 /flags/basic 1051s ok 4 /flags/define-type 1051s # End of flags tests 1051s ok - glib/enums.test 1051s # Running test: glib/bitlock.test 1051s TAP version 14 1051s # random seed: R02S75b5b694746828a2eb15b5b44544cd8c 1051s 1..1 1051s # Start of bitlock tests 1051s # Start of performance tests 1051s # max perf: iterations per second 1051s ok 1 /bitlock/performance/uncontended 1051s # End of performance tests 1051s # End of bitlock tests 1051s ok - glib/bitlock.test 1051s # Running test: glib/thread-pool-slow.test 1051s TAP version 14 1051s # random seed: R02S25f85951464b04d319d73e33985453c1 1051s 1..7 1051s # Start of threadpool tests 1051s ok 1 /threadpool/functions 1051s ok 2 /threadpool/stop-unused 1051s # slow test /threadpool/stop-unused executed in 0.51 secs 1051s ok 3 /threadpool/pools 1051s # [unsorted] ===> pushed new thread with id:27, number of threads:1, unprocessed:1 1051s # [unsorted] ===> pushed new thread with id:14, number of threads:2, unprocessed:2 1051s # [unsorted] ===> pushed new thread with id:81, number of threads:3, unprocessed:2 1051s # [unsorted] ===> pushed new thread with id:12, number of threads:4, unprocessed:2 1051s # [unsorted] ===> pushed new thread with id:100, number of threads:5, unprocessed:3 1051s # [unsorted] ===> pushed new thread with id:2, number of threads:6, unprocessed:4 1051s # [unsorted] ===> pushed new thread with id:65, number of threads:7, unprocessed:5 1051s # [unsorted] ===> pushed new thread with id:52, number of threads:8, unprocessed:6 1051s # [unsorted] ===> pushed new thread with id:29, number of threads:9, unprocessed:7 1051s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:8 1051s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:8 1051s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:8 1051s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:8 1051s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:8 1051s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:8 1051s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:9 1051s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:9 1051s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:8 1051s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:9 1051s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:10 1051s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:11 1051s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:12 1051s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:13 1051s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:14 1051s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:15 1051s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:16 1051s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:17 1051s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:18 1051s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:19 1051s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:20 1051s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:21 1051s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:22 1051s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:23 1051s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:24 1051s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:25 1051s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:26 1051s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:27 1051s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:28 1051s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:29 1051s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:30 1051s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:31 1051s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:32 1051s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:33 1051s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:34 1051s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:35 1051s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:36 1051s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:37 1051s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:38 1051s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:39 1051s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:40 1051s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:41 1051s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:42 1051s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:43 1051s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:44 1051s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:45 1051s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:46 1051s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:47 1051s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:48 1051s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:49 1051s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:50 1051s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:51 1051s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:52 1051s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:53 1051s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:54 1051s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:55 1051s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:56 1051s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:57 1051s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:58 1051s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:59 1051s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:60 1051s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:61 1051s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:62 1051s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:63 1051s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:64 1051s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:65 1051s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:66 1051s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:67 1051s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:68 1051s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:69 1051s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:70 1051s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:71 1051s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:72 1051s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:73 1051s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:74 1051s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:75 1051s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:76 1051s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:77 1051s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:78 1051s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:79 1051s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:80 1051s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:81 1051s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:82 1051s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:83 1051s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:84 1051s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:85 1051s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:86 1051s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:87 1051s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:88 1051s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:89 1051s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:90 1051s ok 4 /threadpool/no-sort 1051s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:1 1051s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:2 1051s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:3 1051s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:4 1051s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:5 1051s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:6 1051s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:7 1051s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:8 1051s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:9 1051s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:10 1051s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:11 1051s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:12 1051s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:13 1051s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:14 1051s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:15 1051s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:16 1051s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:17 1051s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:18 1051s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:19 1051s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:20 1051s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:21 1051s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:22 1051s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:23 1051s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:24 1051s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:25 1051s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:26 1051s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:27 1051s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:28 1051s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:29 1051s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:30 1051s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:31 1051s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:32 1051s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:33 1051s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:34 1051s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:35 1051s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:36 1051s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:37 1051s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:38 1051s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:39 1051s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:40 1051s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:41 1051s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:42 1051s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:43 1051s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:44 1051s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:45 1051s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:46 1051s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:47 1051s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:48 1051s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:49 1051s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:50 1051s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:51 1051s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:52 1051s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:53 1051s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:54 1051s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:55 1051s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:56 1051s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:57 1051s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:58 1051s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:59 1051s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:60 1051s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:61 1051s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:62 1051s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:63 1051s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:64 1051s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:65 1051s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:66 1051s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:67 1051s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:68 1051s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:69 1051s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:70 1051s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:71 1051s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:72 1051s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:73 1051s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:74 1051s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:75 1051s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:76 1051s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:77 1051s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:78 1051s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:79 1051s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:80 1051s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:81 1051s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:82 1051s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:83 1051s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:84 1051s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:85 1051s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:86 1051s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:87 1051s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:88 1051s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:89 1051s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:90 1051s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:91 1051s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:92 1051s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:93 1051s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:94 1051s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:95 1051s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:96 1051s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:97 1051s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:98 1051s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:99 1051s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:100 1051s # Starting thread pool processing 1051s ok 5 /threadpool/sort 1052s # Executing: glib/thread-pool-slow.test 1052s ok 6 /threadpool/stop-unused-multiple 1052s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1052s # Pool idle thread count: 0, unprocessed jobs: 42 1052s # Pool idle thread count: 0, unprocessed jobs: 0 1052s # Pool idle thread count: 0, unprocessed jobs: 0 1053s # Pool idle thread count: 10, unprocessed jobs: 0 1053s # Pool idle thread count: 10, unprocessed jobs: 0 1053s # Pool idle thread count: 10, unprocessed jobs: 0 1053s # Pool idle thread count: 10, unprocessed jobs: 0 1054s # Pool idle thread count: 10, unprocessed jobs: 0 1054s # Pool idle thread count: 10, unprocessed jobs: 0 1054s # Pool idle thread count: 10, unprocessed jobs: 0 1054s # Pool idle thread count: 10, unprocessed jobs: 0 1055s # Pool idle thread count: 10, unprocessed jobs: 0 1055s # Pool idle thread count: 10, unprocessed jobs: 0 1055s # Pool idle thread count: 10, unprocessed jobs: 0 1055s # Pool idle thread count: 10, unprocessed jobs: 0 1056s # Pool idle thread count: 10, unprocessed jobs: 0 1056s # Pool idle thread count: 10, unprocessed jobs: 0 1056s # Pool idle thread count: 10, unprocessed jobs: 0 1056s # Pool idle thread count: 10, unprocessed jobs: 0 1057s # Executing: glib/thread-pool-slow.test 1057s # Pool idle thread count: 10, unprocessed jobs: 0 1057s # Pool idle thread count: 10, unprocessed jobs: 0 1057s # Pool idle thread count: 10, unprocessed jobs: 0 1057s # Pool idle thread count: 10, unprocessed jobs: 0 1058s # Pool idle thread count: 10, unprocessed jobs: 0 1058s # Pool idle thread count: 10, unprocessed jobs: 0 1058s # Pool idle thread count: 10, unprocessed jobs: 0 1058s # Pool idle thread count: 10, unprocessed jobs: 0 1059s # Pool idle thread count: 10, unprocessed jobs: 0 1059s # Pool idle thread count: 10, unprocessed jobs: 0 1059s # Pool idle thread count: 10, unprocessed jobs: 0 1059s # Pool idle thread count: 10, unprocessed jobs: 0 1060s # Pool idle thread count: 10, unprocessed jobs: 0 1060s # Pool idle thread count: 10, unprocessed jobs: 0 1060s # Pool idle thread count: 10, unprocessed jobs: 0 1060s # Pool idle thread count: 10, unprocessed jobs: 0 1061s # Pool idle thread count: 10, unprocessed jobs: 2 1061s # Pool idle thread count: 8, unprocessed jobs: 0 1061s # Pool idle thread count: 8, unprocessed jobs: 0 1061s # Pool idle thread count: 8, unprocessed jobs: 0 1061s # Pool idle thread count: 10, unprocessed jobs: 0 1061s # Pool idle thread count: 10, unprocessed jobs: 0 1062s # Executing: glib/thread-pool-slow.test 1062s # Pool idle thread count: 10, unprocessed jobs: 0 1062s # Pool idle thread count: 10, unprocessed jobs: 0 1062s # Pool idle thread count: 10, unprocessed jobs: 0 1062s # Pool idle thread count: 10, unprocessed jobs: 0 1063s # Pool idle thread count: 2, unprocessed jobs: 0 1063s # Pool idle thread count: 2, unprocessed jobs: 0 1063s # Pool idle thread count: 2, unprocessed jobs: 0 1063s # Pool idle thread count: 2, unprocessed jobs: 0 1064s # Pool idle thread count: 2, unprocessed jobs: 0 1064s # Pool idle thread count: 2, unprocessed jobs: 0 1064s # Pool idle thread count: 2, unprocessed jobs: 0 1064s # Pool idle thread count: 2, unprocessed jobs: 0 1065s # Pool idle thread count: 2, unprocessed jobs: 0 1065s # Pool idle thread count: 2, unprocessed jobs: 0 1065s # Pool idle thread count: 2, unprocessed jobs: 0 1065s # Pool idle thread count: 2, unprocessed jobs: 0 1066s # Pool idle thread count: 2, unprocessed jobs: 0 1066s # Pool idle thread count: 2, unprocessed jobs: 0 1066s # Pool idle thread count: 2, unprocessed jobs: 0 1066s # Pool idle thread count: 2, unprocessed jobs: 0 1067s # Executing: glib/thread-pool-slow.test 1067s # Pool idle thread count: 2, unprocessed jobs: 0 1067s # Pool idle thread count: 2, unprocessed jobs: 0 1067s # Pool idle thread count: 2, unprocessed jobs: 0 1067s # Pool idle thread count: 2, unprocessed jobs: 0 1068s # Pool idle thread count: 2, unprocessed jobs: 0 1068s # Pool idle thread count: 2, unprocessed jobs: 0 1068s # Pool idle thread count: 2, unprocessed jobs: 0 1068s # Pool idle thread count: 2, unprocessed jobs: 0 1069s # Pool idle thread count: 2, unprocessed jobs: 0 1069s # Pool idle thread count: 2, unprocessed jobs: 0 1069s # Pool idle thread count: 2, unprocessed jobs: 0 1069s # Pool idle thread count: 2, unprocessed jobs: 0 1070s # Pool idle thread count: 2, unprocessed jobs: 0 1070s # Pool idle thread count: 2, unprocessed jobs: 0 1070s # Pool idle thread count: 2, unprocessed jobs: 0 1070s # Pool idle thread count: 2, unprocessed jobs: 0 1071s # Pool idle thread count: 2, unprocessed jobs: 0 1071s # Pool idle thread count: 2, unprocessed jobs: 0 1071s ok 7 /threadpool/idle-time 1071s # slow test /threadpool/idle-time executed in 19.53 secs 1071s # End of threadpool tests 1071s ok - glib/thread-pool-slow.test 1071s # Running test: glib/tls-certificate.test 1071s TAP version 14 1071s # random seed: R02S3d6c720d800f55002e468fed55184b85 1071s 1..19 1071s # Start of tls-certificate tests 1071s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1071s ok 1 /tls-certificate/pem-parser 1071s ok 2 /tls-certificate/pem-parser-handles-chain 1071s ok 3 /tls-certificate/from_file 1071s ok 4 /tls-certificate/from_files 1071s ok 5 /tls-certificate/from_files_crlf 1071s ok 6 /tls-certificate/from_files_pkcs8 1071s ok 7 /tls-certificate/from_files_pkcs8enc 1071s ok 8 /tls-certificate/list_from_file 1071s ok 9 /tls-certificate/pkcs11-uri 1071s ok 10 /tls-certificate/pkcs11-uri-unsupported 1071s ok 11 /tls-certificate/from_pkcs12 1071s ok 12 /tls-certificate/from_pkcs12_file 1071s ok 13 /tls-certificate/not-valid-before 1071s ok 14 /tls-certificate/not-valid-after 1071s ok 15 /tls-certificate/subject-name 1071s ok 16 /tls-certificate/issuer-name 1071s ok 17 /tls-certificate/dns-names 1071s ok 18 /tls-certificate/ip-addresses 1071s ok 19 /tls-certificate/pem-parser-no-sentinel 1071s # End of tls-certificate tests 1071s ok - glib/tls-certificate.test 1071s # Running test: glib/autoptr-girepository.test 1071s TAP version 14 1071s # random seed: R02Sd97540d8a46d65d0e3bc329860c613b0 1071s 1..24 1071s # Start of autoptr tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/repository/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/repository/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/repository/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/repository/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/repository/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/repository/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/repository/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/repository/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 1 /autoptr/repository 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/typelib/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/typelib/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/typelib/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/typelib/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/typelib/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/typelib/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/typelib/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/typelib/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 2 /autoptr/typelib 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/base-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/base-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/base-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/base-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/base-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/base-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/base-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/base-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 3 /autoptr/base-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/arg-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/arg-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/arg-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/arg-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/arg-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/arg-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/arg-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/arg-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 4 /autoptr/arg-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/callable-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/callable-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/callable-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/callable-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/callable-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/callable-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/callable-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/callable-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 5 /autoptr/callable-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/callback-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/callback-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/callback-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/callback-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/callback-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/callback-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/callback-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/callback-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 6 /autoptr/callback-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/constant-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/constant-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/constant-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/constant-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/constant-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/constant-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/constant-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/constant-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 7 /autoptr/constant-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/enum-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/enum-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/enum-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/enum-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/enum-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/enum-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/enum-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/enum-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 8 /autoptr/enum-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/field-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/field-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/field-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/field-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/field-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/field-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/field-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/field-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 9 /autoptr/field-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/flags-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/flags-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/flags-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/flags-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/flags-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/flags-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/flags-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/flags-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 10 /autoptr/flags-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/function-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/function-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/function-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/function-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/function-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/function-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/function-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/function-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 11 /autoptr/function-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/interface-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/interface-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/interface-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/interface-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/interface-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/interface-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/interface-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/interface-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 12 /autoptr/interface-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/object-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/object-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/object-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/object-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/object-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/object-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/object-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/object-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 13 /autoptr/object-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/property-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/property-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/property-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/property-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/property-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/property-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/property-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/property-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 14 /autoptr/property-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/registered-type-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/registered-type-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/registered-type-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/registered-type-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/registered-type-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/registered-type-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/registered-type-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/registered-type-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 15 /autoptr/registered-type-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/signal-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/signal-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/signal-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/signal-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/signal-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/signal-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/signal-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/signal-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 16 /autoptr/signal-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/struct-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/struct-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/struct-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/struct-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/struct-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/struct-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/struct-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/struct-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 17 /autoptr/struct-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/type-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/type-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/type-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/type-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/type-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/type-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/type-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/type-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 18 /autoptr/type-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/union-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/union-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/union-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/union-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/union-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/union-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/union-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/union-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 19 /autoptr/union-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/value-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/value-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/value-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/value-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/value-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/value-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/value-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/value-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 20 /autoptr/value-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/vfunc-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/vfunc-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/autoptr/vfunc-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/vfunc-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/autoptr/vfunc-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/vfunc-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/autoptr/vfunc-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/autoptr/vfunc-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 21 /autoptr/vfunc-info 1071s # End of autoptr tests 1071s # Start of auto tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/auto/arg-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/arg-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/auto/arg-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/arg-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/auto/arg-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/arg-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/arg-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/auto/arg-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 22 /auto/arg-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/auto/type-info/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/type-info/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/auto/type-info/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/type-info/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/auto/type-info/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/type-info/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/type-info/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/auto/type-info/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 23 /auto/type-info 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_L1UC02/auto/function-invoker/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/function-invoker/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_L1UC02/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_L1UC02/auto/function-invoker/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/function-invoker/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_L1UC02/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_L1UC02/auto/function-invoker/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/function-invoker/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_L1UC02/auto/function-invoker/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_L1UC02/auto/function-invoker/.dirs/runtime 1071s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1071s ok 24 /auto/function-invoker 1071s # End of auto tests 1071s ok - glib/autoptr-girepository.test 1071s # Running test: glib/win32-appinfo.test 1071s TAP version 14 1071s # random seed: R02Se4d20d7d0ec66e87f44f52cb39515b8f 1071s 1..5 1071s # Start of appinfo tests 1071s ok 1 /appinfo/utf16-strfuncs 1071s ok 2 /appinfo/win32-extract-executable 1071s ok 3 /appinfo/win32-rundll32-fixup 1071s ok 4 /appinfo/win32-parse-filename 1071s ok 5 /appinfo/win32-utf16-conversion-fail 1071s # Start of subprocess tests 1071s # End of subprocess tests 1071s # End of appinfo tests 1071s ok - glib/win32-appinfo.test 1071s # Running test: glib/null-settings-backend.test 1071s TAP version 14 1071s # random seed: R02S7d007a14a4d305019b3137583e350966 1071s 1..1 1071s # Start of null-settings-backend tests 1071s ok 1 /null-settings-backend/extension-point-registered 1071s # End of null-settings-backend tests 1071s ok - glib/null-settings-backend.test 1071s # Running test: glib/gdbus-peer.test 1071s TAP version 14 1071s # random seed: R02Sc070b822181383c20408fc5f721ed862 1071s 1..12 1071s # Start of gdbus tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/.dirs/runtime 1071s # Testing with unix:dir address 1071s # Testing with unix:tmpdir address 1071s # Testing with unix:path address 1071s ok 1 /gdbus/peer-to-peer 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/delayed-message-processing/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/delayed-message-processing/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/delayed-message-processing/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/delayed-message-processing/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/delayed-message-processing/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/delayed-message-processing/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/delayed-message-processing/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/delayed-message-processing/.dirs/runtime 1071s # Testing with unix:dir address 1072s # Executing: glib/gdbus-peer.test 1072s ok 2 /gdbus/delayed-message-processing 1072s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 1072s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/nonce-tcp/.dirs/home 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/nonce-tcp/.dirs/cache 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/nonce-tcp/.dirs/system-config2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/nonce-tcp/.dirs/config 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/nonce-tcp/.dirs/system-data2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/nonce-tcp/.dirs/data 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/nonce-tcp/.dirs/state 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/nonce-tcp/.dirs/runtime 1072s ok 3 /gdbus/nonce-tcp 1072s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/tcp-anonymous/.dirs/home 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/tcp-anonymous/.dirs/cache 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/tcp-anonymous/.dirs/system-config2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/tcp-anonymous/.dirs/config 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/tcp-anonymous/.dirs/system-data2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/tcp-anonymous/.dirs/data 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/tcp-anonymous/.dirs/state 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/tcp-anonymous/.dirs/runtime 1072s ok 4 /gdbus/tcp-anonymous 1072s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/credentials/.dirs/home 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/credentials/.dirs/cache 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/credentials/.dirs/system-config2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/credentials/.dirs/config 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/credentials/.dirs/system-data2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/credentials/.dirs/data 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/credentials/.dirs/state 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/credentials/.dirs/runtime 1072s ok 5 /gdbus/credentials 1072s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/codegen-peer-to-peer/.dirs/home 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/codegen-peer-to-peer/.dirs/cache 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/codegen-peer-to-peer/.dirs/system-config2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/codegen-peer-to-peer/.dirs/config 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/codegen-peer-to-peer/.dirs/system-data2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/codegen-peer-to-peer/.dirs/data 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/codegen-peer-to-peer/.dirs/state 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/codegen-peer-to-peer/.dirs/runtime 1072s # Testing with unix:dir address 1072s # Machine ID: e0539402bd3f444686ad381d193c7625 1073s ok 6 /gdbus/codegen-peer-to-peer 1073s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 1073s # Start of peer-to-peer tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/signals/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/signals/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/signals/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/signals/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/signals/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/signals/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/signals/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/signals/.dirs/runtime 1073s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1073s # Testing with unix:dir address 1073s ok 7 /gdbus/peer-to-peer/signals 1073s # Start of invalid tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/server/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/server/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/server/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/server/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/server/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1073s ok 8 /gdbus/peer-to-peer/invalid/server 1073s # Start of conn tests 1073s # Start of stream tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1073s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1073s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1073s # End of stream tests 1073s # Start of addr tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1073s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NT1E02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1073s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1073s # End of addr tests 1073s # End of conn tests 1073s # End of invalid tests 1073s # End of peer-to-peer tests 1073s # End of gdbus tests 1073s ok - glib/gdbus-peer.test 1073s # Running test: glib/gdbus-peer-object-manager.test 1073s TAP version 14 1073s # random seed: R02S885eb35cba94fce6cc7b35fa0d6be39b 1073s 1..2 1073s # Start of gdbus tests 1073s # Start of peer-object-manager tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/normal/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/normal/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/normal/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/normal/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/normal/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/normal/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/normal/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/normal/.dirs/runtime 1073s ok 1 /gdbus/peer-object-manager/normal 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/root/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/root/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/root/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/root/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/root/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/root/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/root/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_A837Z2/gdbus/peer-object-manager/root/.dirs/runtime 1073s ok 2 /gdbus/peer-object-manager/root 1073s # End of peer-object-manager tests 1073s # End of gdbus tests 1073s ok - glib/gdbus-peer-object-manager.test 1073s # Running test: glib/mount-operation.test 1073s TAP version 14 1073s # random seed: R02Sc4119980248af5beb151f96ec37e8c95 1073s 1..2 1073s # Start of mount-operation tests 1073s ok 1 /mount-operation/construction 1073s ok 2 /mount-operation/properties 1073s # End of mount-operation tests 1073s ok - glib/mount-operation.test 1073s # Running test: glib/network-monitor.test 1073s TAP version 14 1073s # random seed: R02Sfc2dd8df1a75d3125dc495e2209029fc 1073s 1..4 1073s # Start of network-monitor tests 1073s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1073s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1073s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1073s ok 1 /network-monitor/default 1073s ok 2 /network-monitor/remove_default 1073s ok 3 /network-monitor/add_networks 1073s ok 4 /network-monitor/remove_networks 1073s # End of network-monitor tests 1073s ok - glib/network-monitor.test 1073s # Running test: glib/type.test 1073s TAP version 14 1073s # random seed: R02S787bb4cb7055639950a4abfdbeb2103e 1073s 1..6 1073s # Start of type tests 1073s ok 1 /type/registration-serial 1073s ok 2 /type/interface-prerequisite 1073s ok 3 /type/interface-check 1073s ok 4 /type/next-base 1073s ok 5 /type/is-a 1073s # Invalid types can?t be queried. 1073s # Unclassed types can?t be queried. 1073s ok 6 /type/query 1073s # End of type tests 1073s ok - glib/type.test 1073s # Running test: glib/refstring.test 1073s TAP version 14 1073s # random seed: R02Sabe0d9e6178ae6b1b8c7cda2c09b93d7 1073s 1..6 1073s # Start of refstring tests 1073s # s = 'hello, world' (0x652e3962a3b0) 1073s ok 1 /refstring/base 1073s ok 2 /refstring/length 1073s ok 3 /refstring/length-auto 1073s ok 4 /refstring/length-nuls 1073s # s = 'hello, world' (0x652e3962a300) 1073s # p = s = 'hello, world' (0x652e3962a300) 1073s # releasing p[0x652e3962a300] ('hello, world') 1073s # p = 'goodbye, world' (0x652e3962a3b0) 1073s # releasing p[0x652e3962a3b0] ('goodbye, world') 1073s # releasing s[0x652e3962a300] ('hello, world') 1073s ok 5 /refstring/intern 1074s ok 6 /refstring/intern-thread-safety 1074s # slow test /refstring/intern-thread-safety executed in 0.63 secs 1074s # End of refstring tests 1074s ok - glib/refstring.test 1074s # Running test: glib/object-info.test 1074s TAP version 14 1074s # random seed: R02S593feebe43284b7ba0a54b12b4b442b7 1074s 1..2 1074s # Start of object-info tests 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_PC3F02/object-info/find-method-using-interfaces/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_PC3F02/object-info/find-method-using-interfaces/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_PC3F02/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_PC3F02/object-info/find-method-using-interfaces/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_PC3F02/object-info/find-method-using-interfaces/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_PC3F02/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_PC3F02/object-info/find-method-using-interfaces/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_PC3F02/object-info/find-method-using-interfaces/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_PC3F02/object-info/find-method-using-interfaces/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_PC3F02/object-info/find-method-using-interfaces/.dirs/runtime 1074s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1074s ok 1 /object-info/find-method-using-interfaces 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_PC3F02/object-info/find-vfunc-using-interfaces/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_PC3F02/object-info/find-vfunc-using-interfaces/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_PC3F02/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_PC3F02/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_PC3F02/object-info/find-vfunc-using-interfaces/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_PC3F02/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_PC3F02/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_PC3F02/object-info/find-vfunc-using-interfaces/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_PC3F02/object-info/find-vfunc-using-interfaces/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_PC3F02/object-info/find-vfunc-using-interfaces/.dirs/runtime 1074s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1074s ok 2 /object-info/find-vfunc-using-interfaces 1074s # End of object-info tests 1074s ok - glib/object-info.test 1074s # Running test: glib/gdbus-names.test 1074s TAP version 14 1074s # random seed: R02S5c5d2a9d540d6f9ad27c805feb3771fd 1074s 1..10 1074s # Start of gdbus tests 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JVXF02/gdbus/validate-names/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/validate-names/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_JVXF02/gdbus/validate-names/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/validate-names/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_JVXF02/gdbus/validate-names/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/validate-names/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/validate-names/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JVXF02/gdbus/validate-names/.dirs/runtime 1074s ok 1 /gdbus/validate-names 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-own-name/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-own-name/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-own-name/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-own-name/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-own-name/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-own-name/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-own-name/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JVXF02/gdbus/bus-own-name/.dirs/runtime 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1074s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s ok 2 /gdbus/bus-own-name 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name/.dirs/runtime 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1074s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s ok 3 /gdbus/bus-watch-name 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start/.dirs/runtime 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1074s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s ok 4 /gdbus/bus-watch-name-auto-start 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1074s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1074s dbus-daemon[7460]: [session uid=1000 pid=7460] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=7451 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1074s # Acquired a message bus connection 1074s dbus-daemon[7460]: [session uid=1000 pid=7460] Successfully activated service 'org.gtk.GDBus.FakeService' 1074s # Acquired the name org.gtk.GDBus.FakeService 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures/.dirs/runtime 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1074s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s ok 6 /gdbus/bus-watch-name-closures 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1074s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s ok 7 /gdbus/bus-watch-name-closures-auto-start 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-different-context/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-different-context/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-different-context/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-different-context/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-different-context/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-different-context/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-different-context/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JVXF02/gdbus/bus-watch-different-context/.dirs/runtime 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1074s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s ok 8 /gdbus/bus-watch-different-context 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-unwatch-early/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-unwatch-early/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-unwatch-early/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-unwatch-early/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_JVXF02/gdbus/bus-unwatch-early/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-unwatch-early/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/bus-unwatch-early/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JVXF02/gdbus/bus-unwatch-early/.dirs/runtime 1074s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1074s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s ok 9 /gdbus/bus-unwatch-early 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JVXF02/gdbus/escape-object-path/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/escape-object-path/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_JVXF02/gdbus/escape-object-path/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/escape-object-path/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JVXF02/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_JVXF02/gdbus/escape-object-path/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/escape-object-path/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JVXF02/gdbus/escape-object-path/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JVXF02/gdbus/escape-object-path/.dirs/runtime 1074s ok 10 /gdbus/escape-object-path 1074s # End of gdbus tests 1074s ok - glib/gdbus-names.test 1074s # Running test: glib/type-flags.test 1074s TAP version 14 1074s # random seed: R02Sbde7cf23dbbc36f33ad92a3da6f58cf3 1074s 1..4 1074s # Start of type tests 1074s # Start of flags tests 1074s ok 1 /type/flags/interface 1074s ok 2 /type/flags/final 1074s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1074s ok 3 /type/flags/deprecated 1074s # Start of final tests 1074s ok 4 /type/flags/final/instance-check 1074s # End of final tests 1074s # End of flags tests 1074s # End of type tests 1074s ok - glib/type-flags.test 1074s # Running test: glib/dataset.test 1074s TAP version 14 1074s # random seed: R02S28e622e5e7f93049748c1098190d9c6e 1074s 1..14 1074s # Start of quark tests 1074s ok 1 /quark/basic 1074s ok 2 /quark/string 1074s # End of quark tests 1074s # Start of dataset tests 1074s ok 3 /dataset/basic 1074s ok 4 /dataset/id 1074s ok 5 /dataset/full 1074s ok 6 /dataset/foreach 1074s ok 7 /dataset/destroy 1074s # End of dataset tests 1074s # Start of datalist tests 1074s ok 8 /datalist/basic 1074s ok 9 /datalist/id 1074s ok 10 /datalist/recursive-clear 1074s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1074s ok 11 /datalist/id-remove-multiple 1074s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1074s ok 12 /datalist/id-remove-multiple-destroy-order 1074s ok 13 /datalist/update-atomic 1074s # Start of id-remove-multiple tests 1074s ok 14 /datalist/id-remove-multiple/resize 1074s # End of id-remove-multiple tests 1074s # End of datalist tests 1074s ok - glib/dataset.test 1074s # Running test: glib/gsocketclient-slow.test 1074s TAP version 14 1074s # random seed: R02S0062fcac96dd9961290cebe4a5b19f7f 1074s 1..4 1074s # Start of socket-client tests 1074s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1074s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1074s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x599431278280 and GSocketClientAsyncConnectData 0x599431270b90 1074s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1074s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1074s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59943127a160 for GSocketClientAsyncConnectData 0x599431270b90 1074s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1074s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1074s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1074s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1074s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1074s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1074s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59943127b2c0 for GSocketClientAsyncConnectData 0x599431270b90 1074s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1075s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1075s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1075s ok 1 /socket-client/connection-fail 1075s # slow test /socket-client/connection-fail executed in 1.20 secs 1075s # Start of happy-eyeballs tests 1075s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59943127dc50 and GSocketClientAsyncConnectData 0x59943127bf00 1075s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1075s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1075s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59943127e5d0 for GSocketClientAsyncConnectData 0x59943127bf00 1075s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1076s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1076s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1076s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1076s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1076s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1076s ok 2 /socket-client/happy-eyeballs/slow 1076s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1076s # Start of cancellation tests 1076s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59943127f240 and GSocketClientAsyncConnectData 0x59943127e160 1076s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1076s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1076s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1076s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59943127dc90 and GSocketClientAsyncConnectData 0x59943127f4d0 1076s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1076s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1076s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59943127fca0 for GSocketClientAsyncConnectData 0x59943127f4d0 1076s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1076s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1076s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1076s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1076s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1076s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1076s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1076s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1076s # End of cancellation tests 1076s # End of happy-eyeballs tests 1076s # End of socket-client tests 1076s ok - glib/gsocketclient-slow.test 1076s # Running test: glib/atomic-c-89.test 1076s TAP version 14 1076s # random seed: R02Sbfbdbe1a114690f7a4ba641d48ce4d7c 1076s 1..2 1076s # Start of atomic tests 1076s ok 1 /atomic/types 1076s ok 2 /atomic/threaded 1076s # End of atomic tests 1076s ok - glib/atomic-c-89.test 1076s # Running test: glib/ifaceproperties.test 1076s TAP version 14 1076s # random seed: R02Sdfa187f18636eff5dbf608e079c1c4d7 1076s 1..7 1076s # Start of interface tests 1076s # Start of properties tests 1076s ok 1 /interface/properties/set 1076s ok 2 /interface/properties/notify 1076s ok 3 /interface/properties/find-overridden 1076s ok 4 /interface/properties/list-overridden 1076s ok 5 /interface/properties/find-interface 1076s ok 6 /interface/properties/list-interface 1076s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1076s ok 7 /interface/properties/not-overridden 1076s # End of properties tests 1076s # End of interface tests 1076s ok - glib/ifaceproperties.test 1076s # Running test: glib/gdbus-proxy-threads.test 1076s TAP version 14 1076s # random seed: R02S3daeba2d40c7c89500dd22fefb54145c 1076s 1..1 1076s # Start of gdbus tests 1076s # Start of proxy tests 1076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_K6W5Z2/gdbus/proxy/vs-threads/.dirs/home 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_K6W5Z2/gdbus/proxy/vs-threads/.dirs/cache 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_K6W5Z2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_K6W5Z2/gdbus/proxy/vs-threads/.dirs/system-config2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_K6W5Z2/gdbus/proxy/vs-threads/.dirs/config 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_K6W5Z2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_K6W5Z2/gdbus/proxy/vs-threads/.dirs/system-data2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_K6W5Z2/gdbus/proxy/vs-threads/.dirs/data 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_K6W5Z2/gdbus/proxy/vs-threads/.dirs/state 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_K6W5Z2/gdbus/proxy/vs-threads/.dirs/runtime 1076s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1077s # Executing: glib/gdbus-proxy-threads.test 1077s ok 1 /gdbus/proxy/vs-threads 1077s # slow test /gdbus/proxy/vs-threads executed in 0.77 secs 1077s # End of proxy tests 1077s # End of gdbus tests 1077s cleaning up pid 7497 1077s ok - glib/gdbus-proxy-threads.test 1077s # Running test: glib/power-profile-monitor.test 1077s TAP version 14 1077s # random seed: R02S45daeb6c1fd983b9f45d36c1b66f66f7 1077s 1..1 1077s # Start of power-profile-monitor tests 1077s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1077s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1077s ok 1 /power-profile-monitor/default 1077s # End of power-profile-monitor tests 1077s ok - glib/power-profile-monitor.test 1077s # Running test: glib/convert.test 1077s TAP version 14 1077s # random seed: R02Sbd919c0fa0ac68b0d12a751159eb4e14 1077s 1..14 1077s # Start of conversion tests 1077s ok 1 /conversion/no-conv 1077s ok 2 /conversion/iconv-state 1077s ok 3 /conversion/illegal-sequence 1077s ok 4 /conversion/byte-order 1077s ok 5 /conversion/unicode 1077s ok 6 /conversion/filename-utf8 1077s ok 7 /conversion/filename-display 1077s ok 8 /conversion/convert-embedded-nul 1077s # Start of locale-to-utf8 tests 1077s ok 9 /conversion/locale-to-utf8/embedded-nul 1077s # Start of embedded-nul tests 1077s # Start of subprocess tests 1077s # End of subprocess tests 1077s # End of embedded-nul tests 1077s # End of locale-to-utf8 tests 1077s # Start of locale-from-utf8 tests 1077s ok 10 /conversion/locale-from-utf8/embedded-nul 1077s # Start of embedded-nul tests 1077s # Start of subprocess tests 1077s # End of subprocess tests 1077s # End of embedded-nul tests 1077s # End of locale-from-utf8 tests 1077s # Start of filename-to-utf8 tests 1077s ok 11 /conversion/filename-to-utf8/embedded-nul 1077s # Start of embedded-nul tests 1077s # Start of subprocess tests 1077s # End of subprocess tests 1077s # End of embedded-nul tests 1077s # End of filename-to-utf8 tests 1077s # Start of filename-from-utf8 tests 1077s ok 12 /conversion/filename-from-utf8/embedded-nul 1077s # Start of embedded-nul tests 1077s # Start of subprocess tests 1077s # End of subprocess tests 1077s # End of embedded-nul tests 1077s # End of filename-from-utf8 tests 1077s # Start of filename-from-uri tests 1077s ok 13 /conversion/filename-from-uri/query-is-ignored 1077s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1077s # End of filename-from-uri tests 1077s # End of conversion tests 1077s ok - glib/convert.test 1077s # Running test: glib/gvariant.test 1077s TAP version 14 1077s # random seed: R02S2ce29df7271acbac477e4c5eabc248a5 1077s 1..64 1077s # Start of gvariant tests 1077s ok 1 /gvariant/type 1077s ok 2 /gvariant/typeinfo 1077s ok 3 /gvariant/string 1077s ok 4 /gvariant/utf8 1078s ok 5 /gvariant/containers 1078s ok 6 /gvariant/format-strings 1078s ok 7 /gvariant/invalid-varargs 1078s ok 8 /gvariant/varargs 1078s ok 9 /gvariant/valist 1078s ok 10 /gvariant/builder-memory 1078s ok 11 /gvariant/hashing 1078s ok 12 /gvariant/byteswap 1078s ok 13 /gvariant/parser 1078s ok 14 /gvariant/parse-failures 1078s ok 15 /gvariant/parse-positional 1078s ok 16 /gvariant/floating 1078s ok 17 /gvariant/bytestring 1078s ok 18 /gvariant/lookup-value 1078s ok 19 /gvariant/lookup 1078s ok 20 /gvariant/compare 1078s ok 21 /gvariant/equal 1078s ok 22 /gvariant/fixed-array 1078s ok 23 /gvariant/check-format-string 1078s ok 24 /gvariant/checksum-basic 1078s ok 25 /gvariant/checksum-nested 1078s ok 26 /gvariant/gbytes 1078s ok 27 /gvariant/print-context 1078s ok 28 /gvariant/error-quark 1078s ok 29 /gvariant/stack-builder-init 1078s ok 30 /gvariant/stack-dict-init 1078s ok 31 /gvariant/unaligned-construction 1078s # Start of type tests 1078s # Start of string-scan tests 1078s # Start of recursion tests 1078s ok 32 /gvariant/type/string-scan/recursion/tuple 1078s ok 33 /gvariant/type/string-scan/recursion/array 1078s # End of recursion tests 1078s # End of string-scan tests 1078s # End of type tests 1078s # Start of serialiser tests 1078s ok 34 /gvariant/serialiser/maybe 1078s ok 35 /gvariant/serialiser/array 1078s ok 36 /gvariant/serialiser/tuple 1078s ok 37 /gvariant/serialiser/variant 1078s ok 38 /gvariant/serialiser/strings 1079s ok 39 /gvariant/serialiser/byteswap 1079s # slow test /gvariant/serialiser/byteswap executed in 0.74 secs 1079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1079s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1079s ok 40 /gvariant/serialiser/children 1079s # Start of fuzz tests 1079s ok 41 /gvariant/serialiser/fuzz/1% 1079s ok 42 /gvariant/serialiser/fuzz/5% 1079s ok 43 /gvariant/serialiser/fuzz/9% 1079s ok 44 /gvariant/serialiser/fuzz/13% 1079s ok 45 /gvariant/serialiser/fuzz/17% 1079s # End of fuzz tests 1079s # End of serialiser tests 1079s # Start of varargs tests 1079s # Start of subprocess tests 1079s # End of subprocess tests 1079s # End of varargs tests 1079s # Start of byteswap tests 1079s # /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. 1079s ok 46 /gvariant/byteswap/non-normal-non-aligned 1079s # End of byteswap tests 1079s # Start of parser tests 1079s ok 47 /gvariant/parser/integer-bounds 1079s ok 48 /gvariant/parser/recursion 1079s # Start of recursion tests 1079s ok 49 /gvariant/parser/recursion/typedecls 1079s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1079s # Text form 0: @mmmu 5 1079s # Text form 1: @mmmas ['hello'] 1079s # Text form 2: @mmmu just just nothing 1079s # Text form 3: @mmmas just just nothing 1079s # Text form 4: @mmmu just nothing 1079s # Text form 5: @mmmas just nothing 1079s # Text form 6: @mmmu nothing 1079s # Text form 7: @mmmas nothing 1079s ok 50 /gvariant/parser/recursion/maybes 1079s # End of recursion tests 1079s # End of parser tests 1079s # Start of parse tests 1079s # Start of subprocess tests 1079s # End of subprocess tests 1079s # End of parse tests 1079s # Start of normal-checking tests 1079s ok 51 /gvariant/normal-checking/tuples 1079s ok 52 /gvariant/normal-checking/array-offsets 1079s ok 53 /gvariant/normal-checking/array-offsets2 1079s ok 54 /gvariant/normal-checking/tuple-offsets 1079s ok 55 /gvariant/normal-checking/tuple-offsets2 1079s ok 56 /gvariant/normal-checking/tuple-offsets3 1079s ok 57 /gvariant/normal-checking/tuple-offsets4 1079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1079s ok 58 /gvariant/normal-checking/tuple-offsets5 1079s ok 59 /gvariant/normal-checking/empty-object-path 1079s # Start of array-offsets tests 1079s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1079s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1079s # End of array-offsets tests 1079s # Start of tuple-offsets tests 1079s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1079s # End of tuple-offsets tests 1079s # End of normal-checking tests 1079s # Start of recursion-limits tests 1079s ok 63 /gvariant/recursion-limits/variant-in-variant 1079s ok 64 /gvariant/recursion-limits/array-in-variant 1079s # End of recursion-limits tests 1079s # End of gvariant tests 1079s ok - glib/gvariant.test 1079s # Running test: glib/slist.test 1079s TAP version 14 1079s # random seed: R02S9c4ce58181daa5851bfea392d5e8ce39 1079s 1..14 1079s # Start of slist tests 1079s ok 1 /slist/sort 1079s ok 2 /slist/sort-with-data 1079s ok 3 /slist/insert-sorted 1079s ok 4 /slist/insert-sorted-with-data 1079s ok 5 /slist/reverse 1079s ok 6 /slist/nth 1079s ok 7 /slist/remove 1079s ok 8 /slist/remove-all 1079s ok 9 /slist/insert 1079s ok 10 /slist/position 1079s ok 11 /slist/concat 1079s ok 12 /slist/copy 1079s # Start of sort tests 1079s ok 13 /slist/sort/stable 1079s # End of sort tests 1079s # Start of copy tests 1079s ok 14 /slist/copy/deep 1079s # End of copy tests 1079s # End of slist tests 1079s ok - glib/slist.test 1079s # Running test: glib/properties-refcount1.test 1079s TAP version 14 1079s # random seed: R02S848c691ef388574a6f99d03defde6e97 1079s 1..1 1079s # Start of gobject tests 1079s # Start of refcount tests 1079s # .d 1079s # .f 1079s # .c 1079s # .b 1079s # .e 1079s # .d 1079s # .c 1079s # .f 1079s # .d 1079s # .b 1079s # .e 1079s # .c 1079s # .d 1079s # .f 1079s # .b 1079s # .c 1079s # .e 1079s # .d 1079s # .c 1079s # .f 1079s # .d 1079s # .b 1079s # .e 1079s # .c 1079s # .d 1079s # .f 1079s # .c 1080s # .e 1080s # .d 1080s # .b 1080s # .c 1080s # .f 1080s # .d 1080s # .c 1080s # .e 1080s # .b 1080s # .f 1080s # .d 1080s # .c 1080s # .e 1080s # .d 1080s # .f 1080s # .c 1080s # .b 1080s # .d 1080s # .b 1080s # .f 1080s # .c 1080s # .e 1080s # .d 1080s # .b 1080s # .b 1080s # .e 1080s # .c 1080s # .f 1080s # .d 1080s # .b 1080s # .c 1080s # .f 1080s # .e 1080s # .d 1080s # .c 1080s # .b 1080s # .f 1080s # .e 1080s # .c 1080s # .d 1080s # .f 1080s # .c 1080s # .e 1080s # .b 1080s # .d 1080s # .f 1080s # .c 1080s # .e 1080s # .d 1080s # .b 1080s # .f 1080s # .d 1080s # .e 1080s # .c 1080s # .c 1080s # .f 1080s # .c 1080s # .e 1080s # .b 1080s # .c 1080s # .d 1080s # .c 1080s # .f 1080s # .c 1080s # .e 1080s # .c 1080s # .b 1080s # .d 1080s # .f 1080s # .e 1080s # .c 1080s # .e 1080s # .b 1080s # .f 1080s # .d 1080s # .f 1080s # .c 1080s # .f 1080s # .e 1080s # .b 1080s # .d 1080s # .f 1080s # .c 1080s # .b 1080s # .e 1080s # .f 1080s # .d 1080s # .f 1080s # .c 1080s # .e 1080s # .b 1080s # .d 1080s # .f 1080s # .b 1080s # .c 1080s # .d 1080s # .e 1080s # .f 1080s # .b 1080s # .e 1080s # .c 1080s # .d 1080s # .f 1080s # .e 1080s # .b 1080s # .c 1080s # .e 1080s # .b 1080s # .d 1080s # .f 1080s # .c 1080s # .e 1080s # .b 1080s # .d 1080s # .e 1080s # .f 1080s # .b 1080s # .c 1080s # .e 1080s # .f 1080s # .b 1080s # .d 1080s # .c 1080s # .e 1080s # .b 1080s # .d 1080s # .f 1080s # .c 1080s # .d 1080s # .e 1080s # .f 1080s # .c 1080s # .b 1080s # .e 1080s # .f 1080s # .d 1080s # .c 1080s # .b 1080s # .f 1080s # .e 1080s # .d 1080s # .f 1081s # .c 1081s # .e 1081s # .d 1081s # .b 1081s # .c 1081s # .d 1081s # .e 1081s # .f 1081s # .b 1081s # .c 1081s # .f 1081s # .e 1081s # .d 1081s # .c 1081s # .f 1081s # .b 1081s # .e 1081s # .f 1081s # .d 1081s # .b 1081s # .c 1081s # .f 1081s # .e 1081s # .b 1081s # .d 1081s # .f 1081s # .c 1081s # .e 1081s # .b 1081s # .d 1081s # .c 1081s # .e 1081s # .f 1081s # .c 1081s # .b 1081s # .f 1081s # .d 1081s # .c 1081s # .e 1081s # .b 1081s # .d 1081s # .f 1081s # .e 1081s # .c 1081s # .d 1081s # .b 1081s # .e 1081s # .f 1081s # .e 1081s # .d 1081s # .b 1081s # .c 1081s # .f 1081s # .e 1081s # .b 1081s # .d 1081s # .b 1081s # .c 1081s # .f 1081s # .e 1081s # .b 1081s # .d 1081s # .c 1081s # .e 1081s # .b 1081s # .f 1081s # .d 1081s # .c 1081s # .f 1081s # .e 1081s # .d 1081s # .b 1081s # .f 1081s # .e 1081s # .c 1081s # .b 1081s # .d 1081s # .e 1081s # .f 1081s # .b 1081s # .c 1081s # .d 1081s # .e 1081s # .f 1081s # .c 1081s # .b 1081s # .d 1081s # .e 1081s # .c 1081s # .f 1081s # .b 1081s # .d 1081s # .e 1081s # .f 1081s # .c 1081s # .b 1081s # .d 1081s # .d 1081s # .b 1081s # .e 1081s # .f 1081s # .c 1081s # .d 1081s # .b 1081s # .e 1081s # .d 1081s # .c 1081s # .f 1081s # .b 1081s # .e 1081s # .c 1081s # .d 1081s # .e 1081s # .f 1081s # .c 1081s # .b 1081s # .d 1081s # .e 1081s # .f 1081s # .c 1081s # .b 1081s # .d 1081s # .e 1081s # .f 1081s # .c 1081s # .f 1081s # .d 1081s # .b 1081s # .e 1081s # .f 1081s # .d 1081s # .c 1081s # .e 1081s # .b 1081s # .f 1081s # .d 1081s # .c 1081s # .b 1081s # .e 1081s # .f 1081s # .d 1082s # .c 1082s # .f 1082s # .e 1082s # .b 1082s # .d 1082s # .f 1082s # .e 1082s # .c 1082s # Executing: glib/properties-refcount1.test 1082s # .f 1082s # .b 1082s # .e 1082s # .d 1082s # .c 1082s # .f 1082s # .e 1082s # .d 1082s # .b 1082s # .f 1082s # .e 1082s # .c 1082s # .f 1082s # .e 1082s # .d 1082s # .b 1082s # .c 1082s # .f 1082s # .e 1082s # .d 1082s # .c 1082s # .b 1082s # .f 1082s # .d 1082s # .c 1082s # .e 1082s # .b 1082s # .d 1082s # .f 1082s # .c 1082s # .e 1082s # .f 1082s # .b 1082s # .d 1082s # .e 1082s # .f 1082s # .c 1082s # .f 1082s # .d 1082s # .e 1082s # .b 1082s # .c 1082s # .d 1082s # .f 1082s # .b 1082s # .e 1082s # .d 1082s # .f 1082s # .c 1082s # .e 1082s # .b 1082s # .f 1082s # .d 1082s # .e 1082s # .c 1082s # .f 1082s # .b 1082s # .e 1082s # .d 1082s # .f 1082s # .c 1082s # .b 1082s # .f 1082s # .e 1082s # .c 1082s # .d 1082s # .b 1082s # .f 1082s # .e 1082s # .c 1082s # .d 1082s # .b 1082s # .e 1082s # .f 1082s # .b 1082s # .d 1082s # .e 1082s # .c 1082s # .f 1082s # .b 1082s # .e 1082s # .d 1082s # .c 1082s # .f 1082s # .d 1082s # .e 1082s # .c 1082s # .b 1082s # .d 1082s # .c 1082s # .f 1082s # .e 1082s # .b 1082s # .d 1082s # .c 1082s # .f 1082s # .e 1082s # .b 1082s # .d 1082s # .f 1082s # .c 1082s # .f 1082s # .e 1082s # .b 1082s # .d 1082s # .c 1082s # .b 1082s # .e 1082s # .f 1082s ok 1 /gobject/refcount/properties-1 1082s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1082s # End of refcount tests 1082s # End of gobject tests 1082s ok - glib/properties-refcount1.test 1082s # Running test: glib/closure.test 1082s TAP version 14 1082s # random seed: R02S50632b50e663560a3e846eefa2ec3c61 1082s 1..6 1082s # Start of closure tests 1082s ok 1 /closure/idle 1082s ok 2 /closure/timeout 1082s ok 3 /closure/iochannel 1082s ok 4 /closure/child 1082s ok 5 /closure/fd 1082s ok 6 /closure/signal 1082s # End of closure tests 1082s ok - glib/closure.test 1082s # Running test: glib/gdbus-test-codegen-old.test 1082s TAP version 14 1082s # random seed: R02S02a6f9a8acae4a862b67d83d6d62e31d 1082s 1..8 1082s # Start of gdbus tests 1082s # Start of codegen tests 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/annotations/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/annotations/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/annotations/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/annotations/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/annotations/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/annotations/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/annotations/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/annotations/.dirs/runtime 1082s ok 1 /gdbus/codegen/annotations 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/interface_stability/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/interface_stability/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/interface_stability/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/interface_stability/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/interface_stability/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/interface_stability/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/interface_stability/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/interface_stability/.dirs/runtime 1082s ok 2 /gdbus/codegen/interface_stability 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/object-manager/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/object-manager/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/object-manager/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/object-manager/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/object-manager/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/object-manager/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/object-manager/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/object-manager/.dirs/runtime 1082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1082s ok 3 /gdbus/codegen/object-manager 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/property-naming/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/property-naming/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/property-naming/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/property-naming/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/property-naming/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/property-naming/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/property-naming/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/property-naming/.dirs/runtime 1082s ok 4 /gdbus/codegen/property-naming 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/autocleanups/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/autocleanups/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/autocleanups/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/autocleanups/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/autocleanups/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/autocleanups/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/autocleanups/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/autocleanups/.dirs/runtime 1082s ok 5 /gdbus/codegen/autocleanups 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/deprecations/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/deprecations/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/deprecations/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/deprecations/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/deprecations/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/deprecations/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/deprecations/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/deprecations/.dirs/runtime 1082s ok 6 /gdbus/codegen/deprecations 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/standalone-interface-info/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/standalone-interface-info/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/standalone-interface-info/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/standalone-interface-info/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/standalone-interface-info/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1082s ok 7 /gdbus/codegen/standalone-interface-info 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/unix-fd-list/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/unix-fd-list/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/unix-fd-list/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/unix-fd-list/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/unix-fd-list/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CV15Z2/gdbus/codegen/unix-fd-list/.dirs/runtime 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1082s ok 8 /gdbus/codegen/unix-fd-list 1082s # End of codegen tests 1082s # End of gdbus tests 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1082s ok - glib/gdbus-test-codegen-old.test 1082s # Running test: glib/strvbuilder.test 1082s TAP version 14 1082s # random seed: R02Sdec99896ed659460575c70b158cd9ea0 1082s 1..7 1082s # Start of strvbuilder tests 1082s ok 1 /strvbuilder/empty 1082s ok 2 /strvbuilder/add 1082s ok 3 /strvbuilder/addv 1082s ok 4 /strvbuilder/add_many 1082s ok 5 /strvbuilder/take 1082s ok 6 /strvbuilder/ref 1082s ok 7 /strvbuilder/unref_to_strv 1082s # End of strvbuilder tests 1082s ok - glib/strvbuilder.test 1082s # Running test: glib/hash.test 1082s TAP version 14 1082s # random seed: R02Sfc17deaeb2302f896983b6984e64cb8d 1082s 1..34 1082s # Start of hash tests 1082s ok 1 /hash/misc 1082s ok 2 /hash/one 1082s ok 3 /hash/honeyman 1082s ok 4 /hash/direct 1082s ok 5 /hash/direct2 1082s ok 6 /hash/int 1082s ok 7 /hash/int64 1082s ok 8 /hash/double 1082s ok 9 /hash/string 1082s ok 10 /hash/set 1082s ok 11 /hash/set-ref 1082s ok 12 /hash/ref 1082s ok 13 /hash/remove-all 1082s ok 14 /hash/recursive-remove-all 1082s ok 15 /hash/find 1082s ok 16 /hash/foreach 1082s ok 17 /hash/foreach-steal 1082s ok 18 /hash/steal-extended 1082s ok 19 /hash/steal-all-keys 1082s ok 20 /hash/steal-all-values 1082s ok 21 /hash/lookup-extended 1082s ok 22 /hash/new-similar 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1082s ok 23 /hash/lookup-null-key 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1082s ok 24 /hash/destroy-modify 1082s ok 25 /hash/consistency 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1082s ok 26 /hash/iter-replace 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1082s ok 27 /hash/set-insert-corruption 1082s ok 28 /hash/set-to-strv 1082s ok 29 /hash/get-keys-as-ptr-array 1082s ok 30 /hash/get-values-as-ptr-array 1082s ok 31 /hash/primes 1082s # Start of int64 tests 1082s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1082s ok 32 /hash/int64/collisions 1082s # End of int64 tests 1082s # Start of double tests 1082s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1082s ok 33 /hash/double/collisions 1082s # End of double tests 1082s # Start of recursive-remove-all tests 1082s # End of recursive-remove-all tests 1082s # Start of steal-extended tests 1082s ok 34 /hash/steal-extended/optional 1082s # End of steal-extended tests 1082s # End of hash tests 1082s ok - glib/hash.test 1082s # Running test: glib/messages-low-memory.py.test 1082s TAP version 13 1082s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1082s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1082s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1082s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1082s # Return code: -6 1082s # Output: 1082s # Error: GLib-Message: 20:06:39.871: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1082s # GLib-Message: 20:06:39.871: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1082s # ../../../glib/gprintf.c:350: failed to allocate memory 1082s 1..1 1082s ok - glib/messages-low-memory.py.test 1082s # Running test: glib/gdbus-connection-flush.test 1082s TAP version 14 1082s # random seed: R02S0567e9f57c9debd244fc217ced8ea3a4 1082s 1..2 1082s # Start of gdbus tests 1082s # Start of connection tests 1082s # Start of flush tests 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/busy/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/busy/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/busy/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/busy/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/busy/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/busy/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/busy/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/busy/.dirs/runtime 1082s ok 1 /gdbus/connection/flush/busy 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/idle/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/idle/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/idle/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/idle/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/idle/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/idle/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/idle/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_2A8E02/gdbus/connection/flush/idle/.dirs/runtime 1082s ok 2 /gdbus/connection/flush/idle 1082s # End of flush tests 1082s # End of connection tests 1082s # End of gdbus tests 1082s ok - glib/gdbus-connection-flush.test 1082s # Running test: glib/singleton.test 1082s TAP version 14 1082s # random seed: R02S273c02af5d9a600dfb4fb25963550711 1082s 1..2 1082s # Start of gobject tests 1082s # Start of singleton tests 1082s ok 1 /gobject/singleton/construction 1082s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1082s ok 2 /gobject/singleton/construct-property 1082s # End of singleton tests 1082s # End of gobject tests 1082s ok - glib/singleton.test 1082s # Running test: glib/utf8-misc.test 1082s TAP version 14 1082s # random seed: R02S688f0a6c91771c576bd1f57cb1291910 1082s 1..7 1082s # Start of utf8 tests 1082s ok 1 /utf8/strlen 1082s ok 2 /utf8/strncpy 1082s ok 3 /utf8/strrchr 1082s ok 4 /utf8/reverse 1082s ok 5 /utf8/substring 1082s ok 6 /utf8/make-valid 1082s ok 7 /utf8/truncate-middle 1082s # End of utf8 tests 1082s ok - glib/utf8-misc.test 1082s # Running test: glib/bindinggroup.test 1082s TAP version 14 1082s # random seed: R02Sade8a5a292530231dff38cd5564506ea 1082s 1..11 1082s # Start of GObject tests 1082s # Start of BindingGroup tests 1082s ok 1 /GObject/BindingGroup/invalid 1082s ok 2 /GObject/BindingGroup/default 1082s ok 3 /GObject/BindingGroup/bidirectional 1082s ok 4 /GObject/BindingGroup/transform 1082s ok 5 /GObject/BindingGroup/transform-closures 1082s ok 6 /GObject/BindingGroup/same-object 1082s ok 7 /GObject/BindingGroup/weak-ref-source 1082s ok 8 /GObject/BindingGroup/weak-ref-target 1082s ok 9 /GObject/BindingGroup/properties 1082s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1082s ok 11 /GObject/BindingGroup/empty-closures 1082s # End of BindingGroup tests 1082s # End of GObject tests 1082s ok - glib/bindinggroup.test 1082s # Running test: glib/credentials.test 1082s TAP version 14 1082s # random seed: R02Se8dddb3e72e21faae5c5fd4ce0b6a318 1082s 1..1 1082s # Start of credentials tests 1082s # GCredentials:linux-ucred:pid=7571,uid=1000,gid=1000 1082s # GCredentials:linux-ucred:pid=7571,uid=0,gid=1000 1082s ok 1 /credentials/basic 1082s # End of credentials tests 1082s ok - glib/credentials.test 1082s # Running test: glib/thumbnail-verification.test 1082s TAP version 14 1082s # random seed: R02S2e940f6d7ffb8b2c3be9a93233da381a 1082s 1..1 1082s # Start of png-thumbs tests 1082s ok 1 /png-thumbs/validity 1082s # End of png-thumbs tests 1082s ok - glib/thumbnail-verification.test 1082s # Running test: glib/tls-database.test 1082s TAP version 14 1082s # random seed: R02S9c13b05fcb8d92daa4bc80e3c92c13d2 1082s 1..1 1082s # Start of tls-backend tests 1082s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1082s ok 1 /tls-backend/set-default-database 1082s # End of tls-backend tests 1082s ok - glib/tls-database.test 1082s # Running test: glib/pathbuf.test 1082s TAP version 14 1082s # random seed: R02S2ced769e61cfe329cb9ed6081ea84f8b 1082s 1..3 1082s # Start of pathbuf tests 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_BLWA02/pathbuf/init/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/init/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_BLWA02/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_BLWA02/pathbuf/init/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/init/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_BLWA02/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_BLWA02/pathbuf/init/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/init/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/init/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_BLWA02/pathbuf/init/.dirs/runtime 1082s # Initializing empty path buf 1082s # Initializing with empty path 1082s # Initializing with full path 1082s # Initializing with no path 1082s # Allocating GPathBuf on the heap 1082s ok 1 /pathbuf/init 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_BLWA02/pathbuf/push-pop/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/push-pop/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_BLWA02/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_BLWA02/pathbuf/push-pop/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/push-pop/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_BLWA02/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_BLWA02/pathbuf/push-pop/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/push-pop/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/push-pop/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_BLWA02/pathbuf/push-pop/.dirs/runtime 1082s # Pushing relative path component 1082s # Pushing absolute path component 1082s # Popping a path component 1082s # Can't pop the last element of a path buffer 1082s ok 2 /pathbuf/push-pop 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_BLWA02/pathbuf/filename-extension/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/filename-extension/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_BLWA02/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_BLWA02/pathbuf/filename-extension/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/filename-extension/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_BLWA02/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_BLWA02/pathbuf/filename-extension/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/filename-extension/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_BLWA02/pathbuf/filename-extension/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_BLWA02/pathbuf/filename-extension/.dirs/runtime 1082s ok 3 /pathbuf/filename-extension 1082s # End of pathbuf tests 1082s ok - glib/pathbuf.test 1082s # Running test: glib/gdbus-exit-on-close.test 1082s TAP version 14 1082s # random seed: R02S056394a06cce2edea63961f5a4458654 1082s 1..4 1082s # Start of gdbus tests 1082s # Start of exit-on-close tests 1082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/default/.dirs/home 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/default/.dirs/cache 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/default/.dirs/system-config2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/default/.dirs/config 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/default/.dirs/system-data2 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/default/.dirs/data 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/default/.dirs/state 1082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/default/.dirs/runtime 1083s ok 1 /gdbus/exit-on-close/default 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/true/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/true/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/true/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/true/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/true/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/true/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/true/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/true/.dirs/runtime 1083s ok 2 /gdbus/exit-on-close/true 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/false/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/false/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/false/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/false/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/false/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/false/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/false/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/false/.dirs/runtime 1083s ok 3 /gdbus/exit-on-close/false 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/we-close/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/we-close/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/we-close/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/we-close/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/we-close/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/we-close/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/we-close/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_VAUA02/gdbus/exit-on-close/we-close/.dirs/runtime 1083s ok 4 /gdbus/exit-on-close/we-close 1083s # Start of default tests 1083s # End of default tests 1083s # Start of true tests 1083s # End of true tests 1083s # Start of false tests 1083s # End of false tests 1083s # Start of we-close tests 1083s # End of we-close tests 1083s # End of exit-on-close tests 1083s # End of gdbus tests 1083s ok - glib/gdbus-exit-on-close.test 1083s # Running test: glib/utils-c-17.test 1083s TAP version 14 1083s # random seed: R02Sbdca902db24c1f40899de654bd9b495b 1083s 1..40 1083s # Start of utils tests 1083s ok 1 /utils/language-names 1083s ok 2 /utils/locale-variants 1083s ok 3 /utils/version 1083s ok 4 /utils/appname 1083s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1083s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1083s ok 5 /utils/prgname-thread-safety 1083s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1083s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1083s ok 6 /utils/tmpdir 1083s ok 7 /utils/basic_bits 1083s ok 8 /utils/bits 1083s ok 9 /utils/swap 1083s ok 10 /utils/find-program 1083s ok 11 /utils/find-program-for-path 1083s ok 12 /utils/debug 1083s ok 13 /utils/codeset 1083s ok 14 /utils/codeset2 1083s ok 15 /utils/console-charset 1083s ok 16 /utils/gettext 1083s ok 17 /utils/username 1083s ok 18 /utils/realname 1083s ok 19 /utils/hostname 1083s ok 20 /utils/xdgdirs 1083s ok 21 /utils/specialdir 1083s # NAME: Ubuntu 1083s ok 22 /utils/os-info 1083s ok 23 /utils/clear-pointer 1083s ok 24 /utils/clear-pointer-cast 1083s ok 25 /utils/take-pointer 1083s ok 26 /utils/clear-source 1083s ok 27 /utils/misc-mem 1083s # /utils/aligned-mem summary: Aligned memory allocator 1083s # Alignment must not be zero 1083s # Alignment must be a power of two 1083s # Alignment must be a multiple of sizeof(void*) 1083s ok 28 /utils/aligned-mem 1083s # /utils/free-sized summary: Check that g_free_sized() works 1083s ok 29 /utils/free-sized 1083s ok 30 /utils/nullify 1083s ok 31 /utils/atexit 1083s ok 32 /utils/check-setuid 1083s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1083s ok 33 /utils/int-limits 1083s ok 34 /utils/clear-list 1083s ok 35 /utils/clear-slist 1083s # Start of specialdir tests 1083s ok 36 /utils/specialdir/desktop 1083s # End of specialdir tests 1083s # Start of clear-pointer tests 1083s ok 37 /utils/clear-pointer/side-effects 1083s # End of clear-pointer tests 1083s # Start of aligned-mem tests 1083s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1083s ok 38 /utils/aligned-mem/alignment 1083s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1083s ok 39 /utils/aligned-mem/zeroed 1083s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1083s ok 40 /utils/aligned-mem/free-sized 1083s # Start of subprocess tests 1083s # End of subprocess tests 1083s # End of aligned-mem tests 1083s # End of utils tests 1083s ok - glib/utils-c-17.test 1083s # Running test: glib/timeout.test 1083s TAP version 14 1083s # random seed: R02S1c81912f6d2daab96955ead8af2a7973 1083s 1..5 1083s # Start of timeout tests 1083s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1085s ok 1 /timeout/seconds 1085s # slow test /timeout/seconds executed in 2.10 secs 1087s # Executing: glib/timeout.test 1087s ok 2 /timeout/seconds-once 1087s # slow test /timeout/seconds-once executed in 2.10 secs 1087s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1089s ok 3 /timeout/weeks-overflow 1089s # slow test /timeout/weeks-overflow executed in 2.10 secs 1089s ok 4 /timeout/far-future-ready-time 1092s # Executing: glib/timeout.test 1097s # Executing: glib/timeout.test 1100s ok 5 /timeout/rounding 1100s # slow test /timeout/rounding executed in 10.52 secs 1100s # End of timeout tests 1100s ok - glib/timeout.test 1100s # Running test: glib/gdbus-test-codegen.test 1100s TAP version 14 1100s # random seed: R02S658d869f3eef9950402851672d415f0e 1100s 1..8 1100s # Start of gdbus tests 1100s # Start of codegen tests 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/annotations/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/annotations/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/annotations/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/annotations/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/annotations/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/annotations/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/annotations/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/annotations/.dirs/runtime 1100s ok 1 /gdbus/codegen/annotations 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/interface_stability/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/interface_stability/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/interface_stability/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/interface_stability/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/interface_stability/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/interface_stability/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/interface_stability/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/interface_stability/.dirs/runtime 1100s ok 2 /gdbus/codegen/interface_stability 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/object-manager/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/object-manager/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/object-manager/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/object-manager/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/object-manager/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/object-manager/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/object-manager/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/object-manager/.dirs/runtime 1100s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1100s ok 3 /gdbus/codegen/object-manager 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/property-naming/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/property-naming/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/property-naming/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/property-naming/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/property-naming/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/property-naming/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/property-naming/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/property-naming/.dirs/runtime 1100s ok 4 /gdbus/codegen/property-naming 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/autocleanups/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/autocleanups/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/autocleanups/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/autocleanups/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/autocleanups/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/autocleanups/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/autocleanups/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/autocleanups/.dirs/runtime 1100s ok 5 /gdbus/codegen/autocleanups 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/deprecations/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/deprecations/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/deprecations/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/deprecations/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/deprecations/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/deprecations/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/deprecations/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/deprecations/.dirs/runtime 1100s ok 6 /gdbus/codegen/deprecations 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/standalone-interface-info/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/standalone-interface-info/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/standalone-interface-info/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/standalone-interface-info/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/standalone-interface-info/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/standalone-interface-info/.dirs/runtime 1100s ok 7 /gdbus/codegen/standalone-interface-info 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/unix-fd-list/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/unix-fd-list/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/unix-fd-list/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/unix-fd-list/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/unix-fd-list/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/unix-fd-list/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/unix-fd-list/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_3V7J02/gdbus/codegen/unix-fd-list/.dirs/runtime 1100s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1100s ok 8 /gdbus/codegen/unix-fd-list 1100s # End of codegen tests 1100s # End of gdbus tests 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s ok - glib/gdbus-test-codegen.test 1100s # Running test: glib/qdata.test 1100s TAP version 14 1100s # random seed: R02S9beed69af2242bfe299343266f612781 1100s 1..2 1100s # Start of qdata tests 1100s ok 1 /qdata/threaded 1100s ok 2 /qdata/dup 1100s # End of qdata tests 1100s ok - glib/qdata.test 1100s # Running test: glib/param.test 1100s TAP version 14 1100s # random seed: R02Sd644204d92bbec882ebd61b21143fc1a 1100s 1..32 1100s # Start of param tests 1100s ok 1 /param/value 1100s ok 2 /param/strings 1100s ok 3 /param/qdata 1100s ok 4 /param/validate 1100s ok 5 /param/convert 1100s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1100s ok 7 /param/default 1100s ok 8 /param/is-valid-name 1100s # Start of invalid-name tests 1100s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1100s ok 9 /param/invalid-name/colon 1100s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1100s ok 10 /param/invalid-name/first-char 1100s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1100s ok 11 /param/invalid-name/empty 1100s # End of invalid-name tests 1100s # Start of implement tests 1100s # Start of subprocess tests 1100s # End of subprocess tests 1100s # End of implement tests 1100s # End of param tests 1100s # Start of value tests 1100s ok 12 /value/transform 1100s # End of value tests 1100s # Start of paramspec tests 1100s ok 13 /paramspec/char 1100s ok 14 /paramspec/uchar 1100s ok 15 /paramspec/int 1100s ok 16 /paramspec/uint 1100s ok 17 /paramspec/long 1100s ok 18 /paramspec/ulong 1100s ok 19 /paramspec/int64 1100s ok 20 /paramspec/uint64 1100s ok 21 /paramspec/float 1100s ok 22 /paramspec/double 1100s ok 23 /paramspec/unichar 1100s ok 24 /paramspec/param 1100s ok 25 /paramspec/null-param 1100s ok 26 /paramspec/string 1100s ok 27 /paramspec/override 1100s ok 28 /paramspec/gtype 1100s ok 29 /paramspec/variant 1100s ok 30 /paramspec/custom 1100s ok 31 /paramspec/pool 1100s # Start of variant tests 1100s ok 32 /paramspec/variant/cmp 1100s # End of variant tests 1100s # End of paramspec tests 1100s ok - glib/param.test 1100s # Running test: glib/testing.test 1100s TAP version 14 1100s # random seed: R02S5ed8f39521779ecebc73486c9d214ed7 1100s 1..1 1100s # Start of assert tests 1100s ok 1 /assert/finalize_object 1100s # Start of finalize_object tests 1100s # Start of subprocess tests 1100s # End of subprocess tests 1100s # End of finalize_object tests 1100s # End of assert tests 1100s ok - glib/testing.test 1100s # Running test: glib/asyncqueue.test 1100s TAP version 14 1100s # random seed: R02S7b4c82614e31ba0a7ff7aab9532bad2f 1100s 1..7 1100s # Start of asyncqueue tests 1100s ok 1 /asyncqueue/basics 1100s ok 2 /asyncqueue/sort 1100s ok 3 /asyncqueue/destroy 1100s ok 4 /asyncqueue/threads 1100s ok 5 /asyncqueue/timed 1100s ok 6 /asyncqueue/remove 1100s ok 7 /asyncqueue/push_front 1100s # End of asyncqueue tests 1100s ok - glib/asyncqueue.test 1100s # Running test: glib/hmac.test 1100s TAP version 14 1100s # random seed: R02S740f6d09ab60e4571c5950fb2ffadb2c 1100s 1..37 1100s # Start of hmac tests 1100s ok 1 /hmac/sha1-1 1100s ok 2 /hmac/sha1-2 1100s ok 3 /hmac/sha1-3 1100s ok 4 /hmac/sha1-4 1100s ok 5 /hmac/sha1-5 1100s ok 6 /hmac/sha1-6 1100s ok 7 /hmac/sha1-7 1100s ok 8 /hmac/sha256-1 1100s ok 9 /hmac/sha256-2 1100s ok 10 /hmac/sha256-3 1100s ok 11 /hmac/sha256-4 1100s ok 12 /hmac/sha256-5 1100s ok 13 /hmac/sha256-6 1100s ok 14 /hmac/sha384-1 1100s ok 15 /hmac/sha384-2 1100s ok 16 /hmac/sha384-3 1100s ok 17 /hmac/sha384-4 1100s ok 18 /hmac/sha384-5 1100s ok 19 /hmac/sha384-6 1100s ok 20 /hmac/sha512-1 1100s ok 21 /hmac/sha512-2 1100s ok 22 /hmac/sha512-3 1100s ok 23 /hmac/sha512-4 1100s ok 24 /hmac/sha512-5 1100s ok 25 /hmac/sha512-6 1100s ok 26 /hmac/md5-1 1100s ok 27 /hmac/md5-2 1100s ok 28 /hmac/md5-3 1100s ok 29 /hmac/md5-4 1100s ok 30 /hmac/md5-5 1100s ok 31 /hmac/md5-6 1100s ok 32 /hmac/md5-7 1100s ok 33 /hmac/ref-unref 1100s ok 34 /hmac/copy 1100s ok 35 /hmac/for-data 1100s ok 36 /hmac/for-string 1100s ok 37 /hmac/for-bytes 1100s # End of hmac tests 1100s ok - glib/hmac.test 1100s # Running test: glib/basics-gobject.test 1100s TAP version 14 1100s # random seed: R02S1d33bb5690aaeb1ebdc3f6194d84ee52 1100s 1..1 1100s # Start of gobject tests 1100s # private data during initialization: 54321 == 54321 1100s # MAIN: emit test-signal: 1100s # ::test_signal default_handler called 1100s # ::test_signal default_handler called 1100s # ::test_signal default_handler called 1100s # signal return: "" 1100s # MAIN: call iface print-string on test and derived object: 1100s # Iface-FOO: "iface-string-from-test-type" from 0x59663c9427a0 1100s # Iface-BAR: "iface-string-from-derived-type" from 0x59663c9426c0 1100s # chaining: 1100s # Iface-FOO: "iface-string-from-derived-type" from 0x59663c9426c0 1100s # private data after initialization: 54321 == 54321 1100s ok 1 /gobject/basics 1100s # End of gobject tests 1100s ok - glib/basics-gobject.test 1100s # Running test: glib/gdbus-address-get-session.test 1100s TAP version 14 1100s # random seed: R02S952e1860b8f234705cde6f48a2889062 1100s 1..2 1100s # Start of gdbus tests 1100s ok 1 /gdbus/x11-autolaunch 1100s ok 2 /gdbus/xdg-runtime 1100s # End of gdbus tests 1100s ok - glib/gdbus-address-get-session.test 1100s # Running test: glib/utils-c-99.test 1100s TAP version 14 1100s # random seed: R02Sf9d0dbf9d39af73bb95694ab6c4d9cf3 1100s 1..40 1100s # Start of utils tests 1100s ok 1 /utils/language-names 1100s ok 2 /utils/locale-variants 1100s ok 3 /utils/version 1100s ok 4 /utils/appname 1100s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1100s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1100s ok 5 /utils/prgname-thread-safety 1100s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1100s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1100s ok 6 /utils/tmpdir 1100s ok 7 /utils/basic_bits 1100s ok 8 /utils/bits 1100s ok 9 /utils/swap 1100s ok 10 /utils/find-program 1100s ok 11 /utils/find-program-for-path 1100s ok 12 /utils/debug 1100s ok 13 /utils/codeset 1100s ok 14 /utils/codeset2 1100s ok 15 /utils/console-charset 1100s ok 16 /utils/gettext 1100s ok 17 /utils/username 1100s ok 18 /utils/realname 1100s ok 19 /utils/hostname 1100s ok 20 /utils/xdgdirs 1100s ok 21 /utils/specialdir 1100s # NAME: Ubuntu 1100s ok 22 /utils/os-info 1100s ok 23 /utils/clear-pointer 1100s ok 24 /utils/clear-pointer-cast 1100s ok 25 /utils/take-pointer 1100s ok 26 /utils/clear-source 1100s ok 27 /utils/misc-mem 1100s # /utils/aligned-mem summary: Aligned memory allocator 1100s # Alignment must not be zero 1100s # Alignment must be a power of two 1100s # Alignment must be a multiple of sizeof(void*) 1100s ok 28 /utils/aligned-mem 1100s # /utils/free-sized summary: Check that g_free_sized() works 1100s ok 29 /utils/free-sized 1100s ok 30 /utils/nullify 1100s ok 31 /utils/atexit 1100s ok 32 /utils/check-setuid 1100s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1100s ok 33 /utils/int-limits 1100s ok 34 /utils/clear-list 1100s ok 35 /utils/clear-slist 1100s # Start of specialdir tests 1100s ok 36 /utils/specialdir/desktop 1100s # End of specialdir tests 1100s # Start of clear-pointer tests 1100s ok 37 /utils/clear-pointer/side-effects 1100s # End of clear-pointer tests 1100s # Start of aligned-mem tests 1100s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1100s ok 38 /utils/aligned-mem/alignment 1100s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1100s ok 39 /utils/aligned-mem/zeroed 1100s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1100s ok 40 /utils/aligned-mem/free-sized 1100s # Start of subprocess tests 1100s # End of subprocess tests 1100s # End of aligned-mem tests 1100s # End of utils tests 1100s ok - glib/utils-c-99.test 1100s # Running test: glib/utils.test 1100s TAP version 14 1100s # random seed: R02Sbb543e8e5fe038112b3733d4a3ef6cbc 1100s 1..40 1100s # Start of utils tests 1100s ok 1 /utils/language-names 1100s ok 2 /utils/locale-variants 1100s ok 3 /utils/version 1100s ok 4 /utils/appname 1100s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1100s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1100s ok 5 /utils/prgname-thread-safety 1100s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1100s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1100s ok 6 /utils/tmpdir 1100s ok 7 /utils/basic_bits 1100s ok 8 /utils/bits 1100s ok 9 /utils/swap 1100s ok 10 /utils/find-program 1100s ok 11 /utils/find-program-for-path 1100s ok 12 /utils/debug 1100s ok 13 /utils/codeset 1100s ok 14 /utils/codeset2 1100s ok 15 /utils/console-charset 1100s ok 16 /utils/gettext 1100s ok 17 /utils/username 1100s ok 18 /utils/realname 1100s ok 19 /utils/hostname 1100s ok 20 /utils/xdgdirs 1100s ok 21 /utils/specialdir 1100s # NAME: Ubuntu 1100s ok 22 /utils/os-info 1100s ok 23 /utils/clear-pointer 1100s ok 24 /utils/clear-pointer-cast 1100s ok 25 /utils/take-pointer 1100s ok 26 /utils/clear-source 1100s ok 27 /utils/misc-mem 1100s # /utils/aligned-mem summary: Aligned memory allocator 1100s # Alignment must not be zero 1100s # Alignment must be a power of two 1100s # Alignment must be a multiple of sizeof(void*) 1100s ok 28 /utils/aligned-mem 1100s # /utils/free-sized summary: Check that g_free_sized() works 1100s ok 29 /utils/free-sized 1100s ok 30 /utils/nullify 1100s ok 31 /utils/atexit 1100s ok 32 /utils/check-setuid 1100s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1100s ok 33 /utils/int-limits 1100s ok 34 /utils/clear-list 1100s ok 35 /utils/clear-slist 1100s # Start of specialdir tests 1100s ok 36 /utils/specialdir/desktop 1100s # End of specialdir tests 1100s # Start of clear-pointer tests 1100s ok 37 /utils/clear-pointer/side-effects 1100s # End of clear-pointer tests 1100s # Start of aligned-mem tests 1100s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1100s ok 38 /utils/aligned-mem/alignment 1100s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1100s ok 39 /utils/aligned-mem/zeroed 1100s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1100s ok 40 /utils/aligned-mem/free-sized 1100s # Start of subprocess tests 1100s # End of subprocess tests 1100s # End of aligned-mem tests 1100s # End of utils tests 1100s ok - glib/utils.test 1100s # Running test: glib/buffered-output-stream.test 1100s TAP version 14 1100s # random seed: R02S7a9f0cc7f832c1ab5ea2fec6182d761a 1100s 1..5 1100s # Start of buffered-output-stream tests 1100s ok 1 /buffered-output-stream/write 1100s ok 2 /buffered-output-stream/grow 1100s ok 3 /buffered-output-stream/seek 1100s ok 4 /buffered-output-stream/truncate 1100s # End of buffered-output-stream tests 1100s # Start of filter-output-stream tests 1100s ok 5 /filter-output-stream/close 1100s # End of filter-output-stream tests 1100s ok - glib/buffered-output-stream.test 1100s # Running test: glib/performance-threaded.test 1100s Running test "liststore-is-a" 1101s 29777 runs, min/avg/max = 0.030/0.033/0.390 ms 1101s Running test "liststore-interface-peek" 1102s # Executing: glib/performance-threaded.test 1102s 45641 runs, min/avg/max = 0.020/0.022/0.706 ms 1102s Running test "liststore-interface-peek-same" 1103s 46014 runs, min/avg/max = 0.020/0.022/0.284 ms 1103s ok - glib/performance-threaded.test 1103s # Running test: glib/markup.test 1103s TAP version 14 1103s # random seed: R02S3fbf275e40c84697af33ed5ad30da528 1103s 1..1 1103s # Start of markup tests 1103s ok 1 /markup/stack 1103s # End of markup tests 1103s ok - glib/markup.test 1103s # Running test: glib/stream-rw_all.test 1103s TAP version 14 1103s # random seed: R02S82fac95fc88b644b5a3b99dc7cc45457 1103s 1..3 1103s # Start of stream tests 1103s # Start of read_all_async tests 1103s ok 1 /stream/read_all_async/memory 1103s # End of read_all_async tests 1103s # Start of write_all_async tests 1103s ok 2 /stream/write_all_async/memory 1103s # End of write_all_async tests 1103s # Start of read_write_all_async tests 1103s ok 3 /stream/read_write_all_async/pipe 1103s # End of read_write_all_async tests 1103s # End of stream tests 1104s ok - glib/stream-rw_all.test 1104s # Running test: glib/gio-tool.py.test 1104s TAP version 13 1104s ok 1 __main__.TestGioTool.test_help 1104s # tmpdir: /tmp/tmpuwhdx9ln 1104s # gio: /usr/bin/gio 1104s # Running: ['/usr/bin/gio', '--help'] 1104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1104s # Output: Usage: 1104s # gio COMMAND [ARGS…] 1104s # 1104s # Commands: 1104s # help Print help 1104s # version Print version 1104s # cat Concatenate files to standard output 1104s # copy Copy one or more files 1104s # info Show information about locations 1104s # launch Launch an application from a desktop file 1104s # list List the contents of locations 1104s # mime Get or set the handler for a mimetype 1104s # mkdir Create directories 1104s # monitor Monitor files and directories for changes 1104s # mount Mount or unmount the locations 1104s # move Move one or more files 1104s # open Open files with the default application 1104s # rename Rename a file 1104s # remove Delete one or more files 1104s # save Read from standard input and save 1104s # set Set a file attribute 1104s # trash Move files or directories to the trash 1104s # tree Lists the contents of locations in a tree 1104s # 1104s # Use “gio help COMMAND†to get detailed help. 1104s # Running: ['/usr/bin/gio', 'help'] 1104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1104s # Output: Usage: 1104s # gio COMMAND [ARGS…] 1104s # 1104s # Commands: 1104s # help Print help 1104s # version Print version 1104s # cat Concatenate files to standard output 1104s # copy Copy one or more files 1104s # info Show information about locations 1104s # launch Launch an application from a desktop file 1104s # list List the contents of locations 1104s # mime Get or set the handler for a mimetype 1104s # mkdir Create directories 1104s # monitor Monitor files and directories for changes 1104s # mount Mount or unmount the locations 1104s # move Move one or more files 1104s # open Open files with the default application 1104s # rename Rename a file 1104s # remove Delete one or more files 1104s # save Read from standard input and save 1104s # set Set a file attribute 1104s # trash Move files or directories to the trash 1104s # tree Lists the contents of locations in a tree 1104s # 1104s # Use “gio help COMMAND†to get detailed help. 1104s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1104s # tmpdir: /tmp/tmp0a2xs1ct 1104s # gio: /usr/bin/gio 1104s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp0a2xs1ct/tmppm65idof'] 1104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1104s # Output: uri: file:///tmp/tmp0a2xs1ct/tmppm65idof 1104s # local path: /tmp/tmp0a2xs1ct/tmppm65idof 1104s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1104s # attributes: 1104s # standard::content-type: application/x-zerosize 1104s ok 3 __main__.TestGioTool.test_no_args 1104s # tmpdir: /tmp/tmp6hamla8b 1104s # gio: /usr/bin/gio 1104s # Running: ['/usr/bin/gio'] 1104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1104s 1..3 1104s ok - glib/gio-tool.py.test 1104s # Running test: glib/signal-handler.test 1104s TAP version 14 1104s # random seed: R02S9dd7ed677f23b07e391cc4840b049c59 1104s 1..7 1104s # Start of signal tests 1104s # Start of handler tests 1104s # min perf: connected 1 handlers in 0.000 seconds 1104s ok 1 /signal/handler/connect-many 1104s # min perf: disconnected 1 handlers in 0.000 seconds 1104s ok 2 /signal/handler/disconnect-many-ordered 1104s # min perf: disconnected 1 handlers in 0.000 seconds 1104s ok 3 /signal/handler/disconnect-many-inverse 1104s # min perf: disconnected 1 handlers in 0.000 seconds 1104s ok 4 /signal/handler/disconnect-many-random 1104s # min perf: disconnected 1 handlers in 0.000 seconds 1104s ok 5 /signal/handler/disconnect-2-signals 1104s # min perf: disconnected 1 handlers in 0.000 seconds 1104s ok 6 /signal/handler/disconnect-2-objects 1104s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1104s ok 7 /signal/handler/block-many 1104s # End of handler tests 1104s # End of signal tests 1104s ok - glib/signal-handler.test 1104s # Running test: glib/mimeapps.test 1104s TAP version 14 1104s # random seed: R02S7379235f3924cec9b0b233dc91e99790 1104s 1..7 1104s # Start of appinfo tests 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/runtime 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/system-data1/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/data/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/data/applications/myapp.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/data/applications/myapp2.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/data/applications/myapp3.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/data/applications/myapp4.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/data/applications/myapp5.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1104s # removing '/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/data/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1104s ok 1 /appinfo/all 1104s # Start of mime tests 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/runtime 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/system-data1/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/data/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1104s # removing '/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/config 1104s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5J6I02/appinfo/all/.dirs/config to /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/config 1104s ok 2 /appinfo/mime/api 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/runtime 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/system-data1/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/data/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1104s # removing '/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/config 1104s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5J6I02/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/config 1104s ok 3 /appinfo/mime/default 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/runtime 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/system-data1/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/data/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1104s # removing '/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/config 1104s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5J6I02/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/config 1104s ok 4 /appinfo/mime/file 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/runtime 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/data/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1104s # removing '/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1104s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5J6I02/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/config 1104s ok 5 /appinfo/mime/scheme-handler 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/runtime 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/data/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1104s # removing '/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/config 1104s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5J6I02/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/config 1104s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/config 1104s ok 6 /appinfo/mime/default-last-used 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/runtime 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1104s # removing '/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1104s # creating '/tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1104s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5J6I02/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_5J6I02/appinfo/mime/ignore-nonexisting/.dirs/config 1104s ok 7 /appinfo/mime/ignore-nonexisting 1104s # End of mime tests 1104s # End of appinfo tests 1104s ok - glib/mimeapps.test 1104s # Running test: glib/once.test 1104s TAP version 14 1104s # random seed: R02S7bd8a22b26fb9eecd40104a0e594c705 1104s 1..5 1104s # Start of once tests 1104s # /once/single-threaded summary: Test g_once() usage from a single thread 1104s ok 1 /once/single-threaded 1104s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1104s ok 2 /once/multi-threaded 1104s # End of once tests 1104s # Start of once-init tests 1104s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1104s ok 3 /once-init/single-threaded 1104s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1104s ok 4 /once-init/multi-threaded 1104s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1104s ok 5 /once-init/string 1104s # End of once-init tests 1104s ok - glib/once.test 1104s # Running test: glib/simple-async-result.test 1104s TAP version 14 1104s # random seed: R02S58a28ceb9a1f6e4596d7869609eb49d6 1104s 1..2 1104s # Start of gio tests 1104s # Start of simple-async-result tests 1104s ok 1 /gio/simple-async-result/test 1104s # GLib-GIO-DEBUG: GTask 0x55f554ffa720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1104s ok 2 /gio/simple-async-result/valid 1104s # End of simple-async-result tests 1104s # End of gio tests 1104s ok - glib/simple-async-result.test 1104s # Running test: glib/gdbus-introspection.test 1104s TAP version 14 1104s # random seed: R02Sf069d5c4d3e082b0163bc8de7afa6d0f 1104s 1..4 1104s # Start of gdbus tests 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-parser/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-parser/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-parser/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-parser/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-parser/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-parser/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-parser/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-parser/.dirs/runtime 1104s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1104s ok 1 /gdbus/introspection-parser 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-generate/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-generate/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-generate/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-generate/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-generate/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-generate/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-generate/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-generate/.dirs/runtime 1104s ok 2 /gdbus/introspection-generate 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-default-direction/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-default-direction/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-default-direction/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-default-direction/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-default-direction/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-default-direction/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-default-direction/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-default-direction/.dirs/runtime 1104s ok 3 /gdbus/introspection-default-direction 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-extra-data/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-extra-data/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-extra-data/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-extra-data/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-extra-data/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-extra-data/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-extra-data/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_JLWK02/gdbus/introspection-extra-data/.dirs/runtime 1104s ok 4 /gdbus/introspection-extra-data 1104s # End of gdbus tests 1104s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1104s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1104s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1104s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1104s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1104s ok - glib/gdbus-introspection.test 1104s # Running test: glib/objects-refcount2.test 1104s TAP version 14 1104s # random seed: R02S7a95896da28c43a4d474a5b15f54a6ae 1104s 1..1 1104s # Start of gobject tests 1104s # Start of refcount tests 1104s # init 0x57f850805740 1104s # 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1104s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1105s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # . 1106s # dispose 0x57f850805740! 1106s # 1106s ok 1 /gobject/refcount/object-advanced 1106s # slow test /gobject/refcount/object-advanced executed in 2.13 secs 1106s # End of refcount tests 1106s # End of gobject tests 1106s ok - glib/objects-refcount2.test 1106s # Running test: glib/genmarshal.py.test 1106s TAP version 13 1106s ok 1 __main__.TestGenmarshal.test_empty_list 1106s # tmpdir: /tmp/tmp23_9offq 1106s # genmarshal: /usr/bin/glib-genmarshal 1106s # /tmp/tmp23_9offq/tmpywet97qs.list: 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp23_9offq/tmpywet97qs.list', '--header', '--quiet'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # 1106s # #include 1106s # 1106s # G_BEGIN_DECLS 1106s # 1106s # 1106s # G_END_DECLS 1106s # 1106s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp23_9offq/tmpywet97qs.list', '--body', '--quiet'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #include 1106s # 1106s # #ifdef G_ENABLE_DEBUG 1106s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1106s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1106s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1106s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1106s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1106s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1106s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1106s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1106s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1106s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1106s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1106s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1106s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1106s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1106s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1106s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1106s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1106s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1106s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1106s # #else /* !G_ENABLE_DEBUG */ 1106s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1106s # * Do not access GValues directly in your code. Instead, use the 1106s # * g_value_get_*() functions 1106s # */ 1106s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1106s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1106s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1106s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1106s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1106s # #endif /* !G_ENABLE_DEBUG */ 1106s ok 2 __main__.TestGenmarshal.test_help 1106s # tmpdir: /tmp/tmpf_unxneu 1106s # genmarshal: /usr/bin/glib-genmarshal 1106s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1106s # [--internal] [--valist-marshallers] [-v] 1106s # [--g-fatal-warnings] [--include-header [HEADER]] 1106s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1106s # [--prototypes] [--header] [--body] 1106s # [--stdinc | --nostdinc] [--quiet | --verbose] 1106s # [FILE ...] 1106s # 1106s # Generate signal marshallers for GObject 1106s # 1106s # positional arguments: 1106s # FILE Files with lists of marshallers to generate, or "-" 1106s # for standard input 1106s # 1106s # options: 1106s # -h, --help show this help message and exit 1106s # --prefix STRING Specify marshaller prefix 1106s # --output FILE Write output into the specified file 1106s # --skip-source Skip source location comments 1106s # --internal Mark generated functions as internal 1106s # --valist-marshallers Generate va_list marshallers 1106s # -v, --version Print version information, and exit 1106s # --g-fatal-warnings Make warnings fatal 1106s # --include-header [HEADER] 1106s # Include the specified header in the body 1106s # --pragma-once Use "pragma once" as the inclusion guard 1106s # -D CPP_DEFINES Pre-processor define 1106s # -U CPP_UNDEFINES Pre-processor undefine 1106s # --prototypes Generate the marshallers prototype in the C code 1106s # --header Generate C headers 1106s # --body Generate C code 1106s # --stdinc Include standard marshallers 1106s # --nostdinc Use standard marshallers 1106s # --quiet Only print warnings and errors 1106s # --verbose Be verbose, and include debugging information 1106s ok 3 __main__.TestGenmarshal.test_no_args 1106s # tmpdir: /tmp/tmph942plxz 1106s # genmarshal: /usr/bin/glib-genmarshal 1106s # Running: ['/usr/bin/glib-genmarshal'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # Output: 1106s ok 4 __main__.TestGenmarshal.test_void_boolean 1106s # tmpdir: /tmp/tmp_6byh8qt 1106s # genmarshal: /usr/bin/glib-genmarshal 1106s # /tmp/tmp_6byh8qt/tmpoc0mcy42.list: VOID:BOOLEAN 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_6byh8qt/tmpoc0mcy42.list', '--header', '--quiet'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # 1106s # #include 1106s # 1106s # G_BEGIN_DECLS 1106s # 1106s # /* VOID:BOOLEAN (/tmp/tmp_6byh8qt/tmpoc0mcy42.list:1) */ 1106s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1106s # 1106s # 1106s # G_END_DECLS 1106s # 1106s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_6byh8qt/tmpoc0mcy42.list', '--body', '--quiet'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #include 1106s # 1106s # #ifdef G_ENABLE_DEBUG 1106s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1106s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1106s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1106s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1106s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1106s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1106s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1106s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1106s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1106s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1106s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1106s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1106s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1106s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1106s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1106s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1106s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1106s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1106s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1106s # #else /* !G_ENABLE_DEBUG */ 1106s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1106s # * Do not access GValues directly in your code. Instead, use the 1106s # * g_value_get_*() functions 1106s # */ 1106s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1106s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1106s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1106s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1106s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1106s # #endif /* !G_ENABLE_DEBUG */ 1106s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1106s # tmpdir: /tmp/tmp516eklig 1106s # genmarshal: /usr/bin/glib-genmarshal 1106s # /tmp/tmp516eklig/tmpzpngmg0f.list: VOID:BOOLEAN,INT64 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp516eklig/tmpzpngmg0f.list', '--header', '--quiet'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # 1106s # #include 1106s # 1106s # G_BEGIN_DECLS 1106s # 1106s # /* VOID:BOOLEAN,INT64 (/tmp/tmp516eklig/tmpzpngmg0f.list:1) */ 1106s # extern 1106s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1106s # GValue *return_value, 1106s # guint n_param_values, 1106s # const GValue *param_values, 1106s # gpointer invocation_hint, 1106s # gpointer marshal_data); 1106s # 1106s # 1106s # G_END_DECLS 1106s # 1106s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp516eklig/tmpzpngmg0f.list', '--body', '--quiet'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #include 1106s # 1106s # #ifdef G_ENABLE_DEBUG 1106s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1106s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1106s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1106s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1106s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1106s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1106s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1106s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1106s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1106s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1106s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1106s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1106s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1106s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1106s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1106s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1106s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1106s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1106s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1106s # #else /* !G_ENABLE_DEBUG */ 1106s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1106s # * Do not access GValues directly in your code. Instead, use the 1106s # * g_value_get_*() functions 1106s # */ 1106s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1106s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1106s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1106s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1106s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1106s # #endif /* !G_ENABLE_DEBUG */ 1106s # 1106s # /* VOID:BOOLEAN,INT64 (/tmp/tmp516eklig/tmpzpngmg0f.list:1) */ 1106s # void 1106s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1106s # GValue *return_value G_GNUC_UNUSED, 1106s # guint n_param_values, 1106s # const GValue *param_values, 1106s # gpointer invocation_hint G_GNUC_UNUSED, 1106s # gpointer marshal_data) 1106s # { 1106s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1106s # gboolean arg1, 1106s # gint64 arg2, 1106s # gpointer data2); 1106s # GCClosure *cc = (GCClosure *) closure; 1106s # gpointer data1, data2; 1106s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1106s # 1106s # g_return_if_fail (n_param_values == 3); 1106s # 1106s # if (G_CCLOSURE_SWAP_DATA (closure)) 1106s # { 1106s # data1 = closure->data; 1106s # data2 = g_value_peek_pointer (param_values + 0); 1106s # } 1106s # else 1106s # { 1106s # data1 = g_value_peek_pointer (param_values + 0); 1106s # data2 = closure->data; 1106s # } 1106s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1106s # 1106s # callback (data1, 1106s # g_marshal_value_peek_boolean (param_values + 1), 1106s # g_marshal_value_peek_int64 (param_values + 2), 1106s # data2); 1106s # } 1106s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1106s # tmpdir: /tmp/tmpq3y4mv9k 1106s # genmarshal: /usr/bin/glib-genmarshal 1106s # /tmp/tmpq3y4mv9k/tmpuhc20xx1.list: VOID:PARAM 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpq3y4mv9k/tmpuhc20xx1.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # 1106s # G_BEGIN_DECLS 1106s # 1106s # /* VOID:PARAM (/tmp/tmpq3y4mv9k/tmpuhc20xx1.list:1) */ 1106s # extern 1106s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1106s # GValue *return_value, 1106s # guint n_param_values, 1106s # const GValue *param_values, 1106s # gpointer invocation_hint, 1106s # gpointer marshal_data); 1106s # extern 1106s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1106s # GValue *return_value, 1106s # gpointer instance, 1106s # va_list args, 1106s # gpointer marshal_data, 1106s # int n_params, 1106s # GType *param_types); 1106s # 1106s # 1106s # G_END_DECLS 1106s # 1106s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpq3y4mv9k/tmpuhc20xx1.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #ifdef G_ENABLE_DEBUG 1106s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1106s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1106s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1106s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1106s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1106s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1106s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1106s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1106s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1106s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1106s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1106s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1106s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1106s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1106s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1106s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1106s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1106s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1106s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1106s # #else /* !G_ENABLE_DEBUG */ 1106s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1106s # * Do not access GValues directly in your code. Instead, use the 1106s # * g_value_get_*() functions 1106s # */ 1106s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1106s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1106s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1106s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1106s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1106s # #endif /* !G_ENABLE_DEBUG */ 1106s # 1106s # /* VOID:PARAM (/tmp/tmpq3y4mv9k/tmpuhc20xx1.list:1) */ 1106s # void 1106s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1106s # GValue *return_value G_GNUC_UNUSED, 1106s # guint n_param_values, 1106s # const GValue *param_values, 1106s # gpointer invocation_hint G_GNUC_UNUSED, 1106s # gpointer marshal_data) 1106s # { 1106s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1106s # gpointer arg1, 1106s # gpointer data2); 1106s # GCClosure *cc = (GCClosure *) closure; 1106s # gpointer data1, data2; 1106s # GMarshalFunc_VOID__PARAM callback; 1106s # 1106s # g_return_if_fail (n_param_values == 2); 1106s # 1106s # if (G_CCLOSURE_SWAP_DATA (closure)) 1106s # { 1106s # data1 = closure->data; 1106s # data2 = g_value_peek_pointer (param_values + 0); 1106s # } 1106s # else 1106s # { 1106s # data1 = g_value_peek_pointer (param_values + 0); 1106s # data2 = closure->data; 1106s # } 1106s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1106s # 1106s # callback (data1, 1106s # g_marshal_value_peek_param (param_values + 1), 1106s # data2); 1106s # } 1106s # 1106s # void 1106s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1106s # GValue *return_value G_GNUC_UNUSED, 1106s # gpointer instance, 1106s # va_list args, 1106s # gpointer marshal_data, 1106s # int n_params, 1106s # GType *param_types) 1106s # { 1106s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1106s # gpointer arg1, 1106s # gpointer data2); 1106s # GCClosure *cc = (GCClosure *) closure; 1106s # gpointer data1, data2; 1106s # GMarshalFunc_VOID__PARAM callback; 1106s # gpointer arg0; 1106s # va_list args_copy; 1106s # 1106s # va_copy (args_copy, args); 1106s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1106s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1106s # arg0 = g_param_spec_ref (arg0); 1106s # va_end (args_copy); 1106s # 1106s # 1106s # if (G_CCLOSURE_SWAP_DATA (closure)) 1106s # { 1106s # data1 = closure->data; 1106s # data2 = instance; 1106s # } 1106s # else 1106s # { 1106s # data1 = instance; 1106s # data2 = closure->data; 1106s # } 1106s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1106s # 1106s # callback (data1, 1106s # arg0, 1106s # data2); 1106s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1106s # g_param_spec_unref (arg0); 1106s # } 1106s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1106s # tmpdir: /tmp/tmpr2cp2_w4 1106s # genmarshal: /usr/bin/glib-genmarshal 1106s # /tmp/tmpr2cp2_w4/tmphnju_ojb.list: VOID:STRING 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpr2cp2_w4/tmphnju_ojb.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # 1106s # G_BEGIN_DECLS 1106s # 1106s # /* VOID:STRING (/tmp/tmpr2cp2_w4/tmphnju_ojb.list:1) */ 1106s # extern 1106s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1106s # GValue *return_value, 1106s # guint n_param_values, 1106s # const GValue *param_values, 1106s # gpointer invocation_hint, 1106s # gpointer marshal_data); 1106s # extern 1106s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1106s # GValue *return_value, 1106s # gpointer instance, 1106s # va_list args, 1106s # gpointer marshal_data, 1106s # int n_params, 1106s # GType *param_types); 1106s # 1106s # 1106s # G_END_DECLS 1106s # 1106s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpr2cp2_w4/tmphnju_ojb.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #ifdef G_ENABLE_DEBUG 1106s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1106s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1106s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1106s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1106s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1106s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1106s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1106s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1106s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1106s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1106s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1106s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1106s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1106s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1106s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1106s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1106s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1106s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1106s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1106s # #else /* !G_ENABLE_DEBUG */ 1106s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1106s # * Do not access GValues directly in your code. Instead, use the 1106s # * g_value_get_*() functions 1106s # */ 1106s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1106s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1106s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1106s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1106s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1106s # #endif /* !G_ENABLE_DEBUG */ 1106s # 1106s # /* VOID:STRING (/tmp/tmpr2cp2_w4/tmphnju_ojb.list:1) */ 1106s # void 1106s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1106s # GValue *return_value G_GNUC_UNUSED, 1106s # guint n_param_values, 1106s # const GValue *param_values, 1106s # gpointer invocation_hint G_GNUC_UNUSED, 1106s # gpointer marshal_data) 1106s # { 1106s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1106s # gpointer arg1, 1106s # gpointer data2); 1106s # GCClosure *cc = (GCClosure *) closure; 1106s # gpointer data1, data2; 1106s # GMarshalFunc_VOID__STRING callback; 1106s # 1106s # g_return_if_fail (n_param_values == 2); 1106s # 1106s # if (G_CCLOSURE_SWAP_DATA (closure)) 1106s # { 1106s # data1 = closure->data; 1106s # data2 = g_value_peek_pointer (param_values + 0); 1106s # } 1106s # else 1106s # { 1106s # data1 = g_value_peek_pointer (param_values + 0); 1106s # data2 = closure->data; 1106s # } 1106s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1106s # 1106s # callback (data1, 1106s # g_marshal_value_peek_string (param_values + 1), 1106s # data2); 1106s # } 1106s # 1106s # void 1106s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1106s # GValue *return_value G_GNUC_UNUSED, 1106s # gpointer instance, 1106s # va_list args, 1106s # gpointer marshal_data, 1106s # int n_params, 1106s # GType *param_types) 1106s # { 1106s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1106s # gpointer arg1, 1106s # gpointer data2); 1106s # GCClosure *cc = (GCClosure *) closure; 1106s # gpointer data1, data2; 1106s # GMarshalFunc_VOID__STRING callback; 1106s # gpointer arg0; 1106s # va_list args_copy; 1106s # 1106s # va_copy (args_copy, args); 1106s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1106s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1106s # arg0 = g_strdup (arg0); 1106s # va_end (args_copy); 1106s # 1106s # 1106s # if (G_CCLOSURE_SWAP_DATA (closure)) 1106s # { 1106s # data1 = closure->data; 1106s # data2 = instance; 1106s # } 1106s # else 1106s # { 1106s # data1 = instance; 1106s # data2 = closure->data; 1106s # } 1106s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1106s # 1106s # callback (data1, 1106s # arg0, 1106s # data2); 1106s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1106s # g_free (arg0); 1106s # } 1106s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1106s # tmpdir: /tmp/tmpoijgdeak 1106s # genmarshal: /usr/bin/glib-genmarshal 1106s # /tmp/tmpoijgdeak/tmpiu52n_55.list: VOID:VARIANT 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpoijgdeak/tmpiu52n_55.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1106s # 1106s # G_BEGIN_DECLS 1106s # 1106s # /* VOID:VARIANT (/tmp/tmpoijgdeak/tmpiu52n_55.list:1) */ 1106s # extern 1106s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1106s # GValue *return_value, 1106s # guint n_param_values, 1106s # const GValue *param_values, 1106s # gpointer invocation_hint, 1106s # gpointer marshal_data); 1106s # extern 1106s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1106s # GValue *return_value, 1106s # gpointer instance, 1106s # va_list args, 1106s # gpointer marshal_data, 1106s # int n_params, 1106s # GType *param_types); 1106s # 1106s # 1106s # G_END_DECLS 1106s # 1106s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1106s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpoijgdeak/tmpiu52n_55.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1106s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1106s # 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. */ 1106s # #ifdef G_ENABLE_DEBUG 1106s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1106s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1106s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1106s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1106s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1106s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1106s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1106s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1106s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1106s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1106s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1106s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1106s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1106s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1106s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1106s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1106s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1106s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1106s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1106s # #else /* !G_ENABLE_DEBUG */ 1106s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1106s # * Do not access GValues directly in your code. Instead, use the 1106s # * g_value_get_*() functions 1106s # */ 1106s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1106s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1106s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1106s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1106s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1106s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1106s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1106s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1106s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1106s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1106s # #endif /* !G_ENABLE_DEBUG */ 1106s # 1106s # /* VOID:VARIANT (/tmp/tmpoijgdeak/tmpiu52n_55.list:1) */ 1106s # void 1106s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1106s # GValue *return_value G_GNUC_UNUSED, 1106s # guint n_param_values, 1106s # const GValue *param_values, 1106s # gpointer invocation_hint G_GNUC_UNUSED, 1106s # gpointer marshal_data) 1106s # { 1106s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1106s # gpointer arg1, 1106s # gpointer data2); 1106s # GCClosure *cc = (GCClosure *) closure; 1106s # gpointer data1, data2; 1106s # GMarshalFunc_VOID__VARIANT callback; 1106s # 1106s # g_return_if_fail (n_param_values == 2); 1106s # 1106s # if (G_CCLOSURE_SWAP_DATA (closure)) 1106s # { 1106s # data1 = closure->data; 1106s # data2 = g_value_peek_pointer (param_values + 0); 1106s # } 1106s # else 1106s # { 1106s # data1 = g_value_peek_pointer (param_values + 0); 1106s # data2 = closure->data; 1106s # } 1106s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1106s # 1106s # callback (data1, 1106s # g_marshal_value_peek_variant (param_values + 1), 1106s # data2); 1106s # } 1106s # 1106s # void 1106s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1106s # GValue *return_value G_GNUC_UNUSED, 1106s # gpointer instance, 1106s # va_list args, 1106s # gpointer marshal_data, 1106s # int n_params, 1106s # GType *param_types) 1106s # { 1106s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1106s # gpointer arg1, 1106s # gpointer data2); 1106s # GCClosure *cc = (GCClosure *) closure; 1106s # gpointer data1, data2; 1106s # GMarshalFunc_VOID__VARIANT callback; 1106s # gpointer arg0; 1106s # va_list args_copy; 1106s # 1106s # va_copy (args_copy, args); 1106s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1106s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1106s # arg0 = g_variant_ref_sink (arg0); 1106s # va_end (args_copy); 1106s # 1106s # 1106s # if (G_CCLOSURE_SWAP_DATA (closure)) 1106s # { 1106s # data1 = closure->data; 1106s # data2 = instance; 1106s # } 1106s # else 1106s # { 1106s # data1 = instance; 1106s # data2 = closure->data; 1106s # } 1106s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1106s # 1106s # callback (data1, 1106s # arg0, 1106s # data2); 1106s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1106s # g_variant_unref (arg0); 1106s # } 1106s 1..8 1106s ok - glib/genmarshal.py.test 1106s # Running test: glib/signals-refcount3.test 1106s TAP version 14 1106s # random seed: R02Sb3cbc86441af9645562b24c1cd62afba 1106s 1..1 1106s # Start of gobject tests 1106s # Start of refcount tests 1106s # init 0x5a25d0b29420 1106s # 1106s # init 0x5a25d0b295c0 1106s # 1107s # Executing: glib/signals-refcount3.test 1111s # dispose 0x5a25d0b29420! 1111s # 1111s # dispose 0x5a25d0b295c0! 1111s # 1111s ok 1 /gobject/refcount/signals 1111s # slow test /gobject/refcount/signals executed in 5.00 secs 1111s # End of refcount tests 1111s # End of gobject tests 1111s ok - glib/signals-refcount3.test 1111s # Running test: glib/portal-support-env-var.test 1111s TAP version 14 1111s # random seed: R02Sb73d400062b3d913098a461e690cf7fe 1111s 1..1 1111s # Start of portal-support tests 1111s ok 1 /portal-support/env-var 1111s # End of portal-support tests 1111s ok - glib/portal-support-env-var.test 1111s # Running test: glib/autoptr.test 1111s TAP version 14 1111s # random seed: R02S78e3f0e9a5a6e585f5d97dd211b18fd9 1111s 1..6 1111s # Start of autoptr tests 1111s ok 1 /autoptr/autoptr 1111s ok 2 /autoptr/autoptr_steal 1111s ok 3 /autoptr/autolist 1111s ok 4 /autoptr/autoslist 1111s ok 5 /autoptr/autoqueue 1111s ok 6 /autoptr/autoclass 1111s # End of autoptr tests 1111s ok - glib/autoptr.test 1111s # Running test: glib/io-channel-basic.test 1111s TAP version 14 1111s # random seed: R02S992dd55b9f8b2ab7b970739d504dff01 1111s 1..1 1111s # Start of gio tests 1111s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1111s # random seed: R02Sb0e6e3eb6996a56d9ffded7de2ef8559 1112s # Executing: glib/io-channel-basic.test 1112s # GLib-DEBUG: io-channel-basic: child writing 8+4449 bytes to 6 1112s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1112s # GLib-DEBUG: io-channel-basic: ...from 5: 4449 bytes 1112s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1112s # GLib-DEBUG: io-channel-basic: child writing 8+2599 bytes to 6 1112s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1112s # GLib-DEBUG: io-channel-basic: ...from 5: 2599 bytes 1112s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1112s # GLib-DEBUG: io-channel-basic: child writing 8+3156 bytes to 6 1112s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1112s # GLib-DEBUG: io-channel-basic: ...from 5: 3156 bytes 1112s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1112s # GLib-DEBUG: io-channel-basic: child writing 8+2345 bytes to 6 1112s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1112s # GLib-DEBUG: io-channel-basic: ...from 5: 2345 bytes 1112s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1113s # GLib-DEBUG: io-channel-basic: child writing 8+2151 bytes to 6 1113s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1113s # GLib-DEBUG: io-channel-basic: ...from 5: 2151 bytes 1113s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1113s # GLib-DEBUG: io-channel-basic: child writing 8+145 bytes to 6 1113s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1113s # GLib-DEBUG: io-channel-basic: ...from 5: 145 bytes 1113s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1113s # GLib-DEBUG: io-channel-basic: child writing 8+4312 bytes to 6 1113s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1113s # GLib-DEBUG: io-channel-basic: ...from 5: 4312 bytes 1113s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1113s # GLib-DEBUG: io-channel-basic: child writing 8+3116 bytes to 6 1113s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1113s # GLib-DEBUG: io-channel-basic: ...from 5: 3116 bytes 1113s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1114s # GLib-DEBUG: io-channel-basic: child writing 8+2981 bytes to 6 1114s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1114s # GLib-DEBUG: io-channel-basic: ...from 5: 2981 bytes 1114s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1114s # GLib-DEBUG: io-channel-basic: child writing 8+4987 bytes to 6 1114s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1114s # GLib-DEBUG: io-channel-basic: ...from 5: 4987 bytes 1114s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1114s # GLib-DEBUG: io-channel-basic: child writing 8+1368 bytes to 6 1114s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1114s # GLib-DEBUG: io-channel-basic: ...from 5: 1368 bytes 1114s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1114s # GLib-DEBUG: io-channel-basic: child writing 8+4665 bytes to 6 1114s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1114s # GLib-DEBUG: io-channel-basic: ...from 5: 4665 bytes 1114s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1115s # GLib-DEBUG: io-channel-basic: child writing 8+4255 bytes to 6 1115s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1115s # GLib-DEBUG: io-channel-basic: ...from 5: 4255 bytes 1115s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1115s # GLib-DEBUG: io-channel-basic: child writing 8+3888 bytes to 6 1115s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1115s # GLib-DEBUG: io-channel-basic: ...from 5: 3888 bytes 1115s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1115s # GLib-DEBUG: io-channel-basic: child writing 8+2295 bytes to 6 1115s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1115s # GLib-DEBUG: io-channel-basic: ...from 5: 2295 bytes 1115s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1116s # GLib-DEBUG: io-channel-basic: child writing 8+4684 bytes to 6 1116s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1116s # GLib-DEBUG: io-channel-basic: ...from 5: 4684 bytes 1116s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1116s # GLib-DEBUG: io-channel-basic: child writing 8+3087 bytes to 6 1116s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1116s # GLib-DEBUG: io-channel-basic: ...from 5: 3087 bytes 1116s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1116s # GLib-DEBUG: io-channel-basic: child writing 8+2464 bytes to 6 1116s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1116s # GLib-DEBUG: io-channel-basic: ...from 5: 2464 bytes 1116s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1116s # GLib-DEBUG: io-channel-basic: child writing 8+3015 bytes to 6 1116s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1116s # GLib-DEBUG: io-channel-basic: ...from 5: 3015 bytes 1116s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1117s # GLib-DEBUG: io-channel-basic: child writing 8+3507 bytes to 6 1117s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1117s # GLib-DEBUG: io-channel-basic: ...from 5: 3507 bytes 1117s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1117s # Executing: glib/io-channel-basic.test 1117s # GLib-DEBUG: io-channel-basic: child writing 8+4026 bytes to 6 1117s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1117s # GLib-DEBUG: io-channel-basic: ...from 5: 4026 bytes 1117s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1117s # GLib-DEBUG: io-channel-basic: child writing 8+4906 bytes to 6 1117s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1117s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1117s # GLib-DEBUG: io-channel-basic: ...from 5: 4906 bytes 1117s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1117s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1117s # random seed: R02S253b8a3ee97821dd16eae742ad95b808 1117s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1117s # random seed: R02S250fec77d80f74deee2d4e8c4b62009c 1117s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1117s # random seed: R02S92a33068aa0082c40b4ad08901d4e373 1117s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1117s # random seed: R02S9a5afb0d73f5f660f6d21411fca2a1dd 1117s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1117s # random seed: R02S62878eabd1da88c3215688a5050dcaab 1117s # GLib-DEBUG: io-channel-basic: child writing 8+2934 bytes to 17 1117s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1117s # GLib-DEBUG: io-channel-basic: ...from 16: 2934 bytes 1117s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1117s # GLib-DEBUG: io-channel-basic: child writing 8+1536 bytes to 15 1117s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1117s # GLib-DEBUG: io-channel-basic: ...from 14: 1536 bytes 1117s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1117s # GLib-DEBUG: io-channel-basic: child writing 8+4722 bytes to 9 1117s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1117s # GLib-DEBUG: io-channel-basic: ...from 8: 4722 bytes 1117s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1117s # GLib-DEBUG: io-channel-basic: child writing 8+2647 bytes to 13 1117s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1117s # GLib-DEBUG: io-channel-basic: ...from 12: 2647 bytes 1117s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1117s # GLib-DEBUG: io-channel-basic: child writing 8+1325 bytes to 11 1117s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1117s # GLib-DEBUG: io-channel-basic: ...from 10: 1325 bytes 1117s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+1414 bytes to 13 1118s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 12: 1414 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+2960 bytes to 9 1118s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 8: 2960 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+3894 bytes to 17 1118s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 16: 3894 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+461 bytes to 15 1118s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 14: 461 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+353 bytes to 11 1118s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 10: 353 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+4105 bytes to 13 1118s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 12: 4105 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+1622 bytes to 17 1118s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 16: 1622 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+378 bytes to 9 1118s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 8: 378 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+3127 bytes to 11 1118s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 10: 3127 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+888 bytes to 15 1118s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 14: 888 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+3211 bytes to 13 1118s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 12: 3211 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+4777 bytes to 9 1118s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 8: 4777 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+268 bytes to 17 1118s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 16: 268 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+2908 bytes to 11 1118s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 10: 2908 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+445 bytes to 15 1118s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 14: 445 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+2069 bytes to 13 1118s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 12: 2069 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+3216 bytes to 17 1118s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 16: 3216 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+1752 bytes to 9 1118s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 8: 1752 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+3041 bytes to 11 1118s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 10: 3041 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1118s # GLib-DEBUG: io-channel-basic: child writing 8+4819 bytes to 15 1118s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1118s # GLib-DEBUG: io-channel-basic: ...from 14: 4819 bytes 1118s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+1320 bytes to 13 1119s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 12: 1320 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+3952 bytes to 17 1119s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 16: 3952 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+1168 bytes to 9 1119s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 8: 1168 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+572 bytes to 11 1119s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 10: 572 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+841 bytes to 15 1119s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 14: 841 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+4475 bytes to 13 1119s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 12: 4475 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+699 bytes to 17 1119s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 16: 699 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+1278 bytes to 9 1119s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 8: 1278 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+3548 bytes to 11 1119s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 10: 3548 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+3839 bytes to 15 1119s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 14: 3839 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+4398 bytes to 17 1119s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 16: 4398 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+169 bytes to 13 1119s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 12: 169 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+3058 bytes to 9 1119s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 8: 3058 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+3741 bytes to 11 1119s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 10: 3741 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+4927 bytes to 15 1119s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 14: 4927 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+3921 bytes to 17 1119s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 16: 3921 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+4291 bytes to 13 1119s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 12: 4291 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+2072 bytes to 9 1119s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 8: 2072 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+1312 bytes to 11 1119s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 10: 1312 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1119s # GLib-DEBUG: io-channel-basic: child writing 8+3948 bytes to 15 1119s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1119s # GLib-DEBUG: io-channel-basic: ...from 14: 3948 bytes 1119s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+3807 bytes to 17 1120s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 16: 3807 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+3392 bytes to 13 1120s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 12: 3392 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+477 bytes to 9 1120s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 8: 477 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+4589 bytes to 11 1120s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 10: 4589 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+4570 bytes to 15 1120s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 14: 4570 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+840 bytes to 13 1120s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 12: 840 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+480 bytes to 17 1120s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 16: 480 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+1092 bytes to 9 1120s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 8: 1092 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+2878 bytes to 11 1120s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 10: 2878 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+1615 bytes to 15 1120s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 14: 1615 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+4482 bytes to 13 1120s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 12: 4482 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+2741 bytes to 17 1120s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 16: 2741 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+526 bytes to 9 1120s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 8: 526 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+3286 bytes to 11 1120s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 10: 3286 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+1294 bytes to 15 1120s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 14: 1294 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+1164 bytes to 13 1120s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 12: 1164 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+3173 bytes to 17 1120s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 16: 3173 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1120s # GLib-DEBUG: io-channel-basic: child writing 8+4463 bytes to 9 1120s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1120s # GLib-DEBUG: io-channel-basic: ...from 8: 4463 bytes 1120s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+4928 bytes to 11 1121s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 10: 4928 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+2034 bytes to 15 1121s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 14: 2034 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+4177 bytes to 13 1121s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 12: 4177 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+4670 bytes to 17 1121s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 16: 4670 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+3535 bytes to 9 1121s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 8: 3535 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+4203 bytes to 11 1121s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 10: 4203 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+854 bytes to 15 1121s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 14: 854 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+620 bytes to 13 1121s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 12: 620 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+205 bytes to 17 1121s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 16: 205 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+4241 bytes to 9 1121s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 8: 4241 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+3363 bytes to 11 1121s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 10: 3363 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+4201 bytes to 15 1121s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 14: 4201 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+2713 bytes to 13 1121s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 12: 2713 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+860 bytes to 17 1121s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 16: 860 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+2322 bytes to 9 1121s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 8: 2322 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+4881 bytes to 11 1121s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 10: 4881 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+3269 bytes to 15 1121s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 14: 3269 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+1383 bytes to 13 1121s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 12: 1383 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+3322 bytes to 17 1121s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 16: 3322 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1121s # GLib-DEBUG: io-channel-basic: child writing 8+618 bytes to 9 1121s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1121s # GLib-DEBUG: io-channel-basic: ...from 8: 618 bytes 1121s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1122s # Executing: glib/io-channel-basic.test 1122s # GLib-DEBUG: io-channel-basic: child writing 8+3927 bytes to 15 1122s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 14: 3927 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+1270 bytes to 11 1122s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 10: 1270 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+1998 bytes to 13 1122s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 12: 1998 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+1525 bytes to 17 1122s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 16: 1525 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+4764 bytes to 9 1122s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 8: 4764 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+4606 bytes to 15 1122s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 14: 4606 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+1656 bytes to 11 1122s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 10: 1656 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+1077 bytes to 13 1122s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 12: 1077 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+624 bytes to 17 1122s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 16: 624 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+3203 bytes to 9 1122s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 8: 3203 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+322 bytes to 11 1122s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 10: 322 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+765 bytes to 15 1122s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 14: 765 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+1524 bytes to 13 1122s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1122s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1122s # GLib-DEBUG: io-channel-basic: ...from 12: 1524 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+2729 bytes to 17 1122s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 16: 2729 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+444 bytes to 9 1122s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 8: 444 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+3413 bytes to 11 1122s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 10: 3413 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1122s # GLib-DEBUG: io-channel-basic: child writing 8+4611 bytes to 15 1122s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1122s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1122s # GLib-DEBUG: io-channel-basic: ...from 14: 4611 bytes 1122s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1122s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 1123s # GLib-DEBUG: io-channel-basic: child writing 8+2583 bytes to 17 1123s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1123s # GLib-DEBUG: io-channel-basic: ...from 16: 2583 bytes 1123s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1123s # GLib-DEBUG: io-channel-basic: child writing 8+524 bytes to 9 1123s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1123s # GLib-DEBUG: io-channel-basic: ...from 8: 524 bytes 1123s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1123s # GLib-DEBUG: io-channel-basic: child writing 8+2903 bytes to 11 1123s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1123s # GLib-DEBUG: io-channel-basic: ...from 10: 2903 bytes 1123s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1123s # GLib-DEBUG: io-channel-basic: child writing 8+3403 bytes to 17 1123s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1123s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1123s # GLib-DEBUG: io-channel-basic: ...from 16: 3403 bytes 1123s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1123s # GLib-DEBUG: io-channel-basic: child writing 8+2854 bytes to 9 1123s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1123s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1123s # GLib-DEBUG: io-channel-basic: ...from 8: 2854 bytes 1123s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1123s # GLib-DEBUG: io-channel-basic: child writing 8+2753 bytes to 11 1123s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1123s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1123s # GLib-DEBUG: io-channel-basic: ...from 10: 2753 bytes 1123s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1123s ok 1 /gio/io-basics 1123s # slow test /gio/io-basics executed in 11.59 secs 1123s # End of gio tests 1123s ok - glib/io-channel-basic.test 1123s # Running test: glib/io-channel.test 1123s TAP version 14 1123s # random seed: R02S27b7667ffc6c412e39c5a24f0cc7caa4 1123s 1..2 1123s # Start of io-channel tests 1123s # Line one 1123s # 1123s # Line two 1123s # 1123s # Line three 1123s # 1123s # /* Hello */ 1123s # 1123s # \x1234\x567890\x6666 1123s # 1123s # read 62 bytes, wrote 62 bytes 1123s ok 1 /io-channel/read-write 1123s # Start of read-line tests 1123s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1123s ok 2 /io-channel/read-line/embedded-nuls 1123s # End of read-line tests 1123s # End of io-channel tests 1123s ok - glib/io-channel.test 1123s # Running test: glib/dump.test 1123s TAP version 14 1123s # random seed: R02Sf6fa3ea0273c61de43c6ad7e65b222d4 1123s 1..4 1123s # Start of dump tests 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_CHLQ02/dump/empty-file/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_CHLQ02/dump/empty-file/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_CHLQ02/dump/empty-file/.dirs/system-config1:/tmp/test_dump_CHLQ02/dump/empty-file/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_CHLQ02/dump/empty-file/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_CHLQ02/dump/empty-file/.dirs/system-data1:/tmp/test_dump_CHLQ02/dump/empty-file/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_CHLQ02/dump/empty-file/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_CHLQ02/dump/empty-file/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_CHLQ02/dump/empty-file/.dirs/runtime 1123s ok 1 /dump/empty-file 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_CHLQ02/dump/missing-get-type/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_CHLQ02/dump/missing-get-type/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_CHLQ02/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_CHLQ02/dump/missing-get-type/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_CHLQ02/dump/missing-get-type/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_CHLQ02/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_CHLQ02/dump/missing-get-type/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_CHLQ02/dump/missing-get-type/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_CHLQ02/dump/missing-get-type/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_CHLQ02/dump/missing-get-type/.dirs/runtime 1123s Invalid GType function: 'does_not_exist_get_type' 1123s ok 2 /dump/missing-get-type 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_CHLQ02/dump/missing-quark/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_CHLQ02/dump/missing-quark/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_CHLQ02/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_CHLQ02/dump/missing-quark/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_CHLQ02/dump/missing-quark/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_CHLQ02/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_CHLQ02/dump/missing-quark/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_CHLQ02/dump/missing-quark/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_CHLQ02/dump/missing-quark/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_CHLQ02/dump/missing-quark/.dirs/runtime 1123s Invalid error quark function: 'does_not_exist_error' 1123s ok 3 /dump/missing-quark 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_CHLQ02/dump/basic/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_CHLQ02/dump/basic/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_CHLQ02/dump/basic/.dirs/system-config1:/tmp/test_dump_CHLQ02/dump/basic/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_CHLQ02/dump/basic/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_CHLQ02/dump/basic/.dirs/system-data1:/tmp/test_dump_CHLQ02/dump/basic/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_CHLQ02/dump/basic/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_CHLQ02/dump/basic/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_CHLQ02/dump/basic/.dirs/runtime 1123s ok 4 /dump/basic 1123s # End of dump tests 1123s ok - glib/dump.test 1123s # Running test: glib/signalgroup.test 1123s TAP version 14 1123s # random seed: R02S0438ca1499385ec2e87e2b990b5eeda5 1123s 1..9 1123s # Start of GObject tests 1123s # Start of SignalGroup tests 1123s ok 1 /GObject/SignalGroup/invalid 1123s ok 2 /GObject/SignalGroup/simple 1123s ok 3 /GObject/SignalGroup/changing-target 1123s ok 4 /GObject/SignalGroup/blocking 1123s ok 5 /GObject/SignalGroup/weak-ref-target 1123s ok 6 /GObject/SignalGroup/connect-object 1123s ok 7 /GObject/SignalGroup/signal-parsing 1123s ok 8 /GObject/SignalGroup/properties 1123s ok 9 /GObject/SignalGroup/interface 1123s # Start of signal-parsing tests 1123s # End of signal-parsing tests 1123s # End of SignalGroup tests 1123s # End of GObject tests 1123s ok - glib/signalgroup.test 1123s # Running test: glib/cxx-11.test 1123s TAP version 14 1123s # random seed: R02S3f41287fe875f319ede5a9b72189cc95 1123s 1..2 1123s # Start of gtask tests 1123s # 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. 1123s ok 1 /gtask/name 1123s # Start of name tests 1123s # 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. 1123s ok 2 /gtask/name/macro-wrapper 1123s # End of name tests 1123s # End of gtask tests 1123s ok - glib/cxx-11.test 1123s # Running test: glib/gdbus-proxy.test 1123s TAP version 14 1123s # random seed: R02Sd6aa6b1e265cd6dee275915a9e7b8f41 1123s 1..5 1123s # Start of gdbus tests 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/.dirs/runtime 1123s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1125s ok 1 /gdbus/proxy 1125s # slow test /gdbus/proxy executed in 1.72 secs 1125s # Start of proxy tests 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-properties/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-properties/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-properties/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-properties/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-properties/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-properties/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-properties/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-properties/.dirs/runtime 1125s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1125s ok 2 /gdbus/proxy/no-properties 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/wellknown-noauto/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/wellknown-noauto/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/wellknown-noauto/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/wellknown-noauto/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/wellknown-noauto/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/wellknown-noauto/.dirs/runtime 1125s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1125s ok 3 /gdbus/proxy/wellknown-noauto 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/async/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/async/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/async/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/async/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/async/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/async/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/async/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/async/.dirs/runtime 1125s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1126s ok 4 /gdbus/proxy/async 1126s # slow test /gdbus/proxy/async executed in 1.72 secs 1126s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-match-rule/.dirs/home 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-match-rule/.dirs/cache 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-match-rule/.dirs/system-config2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-match-rule/.dirs/config 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-match-rule/.dirs/system-data2 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-match-rule/.dirs/data 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-match-rule/.dirs/state 1126s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_3NHP02/gdbus/proxy/no-match-rule/.dirs/runtime 1126s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1126s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1127s # Executing: glib/gdbus-proxy.test 1128s ok 5 /gdbus/proxy/no-match-rule 1128s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 1128s # End of proxy tests 1128s # End of gdbus tests 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1128s ok - glib/gdbus-proxy.test 1128s # Running test: glib/g-file.test 1128s TAP version 14 1128s # random seed: R02S4eb3a1b3ec0188538cb58cd9ac2bb5fe 1128s 1..8 1128s # Start of g-file tests 1128s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1128s ok 1 /g-file/test_g_file_new_null 1128s ok 2 /g-file/test_g_file_new_for_path 1128s ok 3 /g-file/test_g_file_new_for_uri 1128s ok 4 /g-file/test_g_file_dup 1128s ok 5 /g-file/test_g_file_get_parse_name_utf8 1128s file:///tmp/test-tmp-glib_g-file.test-HUU7Z2 1128s file:///tmp 1128s file:///tmp 1128s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1128s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1128s ok 6 /g-file/test_g_file_new_for_commandline_arg 1128s /dir1 /dir1/dir2/dir3/ 1128s /dir1/ /dir1/dir2/dir3/ 1128s /dir1 /dir1/dir2/dir3 1128s /dir1/ /dir1/dir2/dir3 1128s /tmp/ /something/ 1128s /dir1/dir2 /dir1/ 1128s //dir1/new //dir1/new/dir2/dir3 1128s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1128s file:///dir1 file:///dir1/dir2/dir3/ 1128s file:///dir1/ file:///dir1/dir2/dir3/ 1128s file:///dir1 file:///dir1/dir2/dir3 1128s file:///dir1/ file:///dir1/dir2/dir3 1128s file:///tmp/ file:///something/ 1128s file:///dir1/dir2 file:///dir1/ 1128s file:////dir1/new file:////dir1/new/dir2/dir3 1128s 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 1128s ok 7 /g-file/test_g_file_has_prefix 1128s ok 8 /g-file/test_g_file_get_parent_child 1128s # End of g-file tests 1128s ok - glib/g-file.test 1128s # Running test: glib/deprecated-properties.test 1128s TAP version 14 1128s # random seed: R02S44db6ce7d39639e800824c2156113f26 1128s 1..3 1128s # Start of deprecated-properties tests 1128s ok 1 /deprecated-properties/construct 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1128s ok 2 /deprecated-properties/default-construct 1128s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1128s ok 3 /deprecated-properties/set 1128s # End of deprecated-properties tests 1128s ok - glib/deprecated-properties.test 1128s # Running test: glib/network-monitor-race.test 1128s TAP version 14 1128s # random seed: R02S8ac2e7d0a5ea5af1e2b6d278db4a1cf0 1128s 1..1 1128s # Start of network-monitor tests 1128s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1130s ok 1 /network-monitor/create-in-thread 1130s # slow test /network-monitor/create-in-thread executed in 2.13 secs 1130s # End of network-monitor tests 1130s ok - glib/network-monitor-race.test 1130s # Running test: glib/atomic.test 1130s TAP version 14 1130s # random seed: R02S568cb4238cff314b06f9c0e8a08a682d 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.test 1130s # Running test: glib/notify-init.test 1130s TAP version 14 1130s # random seed: R02S52da58bf250a0fd96a39cb46de5fc198 1130s 1..1 1130s # Start of properties tests 1130s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1130s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1130s ok 1 /properties/notify-in-init 1130s # End of properties tests 1130s ok - glib/notify-init.test 1130s # Running test: glib/cxx-20.test 1130s TAP version 14 1130s # random seed: R02S2bd9a57de97be43210652db357cffe18 1130s 1..2 1130s # Start of gtask tests 1130s # 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. 1130s ok 1 /gtask/name 1130s # Start of name tests 1130s # 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. 1130s ok 2 /gtask/name/macro-wrapper 1130s # End of name tests 1130s # End of gtask tests 1130s ok - glib/cxx-20.test 1130s # Running test: glib/utf8-performance.test 1130s TAP version 14 1130s # random seed: R02S2346106362a82f096dc965aa8814e0d8 1130s 1..36 1130s # Start of utf8 tests 1130s # Start of perf tests 1130s # Start of get_char tests 1130s # max perf: inf MB/s 1130s ok 1 /utf8/perf/get_char/ascii 1130s # max perf: 67.0 MB/s 1130s ok 2 /utf8/perf/get_char/latin1 1130s # max perf: inf MB/s 1130s ok 3 /utf8/perf/get_char/cyrillic 1130s # max perf: inf MB/s 1130s ok 4 /utf8/perf/get_char/han 1130s # End of get_char tests 1130s # Start of get_char-backwards tests 1130s # max perf: inf MB/s 1130s ok 5 /utf8/perf/get_char-backwards/ascii 1130s # max perf: inf MB/s 1130s ok 6 /utf8/perf/get_char-backwards/latin1 1130s # max perf: 160.0 MB/s 1130s ok 7 /utf8/perf/get_char-backwards/cyrillic 1130s # max perf: 156.0 MB/s 1130s ok 8 /utf8/perf/get_char-backwards/han 1130s # End of get_char-backwards tests 1130s # Start of get_char_validated tests 1130s # max perf: 43.0 MB/s 1130s ok 9 /utf8/perf/get_char_validated/ascii 1130s # max perf: inf MB/s 1130s ok 10 /utf8/perf/get_char_validated/latin1 1130s # max perf: 160.0 MB/s 1130s ok 11 /utf8/perf/get_char_validated/cyrillic 1130s # max perf: inf MB/s 1130s ok 12 /utf8/perf/get_char_validated/han 1130s # End of get_char_validated tests 1130s # Start of utf8_to_ucs4 tests 1130s # max perf: inf MB/s 1130s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1130s # max perf: 67.0 MB/s 1130s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1130s # max perf: 160.0 MB/s 1130s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1130s # max perf: inf MB/s 1130s ok 16 /utf8/perf/utf8_to_ucs4/han 1130s # End of utf8_to_ucs4 tests 1130s # Start of utf8_to_ucs4-sized tests 1130s # max perf: inf MB/s 1130s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1130s # max perf: 67.0 MB/s 1130s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1130s # max perf: 160.0 MB/s 1130s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1130s # max perf: inf MB/s 1130s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1130s # End of utf8_to_ucs4-sized tests 1130s # Start of utf8_to_ucs4_fast tests 1130s # max perf: inf MB/s 1130s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1130s # max perf: inf MB/s 1130s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1130s # max perf: inf MB/s 1130s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1130s # max perf: 156.0 MB/s 1130s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1130s # End of utf8_to_ucs4_fast tests 1130s # Start of utf8_to_ucs4_fast-sized tests 1130s # max perf: inf MB/s 1130s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1130s # max perf: inf MB/s 1130s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1130s # max perf: 160.0 MB/s 1130s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1130s # max perf: inf MB/s 1130s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1130s # End of utf8_to_ucs4_fast-sized tests 1130s # Start of utf8_validate tests 1130s # max perf: inf MB/s 1130s ok 29 /utf8/perf/utf8_validate/ascii 1130s # max perf: inf MB/s 1130s ok 30 /utf8/perf/utf8_validate/latin1 1130s # max perf: 160.0 MB/s 1130s ok 31 /utf8/perf/utf8_validate/cyrillic 1130s # max perf: inf MB/s 1130s ok 32 /utf8/perf/utf8_validate/han 1130s # End of utf8_validate tests 1130s # Start of utf8_validate-sized tests 1130s # max perf: 43.0 MB/s 1130s ok 33 /utf8/perf/utf8_validate-sized/ascii 1130s # max perf: inf MB/s 1130s ok 34 /utf8/perf/utf8_validate-sized/latin1 1130s # max perf: 160.0 MB/s 1130s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1130s # max perf: inf MB/s 1130s ok 36 /utf8/perf/utf8_validate-sized/han 1130s # End of utf8_validate-sized tests 1130s # End of perf tests 1130s # End of utf8 tests 1130s ok - glib/utf8-performance.test 1130s # Running test: glib/portal-support-snap-classic.test 1130s TAP version 14 1130s # random seed: R02S1e851777b9b57456265c99868df8e3d9 1130s 1..3 1130s # Start of portal-support tests 1130s # Start of snap-classic tests 1130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/no-snapctl/.dirs/home 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/no-snapctl/.dirs/cache 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/no-snapctl/.dirs/config 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/no-snapctl/.dirs/data 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/no-snapctl/.dirs/state 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/no-snapctl/.dirs/runtime 1130s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/no-snapctl: No such file or directory 1130s ok 1 /portal-support/snap-classic/no-snapctl 1130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none/.dirs/home 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none/.dirs/cache 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none/.dirs/system-config2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none/.dirs/config 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none/.dirs/system-data2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none/.dirs/data 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none/.dirs/state 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none/.dirs/runtime 1130s # Created snap.yaml in /tmp/test_portal-support-snap-classic_XQ2D02/meta/snap.yaml 1130s # Created snapctl in /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none/.dirs/runtime/snapctl 1130s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/none: No such file or directory 1130s ok 2 /portal-support/snap-classic/none 1130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all/.dirs/home 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all/.dirs/cache 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all/.dirs/system-config2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all/.dirs/config 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all/.dirs/system-data2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all/.dirs/data 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all/.dirs/state 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all/.dirs/runtime 1130s # Created snap.yaml in /tmp/test_portal-support-snap-classic_XQ2D02/meta/snap.yaml 1130s # Created snapctl in /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all/.dirs/runtime/snapctl 1130s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_XQ2D02/portal-support/snap-classic/all: No such file or directory 1130s ok 3 /portal-support/snap-classic/all 1130s # End of snap-classic tests 1130s # End of portal-support tests 1130s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_XQ2D02: No such file or directory 1130s ok - glib/portal-support-snap-classic.test 1130s # Running test: glib/sort.test 1130s TAP version 14 1130s # random seed: R02S85db50b95eafc3a8cc393e19a6bd364a 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/markup-collect.test 1130s TAP version 14 1130s # random seed: R02Sf52c043b7e11ac8ba0c2ca80abcdb4f4 1130s 1..21 1130s # Start of markup tests 1130s # Start of collect tests 1130s ok 1 /markup/collect/0 1130s ok 2 /markup/collect/1 1130s ok 3 /markup/collect/2 1130s ok 4 /markup/collect/3 1130s ok 5 /markup/collect/4 1130s ok 6 /markup/collect/5 1130s ok 7 /markup/collect/6 1130s ok 8 /markup/collect/7 1130s ok 9 /markup/collect/8 1130s ok 10 /markup/collect/9 1130s ok 11 /markup/collect/10 1130s ok 12 /markup/collect/11 1130s ok 13 /markup/collect/12 1130s ok 14 /markup/collect/13 1130s ok 15 /markup/collect/14 1130s ok 16 /markup/collect/15 1130s ok 17 /markup/collect/16 1130s ok 18 /markup/collect/17 1130s ok 19 /markup/collect/18 1130s ok 20 /markup/collect/19 1130s ok 21 /markup/collect/cleanup 1130s # End of collect tests 1130s # End of markup tests 1130s ok - glib/markup-collect.test 1130s # Running test: glib/objects-refcount1.test 1130s TAP version 14 1130s # random seed: R02S1f96d2dd87e940cf15612d1da56f6c06 1130s 1..1 1130s # Start of gobject tests 1130s # Start of refcount tests 1130s # init 0x58bb5683d740 1130s # 1130s # init 0x58bb5683d8d0 1130s # 1132s # Executing: glib/objects-refcount1.test 1135s # dispose 0x58bb5683d740! 1135s # 1135s # dispose 0x58bb5683d8d0! 1135s # 1135s ok 1 /gobject/refcount/object-basics 1135s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1135s # End of refcount tests 1135s # End of gobject tests 1135s ok - glib/objects-refcount1.test 1135s # Running test: glib/gdbus-serialization.test 1135s TAP version 14 1135s # random seed: R02Scac89706396fdb02ee661d4f6129cb89 1135s 1..18 1135s # Start of gdbus tests 1135s # Start of message-serialize tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/basic/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/basic/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/basic/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/basic/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/basic/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/basic/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/basic/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/basic/.dirs/runtime 1135s ok 1 /gdbus/message-serialize/basic 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/complex/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/complex/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/complex/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/complex/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/complex/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/complex/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/complex/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/complex/.dirs/runtime 1135s ok 2 /gdbus/message-serialize/complex 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/invalid/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/invalid/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/invalid/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/invalid/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/invalid/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/invalid/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/invalid/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/invalid/.dirs/runtime 1135s ok 3 /gdbus/message-serialize/invalid 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/.dirs/runtime 1135s ok 4 /gdbus/message-serialize/header-checks 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/double-array/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/double-array/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/double-array/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/double-array/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/double-array/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/double-array/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/double-array/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/double-array/.dirs/runtime 1135s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1135s ok 5 /gdbus/message-serialize/double-array 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/empty-structure/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/empty-structure/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/empty-structure/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/empty-structure/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/empty-structure/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/empty-structure/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/empty-structure/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/empty-structure/.dirs/runtime 1135s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1135s ok 6 /gdbus/message-serialize/empty-structure 1135s # Start of header-checks tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/valid/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/valid/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/valid/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/valid/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/valid/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1135s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1135s ok 7 /gdbus/message-serialize/header-checks/valid 1135s # End of header-checks tests 1135s # End of message-serialize tests 1135s # Start of message-parse tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1135s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1135s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/non-signature-header/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/non-signature-header/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/non-signature-header/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/non-signature-header/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/non-signature-header/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/non-signature-header/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/non-signature-header/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/non-signature-header/.dirs/runtime 1135s ok 9 /gdbus/message-parse/non-signature-header 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-signature-header/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-signature-header/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-signature-header/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-signature-header/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-signature-header/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-signature-header/.dirs/runtime 1135s ok 10 /gdbus/message-parse/empty-signature-header 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/multiple-signature-header/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/multiple-signature-header/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/multiple-signature-header/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/multiple-signature-header/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/multiple-signature-header/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1135s ok 11 /gdbus/message-parse/multiple-signature-header 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/over-long-signature-header/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/over-long-signature-header/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/over-long-signature-header/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/over-long-signature-header/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/over-long-signature-header/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1135s ok 12 /gdbus/message-parse/over-long-signature-header 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-header-nesting/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-header-nesting/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-header-nesting/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-header-nesting/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-header-nesting/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1135s ok 13 /gdbus/message-parse/deep-header-nesting 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-body-nesting/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-body-nesting/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-body-nesting/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-body-nesting/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-body-nesting/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1135s ok 14 /gdbus/message-parse/deep-body-nesting 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/truncated/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/truncated/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/truncated/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/truncated/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/truncated/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/truncated/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/truncated/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/truncated/.dirs/runtime 1135s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1135s ok 15 /gdbus/message-parse/truncated 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-structure/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-structure/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-structure/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-structure/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-structure/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-structure/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-structure/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/empty-structure/.dirs/runtime 1135s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1135s ok 16 /gdbus/message-parse/empty-structure 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/missing-header/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/missing-header/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/missing-header/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/missing-header/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/missing-header/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/missing-header/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/missing-header/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/missing-header/.dirs/runtime 1135s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1135s ok 17 /gdbus/message-parse/missing-header 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/invalid-header-type/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/invalid-header-type/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/invalid-header-type/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/invalid-header-type/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/invalid-header-type/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_AZTC02/gdbus/message-parse/invalid-header-type/.dirs/runtime 1135s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1135s ok 18 /gdbus/message-parse/invalid-header-type 1135s # End of message-parse tests 1135s # End of gdbus tests 1135s ok - glib/gdbus-serialization.test 1135s # Running test: glib/resources.test 1135s TAP version 14 1135s # random seed: R02Scc1152e58e758a31ca85c5207b62786b 1135s 1..17 1135s # Start of resource tests 1135s ok 1 /resource/file 1135s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1135s ok 2 /resource/file-path 1135s ok 3 /resource/data 1135s ok 4 /resource/data_unaligned 1135s ok 5 /resource/data-corrupt 1135s ok 6 /resource/data-empty 1135s ok 7 /resource/registered 1135s ok 8 /resource/manual 1135s ok 9 /resource/manual2 1135s ok 10 /resource/automatic 1135s ok 11 /resource/module 1135s ok 12 /resource/binary-linked 1135s ok 13 /resource/64k 1135s GLib-GIO-Message: 20:07:32.844: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1135s ok 14 /resource/overlay 1135s ok 15 /resource/digits 1135s # Start of uri tests 1135s ok 16 /resource/uri/query-info 1135s ok 17 /resource/uri/file 1135s # End of uri tests 1135s # End of resource tests 1135s ok - glib/resources.test 1135s # Running test: glib/overflow-fallback.test 1135s TAP version 14 1135s # random seed: R02Sd714c77aefd3d45307e7f967c34bac0d 1135s 1..6 1135s # Start of glib tests 1135s # Start of checked-math tests 1135s ok 1 /glib/checked-math/guint-add 1135s ok 2 /glib/checked-math/guint-mul 1135s ok 3 /glib/checked-math/guint64-add 1135s ok 4 /glib/checked-math/guint64-mul 1135s ok 5 /glib/checked-math/gsize-add 1135s ok 6 /glib/checked-math/gsize-mul 1135s # End of checked-math tests 1135s # End of glib tests 1135s ok - glib/overflow-fallback.test 1135s # Running test: glib/glistmodel.test 1135s TAP version 14 1135s # random seed: R02S147171f9eeb6f2f0e4ee373a8cd9519e 1135s 1..18 1135s # Start of glistmodel tests 1135s # Start of store tests 1135s ok 1 /glistmodel/store/properties 1135s ok 2 /glistmodel/store/non-gobjects 1135s ok 3 /glistmodel/store/boundaries 1135s ok 4 /glistmodel/store/refcounts 1135s ok 5 /glistmodel/store/sorted 1135s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1135s ok 6 /glistmodel/store/splice-replace-middle 1135s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1135s ok 7 /glistmodel/store/splice-replace-all 1135s ok 8 /glistmodel/store/splice-noop 1135s ok 9 /glistmodel/store/splice-remove-multiple 1135s ok 10 /glistmodel/store/splice-add-multiple 1135s ok 11 /glistmodel/store/splice-wrong-type 1135s ok 12 /glistmodel/store/item-type 1135s ok 13 /glistmodel/store/remove-all 1135s ok 14 /glistmodel/store/sort 1135s ok 15 /glistmodel/store/get-item-cache 1135s ok 16 /glistmodel/store/items-changed 1135s ok 17 /glistmodel/store/past-end 1136s ok 18 /glistmodel/store/find 1136s # End of store tests 1136s # End of glistmodel tests 1136s ok - glib/glistmodel.test 1136s # Running test: glib/fileutils.test 1136s TAP version 14 1136s # random seed: R02S50338d23fe851dcb180d1e1caa7fcf70 1136s 1..27 1136s # Start of fileutils tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/paths/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/paths/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/paths/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/paths/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/paths/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/paths/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/paths/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/paths/.dirs/runtime 1136s ok 1 /fileutils/paths 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-path/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-path/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/build-path/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-path/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/build-path/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-path/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-path/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/build-path/.dirs/runtime 1136s ok 2 /fileutils/build-path 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-pathv/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-pathv/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/build-pathv/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-pathv/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/build-pathv/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-pathv/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-pathv/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/build-pathv/.dirs/runtime 1136s ok 3 /fileutils/build-pathv 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-filename/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-filename/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/build-filename/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-filename/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/build-filename/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-filename/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-filename/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/build-filename/.dirs/runtime 1136s ok 4 /fileutils/build-filename 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-filenamev/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-filenamev/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/build-filenamev/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-filenamev/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/build-filenamev/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-filenamev/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/build-filenamev/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/build-filenamev/.dirs/runtime 1136s ok 5 /fileutils/build-filenamev 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents/.dirs/runtime 1136s # We do not have CAP_DAC_OVERRIDE or equivalent 1136s ok 6 /fileutils/mkdir-with-parents 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents-permission/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents-permission/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents-permission/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents-permission/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents-permission/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/mkdir-with-parents-permission/.dirs/runtime 1136s # We do not have CAP_DAC_OVERRIDE or equivalent 1136s ok 7 /fileutils/mkdir-with-parents-permission 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/format-size-for-display/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/format-size-for-display/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/format-size-for-display/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/format-size-for-display/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/format-size-for-display/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/format-size-for-display/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/format-size-for-display/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/format-size-for-display/.dirs/runtime 1136s ok 8 /fileutils/format-size-for-display 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/errors/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/errors/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/errors/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/errors/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/errors/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/errors/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/errors/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/errors/.dirs/runtime 1136s ok 9 /fileutils/errors 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/basename/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/basename/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/basename/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/basename/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/basename/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/basename/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/basename/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/basename/.dirs/runtime 1136s ok 10 /fileutils/basename 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-basename/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-basename/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/get-basename/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-basename/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/get-basename/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-basename/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-basename/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/get-basename/.dirs/runtime 1136s ok 11 /fileutils/get-basename 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/dirname/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/dirname/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/dirname/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/dirname/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/dirname/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/dirname/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/dirname/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/dirname/.dirs/runtime 1136s ok 12 /fileutils/dirname 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/dir-make-tmp/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/dir-make-tmp/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/dir-make-tmp/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/dir-make-tmp/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/dir-make-tmp/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/dir-make-tmp/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/dir-make-tmp/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/dir-make-tmp/.dirs/runtime 1136s ok 13 /fileutils/dir-make-tmp 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/file-open-tmp/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/file-open-tmp/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/file-open-tmp/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/file-open-tmp/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/file-open-tmp/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/file-open-tmp/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/file-open-tmp/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/file-open-tmp/.dirs/runtime 1136s ok 14 /fileutils/file-open-tmp 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/file-test/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/file-test/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/file-test/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/file-test/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/file-test/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/file-test/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/file-test/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/file-test/.dirs/runtime 1136s ok 15 /fileutils/file-test 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkstemp/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkstemp/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/mkstemp/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkstemp/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/mkstemp/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkstemp/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkstemp/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/mkstemp/.dirs/runtime 1136s ok 16 /fileutils/mkstemp 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdtemp/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdtemp/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/mkdtemp/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdtemp/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/mkdtemp/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdtemp/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/mkdtemp/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/mkdtemp/.dirs/runtime 1136s ok 17 /fileutils/mkdtemp 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-contents/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-contents/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/get-contents/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-contents/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/get-contents/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-contents/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-contents/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/get-contents/.dirs/runtime 1136s ok 18 /fileutils/get-contents 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-contents-large-file/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-contents-large-file/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/get-contents-large-file/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-contents-large-file/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/get-contents-large-file/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-contents-large-file/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/get-contents-large-file/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/get-contents-large-file/.dirs/runtime 1136s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/set-contents/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/set-contents/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/set-contents/.dirs/runtime 1136s ok 20 /fileutils/set-contents 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/.dirs/runtime 1136s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1136s # Flags 0 and test 0 1136s # Flags 0 and test 1 1136s # Flags 0 and test 2 1136s # Flags 0 and test 3 1136s # Flags 0 and test 4 1136s # Flags 0 and test 5 1136s # Flags 1 and test 0 1136s # Flags 1 and test 1 1136s # Flags 1 and test 2 1136s # Flags 1 and test 3 1136s # Flags 1 and test 4 1136s # Flags 1 and test 5 1136s # Flags 2 and test 0 1136s # Flags 2 and test 1 1136s # Flags 2 and test 2 1136s # Flags 2 and test 3 1136s # Flags 2 and test 4 1136s # Flags 2 and test 5 1136s # Flags 3 and test 0 1136s # Flags 3 and test 1 1136s # Flags 3 and test 2 1136s # Flags 3 and test 3 1136s # Flags 3 and test 4 1136s # Flags 3 and test 5 1136s # Flags 4 and test 0 1136s # Flags 4 and test 1 1136s # Flags 4 and test 2 1136s # Flags 4 and test 3 1136s # Flags 4 and test 4 1136s # Flags 4 and test 5 1136s # Flags 5 and test 0 1136s # Flags 5 and test 1 1136s # Flags 5 and test 2 1136s # Flags 5 and test 3 1136s # Flags 5 and test 4 1136s # Flags 5 and test 5 1136s # Flags 6 and test 0 1136s # Flags 6 and test 1 1136s # Flags 6 and test 2 1136s # Flags 6 and test 3 1136s # Flags 6 and test 4 1136s # Flags 6 and test 5 1136s ok 21 /fileutils/set-contents-full 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/read-link/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/read-link/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/read-link/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/read-link/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/read-link/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/read-link/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/read-link/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/read-link/.dirs/runtime 1136s ok 22 /fileutils/read-link 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/stdio-wrappers/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/stdio-wrappers/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/stdio-wrappers/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/stdio-wrappers/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/stdio-wrappers/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/stdio-wrappers/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/stdio-wrappers/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/stdio-wrappers/.dirs/runtime 1136s # We do not have CAP_DAC_OVERRIDE or equivalent 1136s ok 23 /fileutils/stdio-wrappers 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/fopen-modes/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/fopen-modes/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/fopen-modes/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/fopen-modes/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/fopen-modes/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/fopen-modes/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/fopen-modes/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/fopen-modes/.dirs/runtime 1136s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1136s # Testing fopen() mode 'w' 1136s # Testing fopen() mode 'r' 1136s # Testing fopen() mode 'a' 1136s # Testing fopen() mode 'w+' 1136s # Testing fopen() mode 'r+' 1136s # Testing fopen() mode 'a+' 1136s # Testing fopen() mode 'wb' 1136s # Testing fopen() mode 'rb' 1136s # Testing fopen() mode 'ab' 1136s # Testing fopen() mode 'w+b' 1136s # Testing fopen() mode 'r+b' 1136s # Testing fopen() mode 'a+b' 1136s # Testing fopen() mode 'wb+' 1136s # Testing fopen() mode 'rb+' 1136s # Testing fopen() mode 'ab+' 1136s ok 24 /fileutils/fopen-modes 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/clear-fd/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/clear-fd/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/clear-fd/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/clear-fd/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/clear-fd/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/clear-fd/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/clear-fd/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/clear-fd/.dirs/runtime 1136s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1136s # Will be closed by autocleanup: 3, -42 1136s # Testing error handling 1136s ok 25 /fileutils/clear-fd 1136s # Start of set-contents-full tests 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-file/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-file/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-file/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-file/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-file/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-file/.dirs/runtime 1136s # We do not have CAP_DAC_OVERRIDE or equivalent 1136s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1136s ok 26 /fileutils/set-contents-full/read-only-file 1136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-directory/.dirs/home 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-directory/.dirs/cache 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-directory/.dirs/config 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-directory/.dirs/data 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-directory/.dirs/state 1136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y6XE02/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1136s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1136s # Flags 0 1136s # We do not have CAP_DAC_OVERRIDE or equivalent 1136s # Flags 1 1136s # We do not have CAP_DAC_OVERRIDE or equivalent 1136s # Flags 2 1136s # We do not have CAP_DAC_OVERRIDE or equivalent 1136s # Flags 3 1136s # We do not have CAP_DAC_OVERRIDE or equivalent 1136s # Flags 4 1136s # We do not have CAP_DAC_OVERRIDE or equivalent 1136s # Flags 5 1136s # We do not have CAP_DAC_OVERRIDE or equivalent 1136s # Flags 6 1136s # We do not have CAP_DAC_OVERRIDE or equivalent 1136s ok 27 /fileutils/set-contents-full/read-only-directory 1136s # End of set-contents-full tests 1136s # Start of clear-fd tests 1136s # Start of subprocess tests 1136s # End of subprocess tests 1136s # End of clear-fd tests 1136s # End of fileutils tests 1136s Unable to clean up temporary directory /tmp/test_fileutils_Y6XE02/glib-file-set-contents-full-rodir-LH79Z2: Directory not empty 1136s Unable to clean up temporary directory /tmp/test_fileutils_Y6XE02/glib-file-set-contents-full-rodir-MRYA02: Directory not empty 1136s Unable to clean up temporary directory /tmp/test_fileutils_Y6XE02/glib-file-set-contents-full-rodir-HN0A02: Directory not empty 1136s Unable to clean up temporary directory /tmp/test_fileutils_Y6XE02/glib-file-set-contents-full-rodir-S959Z2: Directory not empty 1136s Unable to clean up temporary directory /tmp/test_fileutils_Y6XE02/glib-file-set-contents-full-rodir-1B29Z2: Directory not empty 1136s Unable to clean up temporary directory /tmp/test_fileutils_Y6XE02/glib-file-set-contents-full-rodir-I939Z2: Directory not empty 1136s Unable to clean up temporary directory /tmp/test_fileutils_Y6XE02/glib-file-set-contents-full-rodir-5949Z2: Directory not empty 1136s Unable to clean up temporary directory /tmp/test_fileutils_Y6XE02: Directory not empty 1136s ok - glib/fileutils.test 1136s # Running test: glib/unicode.test 1136s TAP version 14 1136s # random seed: R02S69e0af76ca4dffe3c41d55e11bc0e63b 1136s 1..39 1136s # Start of unicode tests 1136s ok 1 /unicode/alnum 1136s ok 2 /unicode/alpha 1136s ok 3 /unicode/break-type 1136s ok 4 /unicode/canonical-decomposition 1136s ok 5 /unicode/casefold 1136s # Cannot set locale to lt_LT, skipping 1136s # Cannot set locale to lt_LT, skipping 1136s # Cannot set locale to lt_LT, skipping 1136s # Cannot set locale to lt_LT, skipping 1136s # Cannot set locale to lt_LT, skipping 1136s # Cannot set locale to lt_LT, skipping 1136s # Cannot set locale to lt_LT, skipping 1136s # Cannot set locale to lt_LT, skipping 1136s # Cannot set locale to lt_LT, skipping 1136s # Cannot set locale to lt_LT, skipping 1136s # Cannot set locale to lt_LT, skipping 1136s ok 6 /unicode/casemap_and_casefold 1136s ok 7 /unicode/cases 1136s ok 8 /unicode/character-type 1136s ok 9 /unicode/cntrl 1136s ok 10 /unicode/combining-class 1136s ok 11 /unicode/compose 1136s ok 12 /unicode/decompose 1136s ok 13 /unicode/decompose-tail 1136s ok 14 /unicode/defined 1136s ok 15 /unicode/digit 1136s ok 16 /unicode/digit-value 1136s ok 17 /unicode/fully-decompose-canonical 1136s ok 18 /unicode/fully-decompose-len 1136s ok 19 /unicode/normalization 1136s ok 20 /unicode/graph 1136s # Testing script Zyyy (code 1517910393) 1136s # Testing script Zinh (code 1516858984) 1136s # Testing script Zmth (code 1517122664) 1136s # Testing script Arab (code 1098015074) 1136s # Testing script Armn (code 1098018158) 1136s # Testing script Beng (code 1113943655) 1136s # Testing script Bopo (code 1114599535) 1136s # Testing script Cher (code 1130915186) 1136s # Testing script Copt (code 1131376756) 1136s # Testing script Cyrl (code 1132032620) 1136s # Testing script Dsrt (code 1148416628) 1136s # Testing script Deva (code 1147500129) 1136s # Testing script Ethi (code 1165256809) 1136s # Testing script Geor (code 1197830002) 1136s # Testing script Goth (code 1198486632) 1136s # Testing script Grek (code 1198679403) 1136s # Testing script Gujr (code 1198877298) 1136s # Testing script Guru (code 1198879349) 1136s # Testing script Hani (code 1214344809) 1136s # Testing script Hang (code 1214344807) 1136s # Testing script Hebr (code 1214603890) 1136s # Testing script Hira (code 1214870113) 1136s # Testing script Knda (code 1265525857) 1136s # Testing script Kana (code 1264676449) 1136s # Testing script Khmr (code 1265134962) 1136s # Testing script Laoo (code 1281453935) 1136s # Testing script Latn (code 1281455214) 1136s # Testing script Mlym (code 1298954605) 1136s # Testing script Mong (code 1299148391) 1136s # Testing script Mymr (code 1299803506) 1136s # Testing script Ogam (code 1332175213) 1136s # Testing script Ital (code 1232363884) 1136s # Testing script Orya (code 1332902241) 1136s # Testing script Runr (code 1383427698) 1136s # Testing script Sinh (code 1399418472) 1136s # Testing script Syrc (code 1400468067) 1136s # Testing script Taml (code 1415671148) 1136s # Testing script Telu (code 1415933045) 1136s # Testing script Thaa (code 1416126817) 1136s # Testing script Thai (code 1416126825) 1136s # Testing script Tibt (code 1416192628) 1136s # Testing script Cans (code 1130458739) 1136s # Testing script Yiii (code 1500080489) 1136s # Testing script Tglg (code 1416064103) 1136s # Testing script Hano (code 1214344815) 1136s # Testing script Buhd (code 1114990692) 1136s # Testing script Tagb (code 1415669602) 1136s # Testing script Brai (code 1114792297) 1136s # Testing script Cprt (code 1131442804) 1136s # Testing script Limb (code 1281977698) 1136s # Testing script Osma (code 1332964705) 1136s # Testing script Shaw (code 1399349623) 1136s # Testing script Linb (code 1281977954) 1136s # Testing script Tale (code 1415670885) 1136s # Testing script Ugar (code 1432838514) 1136s # Testing script Talu (code 1415670901) 1136s # Testing script Bugi (code 1114990441) 1136s # Testing script Glag (code 1198285159) 1136s # Testing script Tfng (code 1415999079) 1136s # Testing script Sylo (code 1400466543) 1136s # Testing script Xpeo (code 1483761007) 1136s # Testing script Khar (code 1265131890) 1136s # Testing script Zzzz (code 1517976186) 1136s # Testing script Bali (code 1113681001) 1136s # Testing script Xsux (code 1483961720) 1136s # Testing script Phnx (code 1349021304) 1136s # Testing script Phag (code 1349017959) 1136s # Testing script Nkoo (code 1315663727) 1136s # Testing script Kali (code 1264675945) 1136s # Testing script Lepc (code 1281716323) 1136s # Testing script Rjng (code 1382706791) 1136s # Testing script Sund (code 1400204900) 1136s # Testing script Saur (code 1398895986) 1136s # Testing script Cham (code 1130914157) 1136s # Testing script Olck (code 1332503403) 1136s # Testing script Vaii (code 1449224553) 1136s # Testing script Cari (code 1130459753) 1136s # Testing script Lyci (code 1283023721) 1136s # Testing script Lydi (code 1283023977) 1136s # Testing script Avst (code 1098281844) 1136s # Testing script Bamu (code 1113681269) 1136s # Testing script Egyp (code 1164409200) 1136s # Testing script Armi (code 1098018153) 1136s # Testing script Phli (code 1349020777) 1136s # Testing script Prti (code 1349678185) 1136s # Testing script Java (code 1247901281) 1136s # Testing script Kthi (code 1265920105) 1136s # Testing script Lisu (code 1281979253) 1136s # Testing script Mtei (code 1299473769) 1136s # Testing script Sarb (code 1398895202) 1136s # Testing script Orkh (code 1332898664) 1136s # Testing script Samr (code 1398893938) 1136s # Testing script Lana (code 1281453665) 1136s # Testing script Tavt (code 1415673460) 1136s # Testing script Batk (code 1113683051) 1136s # Testing script Brah (code 1114792296) 1136s # Testing script Mand (code 1298230884) 1136s # Testing script Cakm (code 1130457965) 1136s # Testing script Merc (code 1298494051) 1136s # Testing script Mero (code 1298494063) 1136s # Testing script Plrd (code 1349284452) 1136s # Testing script Shrd (code 1399353956) 1136s # Testing script Sora (code 1399812705) 1136s # Testing script Takr (code 1415670642) 1136s # Testing script Bass (code 1113682803) 1136s # Testing script Aghb (code 1097295970) 1136s # Testing script Dupl (code 1148547180) 1136s # Testing script Elba (code 1164730977) 1136s # Testing script Gran (code 1198678382) 1136s # Testing script Khoj (code 1265135466) 1136s # Testing script Sind (code 1399418468) 1136s # Testing script Lina (code 1281977953) 1136s # Testing script Mahj (code 1298229354) 1136s # Testing script Mani (code 1298230889) 1136s # Testing script Mend (code 1298493028) 1136s # Testing script Modi (code 1299145833) 1136s # Testing script Mroo (code 1299345263) 1136s # Testing script Nbat (code 1315070324) 1136s # Testing script Narb (code 1315009122) 1136s # Testing script Perm (code 1348825709) 1136s # Testing script Hmng (code 1215131239) 1136s # Testing script Palm (code 1348562029) 1136s # Testing script Pauc (code 1348564323) 1136s # Testing script Phlp (code 1349020784) 1136s # Testing script Sidd (code 1399415908) 1136s # Testing script Tirh (code 1416196712) 1136s # Testing script Wara (code 1466004065) 1136s # Testing script Ahom (code 1097363309) 1136s # Testing script Hluw (code 1215067511) 1136s # Testing script Hatr (code 1214346354) 1136s # Testing script Mult (code 1299541108) 1136s # Testing script Hung (code 1215655527) 1136s # Testing script Sgnw (code 1399287415) 1136s # Testing script Adlm (code 1097100397) 1136s # Testing script Bhks (code 1114139507) 1136s # Testing script Marc (code 1298231907) 1136s # Testing script Newa (code 1315272545) 1136s # Testing script Osge (code 1332963173) 1136s # Testing script Tang (code 1415671399) 1136s # Testing script Gonm (code 1198485101) 1136s # Testing script Nshu (code 1316186229) 1136s # Testing script Soyo (code 1399814511) 1136s # Testing script Zanb (code 1516334690) 1136s # Testing script Dogr (code 1148151666) 1136s # Testing script Gong (code 1198485095) 1136s # Testing script Rohg (code 1383032935) 1136s # Testing script Maka (code 1298230113) 1136s # Testing script Medf (code 1298490470) 1136s # Testing script Sogo (code 1399809903) 1136s # Testing script Sogd (code 1399809892) 1136s # Testing script Elym (code 1164736877) 1136s # Testing script Nand (code 1315008100) 1136s # Testing script Hmnp (code 1215131248) 1136s # Testing script Wcho (code 1466132591) 1136s # Testing script Chrs (code 1130918515) 1136s # Testing script Diak (code 1147756907) 1136s # Testing script Kits (code 1265202291) 1136s # Testing script Yezi (code 1499822697) 1136s # Testing script Cpmn (code 1131441518) 1136s # Testing script Ougr (code 1333094258) 1136s # Testing script Tnsa (code 1416524641) 1136s # Testing script Toto (code 1416590447) 1136s # Testing script Vith (code 1449751656) 1136s # Testing script Kawi (code 1264678761) 1136s # Testing script Nagm (code 1315006317) 1136s ok 21 /unicode/iso15924 1136s ok 22 /unicode/lower 1136s ok 23 /unicode/mark 1136s ok 24 /unicode/mirror 1136s ok 25 /unicode/print 1136s ok 26 /unicode/punctuation 1136s ok 27 /unicode/script 1136s ok 28 /unicode/space 1136s ok 29 /unicode/strdown 1136s ok 30 /unicode/strup 1136s ok 31 /unicode/turkish-strupdown 1136s ok 32 /unicode/title 1136s ok 33 /unicode/upper 1136s ok 34 /unicode/validate 1136s ok 35 /unicode/wide 1136s ok 36 /unicode/xdigit 1136s ok 37 /unicode/xdigit-value 1136s ok 38 /unicode/zero-width 1136s ok 39 /unicode/normalize 1136s # End of unicode tests 1136s ok - glib/unicode.test 1136s # Running test: glib/atomic-c-17.test 1136s TAP version 14 1136s # random seed: R02S57b575e791196e60acdfd80b21b9c41f 1136s 1..2 1136s # Start of atomic tests 1136s ok 1 /atomic/types 1136s ok 2 /atomic/threaded 1136s # End of atomic tests 1136s ok - glib/atomic-c-17.test 1136s # Running test: glib/giomodule.test 1136s TAP version 14 1136s # random seed: R02S2933f987f9e709845a174b7656a3b9cc 1136s 1..3 1136s # Start of giomodule tests 1136s ok 1 /giomodule/extension-point 1136s ok 2 /giomodule/module-scan-all 1136s ok 3 /giomodule/module-scan-all-with-scope 1136s # End of giomodule tests 1136s ok - glib/giomodule.test 1136s # Running test: glib/signals-refcount4.test 1136s TAP version 14 1136s # random seed: R02S410af3b7b7ada268a15c5f0d35584f3d 1136s 1..1 1136s # Start of gobject tests 1136s # Start of refcount tests 1136s # init 0x5ac2c478c420 1136s # 1136s # init 0x5ac2c478c5c0 1136s # 1137s # Executing: glib/signals-refcount4.test 1141s # dispose 0x5ac2c478c420! 1141s # 1141s # dispose 0x5ac2c478c5c0! 1141s # 1141s ok 1 /gobject/refcount/signals 1141s # slow test /gobject/refcount/signals executed in 5.00 secs 1141s # End of refcount tests 1141s # End of gobject tests 1141s ok - glib/signals-refcount4.test 1141s # Running test: glib/gobject-query.py.test 1141s TAP version 13 1141s ok 1 __main__.TestGobjectQuery.test_froots 1141s # gobject-query: /usr/bin/gobject-query 1141s # Running: ['/usr/bin/gobject-query', 'froots'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # Output: ├void 1141s # ├GInterface 1141s # │ â””GTypePlugin 1141s # ├gchar 1141s # ├guchar 1141s # ├gboolean 1141s # ├gint 1141s # ├guint 1141s # ├glong 1141s # ├gulong 1141s # ├gint64 1141s # ├guint64 1141s # ├GEnum 1141s # ├GFlags 1141s # ├gfloat 1141s # ├gdouble 1141s # ├gchararray 1141s # ├gpointer 1141s # │ â””GType 1141s # ├GBoxed 1141s # │ â””GValueArray 1141s # ├GParam 1141s # │ ├GParamChar 1141s # │ ├GParamUChar 1141s # │ ├GParamBoolean 1141s # │ ├GParamInt 1141s # │ ├GParamUInt 1141s # │ ├GParamLong 1141s # │ ├GParamULong 1141s # │ ├GParamInt64 1141s # │ ├GParamUInt64 1141s # │ ├GParamUnichar 1141s # │ ├GParamEnum 1141s # │ ├GParamFlags 1141s # │ ├GParamFloat 1141s # │ ├GParamDouble 1141s # │ ├GParamString 1141s # │ ├GParamParam 1141s # │ ├GParamBoxed 1141s # │ ├GParamPointer 1141s # │ ├GParamValueArray 1141s # │ ├GParamObject 1141s # │ ├GParamOverride 1141s # │ ├GParamGType 1141s # │ â””GParamVariant 1141s # ├GObject 1141s # â””GVariant 1141s ok 2 __main__.TestGobjectQuery.test_help 1141s # gobject-query: /usr/bin/gobject-query 1141s # Running: ['/usr/bin/gobject-query', '--help'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1141s # -r specify root type 1141s # -n don't descend type tree 1141s # -h show help 1141s # -b specify indent string 1141s # -i specify incremental indent string 1141s # -s specify line spacing 1141s # qualifiers: 1141s # froots iterate over fundamental roots 1141s # tree print type tree 1141s ok 3 __main__.TestGobjectQuery.test_tree 1141s # gobject-query: /usr/bin/gobject-query 1141s # Running: ['/usr/bin/gobject-query', 'tree'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # Output: GObject 1141s ok 4 __main__.TestGobjectQuery.test_version 1141s # gobject-query: /usr/bin/gobject-query 1141s # Running: ['/usr/bin/gobject-query', '--version'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # Output: 2.82.4 1141s 1..4 1141s ok - glib/gobject-query.py.test 1141s # Running test: glib/codegen.py.test 1141s TAP version 13 1141s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1141s # tmpdir: /tmp/tmpo0riy0gk 1141s # codegen: /usr/bin/gdbus-codegen 1141s # /tmp/tmpo0riy0gk/tmpy09euusb.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo0riy0gk/tmpy09euusb.xml', '--output', '-', '--header'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # Output: /* 1141s # * This file is generated by gdbus-codegen, do not modify it. 1141s # * 1141s # * The license of this code is the same as for the D-Bus interface description 1141s # * it was derived from. Note that it links to GLib, so must comply with the 1141s # * LGPL linking clauses. 1141s # */ 1141s # 1141s # #ifndef __STDOUT__ 1141s # #define __STDOUT__ 1141s # 1141s # #include 1141s # 1141s # G_BEGIN_DECLS 1141s # 1141s # 1141s # /* ------------------------------------------------------------------------ */ 1141s # /* Declarations for org.project.UsefulInterface */ 1141s # 1141s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1141s # 1141s # struct _OrgProjectUsefulInterface; 1141s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1141s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1141s # 1141s # struct _OrgProjectUsefulInterfaceIface 1141s # { 1141s # GTypeInterface parent_iface; 1141s # 1141s # gboolean (*handle_useful_method) ( 1141s # OrgProjectUsefulInterface *object, 1141s # GDBusMethodInvocation *invocation); 1141s # 1141s # }; 1141s # 1141s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1141s # 1141s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1141s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1141s # 1141s # 1141s # /* D-Bus method call completion functions: */ 1141s # void org_project_useful_interface_complete_useful_method ( 1141s # OrgProjectUsefulInterface *object, 1141s # GDBusMethodInvocation *invocation); 1141s # 1141s # 1141s # 1141s # /* D-Bus method calls: */ 1141s # void org_project_useful_interface_call_useful_method ( 1141s # OrgProjectUsefulInterface *proxy, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data); 1141s # 1141s # gboolean org_project_useful_interface_call_useful_method_finish ( 1141s # OrgProjectUsefulInterface *proxy, 1141s # GAsyncResult *res, 1141s # GError **error); 1141s # 1141s # gboolean org_project_useful_interface_call_useful_method_sync ( 1141s # OrgProjectUsefulInterface *proxy, 1141s # GCancellable *cancellable, 1141s # GError **error); 1141s # 1141s # 1141s # 1141s # /* ---- */ 1141s # 1141s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1141s # 1141s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1141s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1141s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1141s # 1141s # struct _OrgProjectUsefulInterfaceProxy 1141s # { 1141s # /*< private >*/ 1141s # GDBusProxy parent_instance; 1141s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1141s # }; 1141s # 1141s # struct _OrgProjectUsefulInterfaceProxyClass 1141s # { 1141s # GDBusProxyClass parent_class; 1141s # }; 1141s # 1141s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1141s # 1141s # #if GLIB_CHECK_VERSION(2, 44, 0) 1141s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1141s # #endif 1141s # 1141s # void org_project_useful_interface_proxy_new ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1141s # GAsyncResult *res, 1141s # GError **error); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error); 1141s # 1141s # void org_project_useful_interface_proxy_new_for_bus ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1141s # GAsyncResult *res, 1141s # GError **error); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error); 1141s # 1141s # 1141s # /* ---- */ 1141s # 1141s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1141s # 1141s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1141s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1141s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1141s # 1141s # struct _OrgProjectUsefulInterfaceSkeleton 1141s # { 1141s # /*< private >*/ 1141s # GDBusInterfaceSkeleton parent_instance; 1141s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1141s # }; 1141s # 1141s # struct _OrgProjectUsefulInterfaceSkeletonClass 1141s # { 1141s # GDBusInterfaceSkeletonClass parent_class; 1141s # }; 1141s # 1141s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1141s # 1141s # #if GLIB_CHECK_VERSION(2, 44, 0) 1141s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1141s # #endif 1141s # 1141s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1141s # 1141s # 1141s # G_END_DECLS 1141s # 1141s # #endif /* __STDOUT__ */ 1141s # /tmp/tmpo0riy0gk/tmpfq09e76w.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo0riy0gk/tmpfq09e76w.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # Output: /* 1141s # * This file is generated by gdbus-codegen, do not modify it. 1141s # * 1141s # * The license of this code is the same as for the D-Bus interface description 1141s # * it was derived from. Note that it links to GLib, so must comply with the 1141s # * LGPL linking clauses. 1141s # */ 1141s # 1141s # #ifndef __STDOUT__ 1141s # #define __STDOUT__ 1141s # 1141s # #include 1141s # 1141s # G_BEGIN_DECLS 1141s # 1141s # 1141s # /* ------------------------------------------------------------------------ */ 1141s # /* Declarations for org.project.UsefulInterface */ 1141s # 1141s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1141s # 1141s # struct _OrgProjectUsefulInterface; 1141s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1141s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1141s # 1141s # struct _OrgProjectUsefulInterfaceIface 1141s # { 1141s # GTypeInterface parent_iface; 1141s # 1141s # gboolean (*handle_useful_method) ( 1141s # OrgProjectUsefulInterface *object, 1141s # GDBusMethodInvocation *invocation); 1141s # 1141s # }; 1141s # 1141s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1141s # 1141s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1141s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1141s # 1141s # 1141s # /* D-Bus method call completion functions: */ 1141s # void org_project_useful_interface_complete_useful_method ( 1141s # OrgProjectUsefulInterface *object, 1141s # GDBusMethodInvocation *invocation); 1141s # 1141s # 1141s # 1141s # /* D-Bus method calls: */ 1141s # void org_project_useful_interface_call_useful_method ( 1141s # OrgProjectUsefulInterface *proxy, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data); 1141s # 1141s # gboolean org_project_useful_interface_call_useful_method_finish ( 1141s # OrgProjectUsefulInterface *proxy, 1141s # GAsyncResult *res, 1141s # GError **error); 1141s # 1141s # gboolean org_project_useful_interface_call_useful_method_sync ( 1141s # OrgProjectUsefulInterface *proxy, 1141s # GCancellable *cancellable, 1141s # GError **error); 1141s # 1141s # 1141s # 1141s # /* ---- */ 1141s # 1141s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1141s # 1141s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1141s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1141s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1141s # 1141s # struct _OrgProjectUsefulInterfaceProxy 1141s # { 1141s # /*< private >*/ 1141s # GDBusProxy parent_instance; 1141s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1141s # }; 1141s # 1141s # struct _OrgProjectUsefulInterfaceProxyClass 1141s # { 1141s # GDBusProxyClass parent_class; 1141s # }; 1141s # 1141s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1141s # 1141s # #if GLIB_CHECK_VERSION(2, 44, 0) 1141s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1141s # #endif 1141s # 1141s # void org_project_useful_interface_proxy_new ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1141s # GAsyncResult *res, 1141s # GError **error); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error); 1141s # 1141s # void org_project_useful_interface_proxy_new_for_bus ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1141s # GAsyncResult *res, 1141s # GError **error); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error); 1141s # 1141s # 1141s # /* ---- */ 1141s # 1141s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1141s # 1141s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1141s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1141s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1141s # 1141s # struct _OrgProjectUsefulInterfaceSkeleton 1141s # { 1141s # /*< private >*/ 1141s # GDBusInterfaceSkeleton parent_instance; 1141s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1141s # }; 1141s # 1141s # struct _OrgProjectUsefulInterfaceSkeletonClass 1141s # { 1141s # GDBusInterfaceSkeletonClass parent_class; 1141s # }; 1141s # 1141s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1141s # 1141s # #if GLIB_CHECK_VERSION(2, 44, 0) 1141s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1141s # #endif 1141s # 1141s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1141s # 1141s # 1141s # G_END_DECLS 1141s # 1141s # #endif /* __STDOUT__ */ 1141s # /tmp/tmpo0riy0gk/tmpzzfvqheb.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo0riy0gk/tmpzzfvqheb.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # Output: /* 1141s # * This file is generated by gdbus-codegen, do not modify it. 1141s # * 1141s # * The license of this code is the same as for the D-Bus interface description 1141s # * it was derived from. Note that it links to GLib, so must comply with the 1141s # * LGPL linking clauses. 1141s # */ 1141s # 1141s # #ifndef __STDOUT__ 1141s # #define __STDOUT__ 1141s # 1141s # #include 1141s # 1141s # G_BEGIN_DECLS 1141s # 1141s # 1141s # /* ------------------------------------------------------------------------ */ 1141s # /* Declarations for org.project.UsefulInterface */ 1141s # 1141s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1141s # 1141s # struct _OrgProjectUsefulInterface; 1141s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1141s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1141s # 1141s # struct _OrgProjectUsefulInterfaceIface 1141s # { 1141s # GTypeInterface parent_iface; 1141s # 1141s # gboolean (*handle_useful_method) ( 1141s # OrgProjectUsefulInterface *object, 1141s # GDBusMethodInvocation *invocation); 1141s # 1141s # }; 1141s # 1141s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1141s # 1141s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1141s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1141s # 1141s # 1141s # /* D-Bus method call completion functions: */ 1141s # void org_project_useful_interface_complete_useful_method ( 1141s # OrgProjectUsefulInterface *object, 1141s # GDBusMethodInvocation *invocation); 1141s # 1141s # 1141s # 1141s # /* D-Bus method calls: */ 1141s # void org_project_useful_interface_call_useful_method ( 1141s # OrgProjectUsefulInterface *proxy, 1141s # GDBusCallFlags call_flags, 1141s # gint timeout_msec, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data); 1141s # 1141s # gboolean org_project_useful_interface_call_useful_method_finish ( 1141s # OrgProjectUsefulInterface *proxy, 1141s # GAsyncResult *res, 1141s # GError **error); 1141s # 1141s # gboolean org_project_useful_interface_call_useful_method_sync ( 1141s # OrgProjectUsefulInterface *proxy, 1141s # GDBusCallFlags call_flags, 1141s # gint timeout_msec, 1141s # GCancellable *cancellable, 1141s # GError **error); 1141s # 1141s # 1141s # 1141s # /* ---- */ 1141s # 1141s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1141s # 1141s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1141s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1141s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1141s # 1141s # struct _OrgProjectUsefulInterfaceProxy 1141s # { 1141s # /*< private >*/ 1141s # GDBusProxy parent_instance; 1141s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1141s # }; 1141s # 1141s # struct _OrgProjectUsefulInterfaceProxyClass 1141s # { 1141s # GDBusProxyClass parent_class; 1141s # }; 1141s # 1141s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1141s # 1141s # #if GLIB_CHECK_VERSION(2, 44, 0) 1141s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1141s # #endif 1141s # 1141s # void org_project_useful_interface_proxy_new ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1141s # GAsyncResult *res, 1141s # GError **error); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error); 1141s # 1141s # void org_project_useful_interface_proxy_new_for_bus ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1141s # GAsyncResult *res, 1141s # GError **error); 1141s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error); 1141s # 1141s # 1141s # /* ---- */ 1141s # 1141s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1141s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1141s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1141s # 1141s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1141s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1141s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1141s # 1141s # struct _OrgProjectUsefulInterfaceSkeleton 1141s # { 1141s # /*< private >*/ 1141s # GDBusInterfaceSkeleton parent_instance; 1141s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1141s # }; 1141s # 1141s # struct _OrgProjectUsefulInterfaceSkeletonClass 1141s # { 1141s # GDBusInterfaceSkeletonClass parent_class; 1141s # }; 1141s # 1141s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1141s # 1141s # #if GLIB_CHECK_VERSION(2, 44, 0) 1141s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1141s # #endif 1141s # 1141s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1141s # 1141s # 1141s # G_END_DECLS 1141s # 1141s # #endif /* __STDOUT__ */ 1141s ok 2 __main__.TestCodegen.test_dbus_types 1141s # tmpdir: /tmp/tmpw4_u2349 1141s # codegen: /usr/bin/gdbus-codegen 1141s # /tmp/tmpw4_u2349/tmps650_iam.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmps650_iam.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmpvs2v3mzl.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmpvs2v3mzl.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmpv5nuv8v4.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmpv5nuv8v4.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmpzwjqk4us.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmpzwjqk4us.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmpn3acedvp.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmpn3acedvp.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmpycj25hu8.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmpycj25hu8.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmptamcxur8.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmptamcxur8.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmp_lfcha_i.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmp_lfcha_i.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmpmoew2njz.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmpmoew2njz.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmpr21cczvb.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmpr21cczvb.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmptau90wdk.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmptau90wdk.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmp95qdjtz4.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmp95qdjtz4.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmp8wsxsa34.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmp8wsxsa34.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # /tmp/tmpw4_u2349/tmphsehomwy.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmphsehomwy.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # Output: /* 1141s # * This file is generated by gdbus-codegen, do not modify it. 1141s # * 1141s # * The license of this code is the same as for the D-Bus interface description 1141s # * it was derived from. Note that it links to GLib, so must comply with the 1141s # * LGPL linking clauses. 1141s # */ 1141s # 1141s # #ifdef HAVE_CONFIG_H 1141s # # include "config.h" 1141s # #endif 1141s # 1141s # #include 1141s # #ifdef G_OS_UNIX 1141s # # include 1141s # #endif 1141s # 1141s # #ifdef G_ENABLE_DEBUG 1141s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1141s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1141s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1141s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1141s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1141s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1141s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1141s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1141s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1141s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1141s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1141s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1141s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1141s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1141s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1141s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1141s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1141s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1141s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1141s # #else /* !G_ENABLE_DEBUG */ 1141s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1141s # * Do not access GValues directly in your code. Instead, use the 1141s # * g_value_get_*() functions 1141s # */ 1141s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1141s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1141s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1141s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1141s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1141s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1141s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1141s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1141s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1141s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1141s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1141s # #endif /* !G_ENABLE_DEBUG */ 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusArgInfo parent_struct; 1141s # gboolean use_gvariant; 1141s # } _ExtendedGDBusArgInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusMethodInfo parent_struct; 1141s # const gchar *signal_name; 1141s # gboolean pass_fdlist; 1141s # } _ExtendedGDBusMethodInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusSignalInfo parent_struct; 1141s # const gchar *signal_name; 1141s # } _ExtendedGDBusSignalInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusPropertyInfo parent_struct; 1141s # const gchar *hyphen_name; 1141s # guint use_gvariant : 1; 1141s # guint emits_changed_signal : 1; 1141s # } _ExtendedGDBusPropertyInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusInterfaceInfo parent_struct; 1141s # const gchar *hyphen_name; 1141s # } _ExtendedGDBusInterfaceInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # guint prop_id; 1141s # GValue orig_value; /* the value before the change */ 1141s # } ChangedProperty; 1141s # 1141s # static void 1141s # _changed_property_free (ChangedProperty *data) 1141s # { 1141s # g_value_unset (&data->orig_value); 1141s # g_free (data); 1141s # } 1141s # 1141s # static gboolean 1141s # _g_strv_equal0 (gchar **a, gchar **b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # guint n; 1141s # if (a == NULL && b == NULL) 1141s # { 1141s # ret = TRUE; 1141s # goto out; 1141s # } 1141s # if (a == NULL || b == NULL) 1141s # goto out; 1141s # if (g_strv_length (a) != g_strv_length (b)) 1141s # goto out; 1141s # for (n = 0; a[n] != NULL; n++) 1141s # if (g_strcmp0 (a[n], b[n]) != 0) 1141s # goto out; 1141s # ret = TRUE; 1141s # out: 1141s # return ret; 1141s # } 1141s # 1141s # static gboolean 1141s # _g_variant_equal0 (GVariant *a, GVariant *b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # if (a == NULL && b == NULL) 1141s # { 1141s # ret = TRUE; 1141s # goto out; 1141s # } 1141s # if (a == NULL || b == NULL) 1141s # goto out; 1141s # ret = g_variant_equal (a, b); 1141s # out: 1141s # return ret; 1141s # } 1141s # 1141s # G_GNUC_UNUSED static gboolean 1141s # _g_value_equal (const GValue *a, const GValue *b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1141s # switch (G_VALUE_TYPE (a)) 1141s # { 1141s # case G_TYPE_BOOLEAN: 1141s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1141s # break; 1141s # case G_TYPE_UCHAR: 1141s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1141s # break; 1141s # case G_TYPE_INT: 1141s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1141s # break; 1141s # case G_TYPE_UINT: 1141s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1141s # break; 1141s # case G_TYPE_INT64: 1141s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1141s # break; 1141s # case G_TYPE_UINT64: 1141s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1141s # break; 1141s # case G_TYPE_DOUBLE: 1141s # { 1141s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1141s # gdouble da = g_value_get_double (a); 1141s # gdouble db = g_value_get_double (b); 1141s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1141s # } 1141s # break; 1141s # case G_TYPE_STRING: 1141s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1141s # break; 1141s # case G_TYPE_VARIANT: 1141s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1141s # break; 1141s # default: 1141s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1141s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1141s # else 1141s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1141s # break; 1141s # } 1141s # return ret; 1141s # } 1141s # 1141s # /* ------------------------------------------------------------------------ 1141s # * Code for interface GoodTypes 1141s # * ------------------------------------------------------------------------ 1141s # */ 1141s # 1141s # /** 1141s # * SECTION:GoodTypes 1141s # * @title: GoodTypes 1141s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1141s # * 1141s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1141s # */ 1141s # 1141s # /* ---- Introspection data for GoodTypes ---- */ 1141s # 1141s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1141s # { 1141s # { 1141s # -1, 1141s # (gchar *) "GoodPropertyType", 1141s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1141s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1141s # NULL 1141s # }, 1141s # "good-property-type", 1141s # FALSE, 1141s # TRUE 1141s # }; 1141s # 1141s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1141s # { 1141s # &_good_types_property_info_good_property_type.parent_struct, 1141s # NULL 1141s # }; 1141s # 1141s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1141s # { 1141s # { 1141s # -1, 1141s # (gchar *) "GoodTypes", 1141s # NULL, 1141s # NULL, 1141s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1141s # NULL 1141s # }, 1141s # "good-types", 1141s # }; 1141s # 1141s # 1141s # /** 1141s # * good_types_interface_info: 1141s # * 1141s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1141s # * 1141s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1141s # */ 1141s # GDBusInterfaceInfo * 1141s # good_types_interface_info (void) 1141s # { 1141s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1141s # } 1141s # 1141s # /** 1141s # * good_types_override_properties: 1141s # * @klass: The class structure for a #GObject derived class. 1141s # * @property_id_begin: The property id to assign to the first overridden property. 1141s # * 1141s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1141s # * The properties are overridden in the order they are defined. 1141s # * 1141s # * Returns: The last property id. 1141s # */ 1141s # guint 1141s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1141s # { 1141s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1141s # return property_id_begin - 1; 1141s # } 1141s # 1141s # 1141s # 1141s # /** 1141s # * GoodTypes: 1141s # * 1141s # * Abstract interface type for the D-Bus interface GoodTypes. 1141s # */ 1141s # 1141s # /** 1141s # * GoodTypesIface: 1141s # * @parent_iface: The parent interface. 1141s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1141s # * 1141s # * Virtual table for the D-Bus interface GoodTypes. 1141s # */ 1141s # 1141s # typedef GoodTypesIface GoodTypesInterface; 1141s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1141s # 1141s # static void 1141s # good_types_default_init (GoodTypesIface *iface) 1141s # { 1141s # /* GObject properties for D-Bus properties: */ 1141s # /** 1141s # * GoodTypes:good-property-type: 1141s # * 1141s # * Represents the D-Bus property "GoodPropertyType". 1141s # * 1141s # * 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. 1141s # */ 1141s # g_object_interface_install_property (iface, 1141s # 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)); 1141s # } 1141s # 1141s # /** 1141s # * good_types_get_good_property_type: (skip) 1141s # * @object: A GoodTypes. 1141s # * 1141s # * Gets the value of the "GoodPropertyType" D-Bus property. 1141s # * 1141s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1141s # * 1141s # * 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. 1141s # * 1141s # * 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. 1141s # */ 1141s # GVariant * 1141s # good_types_get_good_property_type (GoodTypes *object) 1141s # { 1141s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1141s # 1141s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1141s # } 1141s # 1141s # /** 1141s # * good_types_dup_good_property_type: (skip) 1141s # * @object: A GoodTypes. 1141s # * 1141s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1141s # * 1141s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1141s # * 1141s # * 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(). 1141s # */ 1141s # GVariant * 1141s # good_types_dup_good_property_type (GoodTypes *object) 1141s # { 1141s # GVariant *value; 1141s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1141s # return value; 1141s # } 1141s # 1141s # /** 1141s # * good_types_set_good_property_type: (skip) 1141s # * @object: A GoodTypes. 1141s # * @value: The value to set. 1141s # * 1141s # * Sets the "GoodPropertyType" D-Bus property to @value. 1141s # * 1141s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1141s # */ 1141s # void 1141s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1141s # { 1141s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1141s # } 1141s # 1141s # /* ------------------------------------------------------------------------ */ 1141s # 1141s # /** 1141s # * GoodTypesProxy: 1141s # * 1141s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1141s # */ 1141s # 1141s # /** 1141s # * GoodTypesProxyClass: 1141s # * @parent_class: The parent class. 1141s # * 1141s # * Class structure for GoodTypesProxy. 1141s # */ 1141s # 1141s # struct _GoodTypesProxyPrivate 1141s # { 1141s # GData *qdata; 1141s # }; 1141s # 1141s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1141s # 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1141s # G_ADD_PRIVATE (GoodTypesProxy) 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1141s # 1141s # #else 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1141s # 1141s # #endif 1141s # static void 1141s # good_types_proxy_finalize (GObject *object) 1141s # { 1141s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1141s # g_datalist_clear (&proxy->priv->qdata); 1141s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_get_property (GObject *object, 1141s # guint prop_id, 1141s # GValue *value, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # GVariant *variant; 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1141s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1141s # if (info->use_gvariant) 1141s # { 1141s # g_value_set_variant (value, variant); 1141s # } 1141s # else 1141s # { 1141s # if (variant != NULL) 1141s # g_dbus_gvariant_to_gvalue (variant, value); 1141s # } 1141s # if (variant != NULL) 1141s # g_variant_unref (variant); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1141s # GAsyncResult *res, 1141s # gpointer user_data) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info = user_data; 1141s # GError *error; 1141s # GVariant *_ret; 1141s # error = NULL; 1141s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1141s # if (!_ret) 1141s # { 1141s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1141s # info->parent_struct.name, 1141s # error->message, g_quark_to_string (error->domain), error->code); 1141s # g_error_free (error); 1141s # } 1141s # else 1141s # { 1141s # g_variant_unref (_ret); 1141s # } 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_set_property (GObject *object, 1141s # guint prop_id, 1141s # const GValue *value, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # GVariant *variant; 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1141s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1141s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1141s # "org.freedesktop.DBus.Properties.Set", 1141s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1141s # G_DBUS_CALL_FLAGS_NONE, 1141s # -1, 1141s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1141s # g_variant_unref (variant); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_g_signal (GDBusProxy *proxy, 1141s # const gchar *sender_name G_GNUC_UNUSED, 1141s # const gchar *signal_name, 1141s # GVariant *parameters) 1141s # { 1141s # _ExtendedGDBusSignalInfo *info; 1141s # GVariantIter iter; 1141s # GVariant *child; 1141s # GValue *paramv; 1141s # gsize num_params; 1141s # gsize n; 1141s # guint signal_id; 1141s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1141s # if (info == NULL) 1141s # return; 1141s # num_params = g_variant_n_children (parameters); 1141s # paramv = g_new0 (GValue, num_params + 1); 1141s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1141s # g_value_set_object (¶mv[0], proxy); 1141s # g_variant_iter_init (&iter, parameters); 1141s # n = 1; 1141s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1141s # { 1141s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1141s # if (arg_info->use_gvariant) 1141s # { 1141s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1141s # g_value_set_variant (¶mv[n], child); 1141s # n++; 1141s # } 1141s # else 1141s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1141s # g_variant_unref (child); 1141s # } 1141s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1141s # g_signal_emitv (paramv, signal_id, 0, NULL); 1141s # for (n = 0; n < num_params + 1; n++) 1141s # g_value_unset (¶mv[n]); 1141s # g_free (paramv); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1141s # GVariant *changed_properties, 1141s # const gchar *const *invalidated_properties) 1141s # { 1141s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1141s # guint n; 1141s # const gchar *key; 1141s # GVariantIter *iter; 1141s # _ExtendedGDBusPropertyInfo *info; 1141s # g_variant_get (changed_properties, "a{sv}", &iter); 1141s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1141s # { 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1141s # g_datalist_remove_data (&proxy->priv->qdata, key); 1141s # if (info != NULL) 1141s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1141s # } 1141s # g_variant_iter_free (iter); 1141s # for (n = 0; invalidated_properties[n] != NULL; n++) 1141s # { 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1141s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1141s # if (info != NULL) 1141s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1141s # } 1141s # } 1141s # 1141s # static GVariant * 1141s # good_types_proxy_get_good_property_type (GoodTypes *object) 1141s # { 1141s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1141s # GVariant *variant; 1141s # GVariant *value = NULL; 1141s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1141s # value = variant; 1141s # if (variant != NULL) 1141s # g_variant_unref (variant); 1141s # return value; 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_init (GoodTypesProxy *proxy) 1141s # { 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1141s # #else 1141s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1141s # #endif 1141s # 1141s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1141s # { 1141s # GObjectClass *gobject_class; 1141s # GDBusProxyClass *proxy_class; 1141s # 1141s # gobject_class = G_OBJECT_CLASS (klass); 1141s # gobject_class->finalize = good_types_proxy_finalize; 1141s # gobject_class->get_property = good_types_proxy_get_property; 1141s # gobject_class->set_property = good_types_proxy_set_property; 1141s # 1141s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1141s # proxy_class->g_signal = good_types_proxy_g_signal; 1141s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1141s # 1141s # good_types_override_properties (gobject_class, 1); 1141s # 1141s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1141s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1141s # #endif 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_iface_init (GoodTypesIface *iface) 1141s # { 1141s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new: 1141s # * @connection: A #GDBusConnection. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1141s # * @user_data: User data to pass to @callback. 1141s # * 1141s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1141s # * 1141s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1141s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1141s # * 1141s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1141s # */ 1141s # void 1141s # good_types_proxy_new ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data) 1141s # { 1141s # 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); 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_finish: 1141s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Finishes an operation started with good_types_proxy_new(). 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_finish ( 1141s # GAsyncResult *res, 1141s # GError **error) 1141s # { 1141s # GObject *ret; 1141s # GObject *source_object; 1141s # source_object = g_async_result_get_source_object (res); 1141s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1141s # g_object_unref (source_object); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_sync: 1141s # * @connection: A #GDBusConnection. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1141s # * 1141s # * The calling thread is blocked until a reply is received. 1141s # * 1141s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_sync ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error) 1141s # { 1141s # GInitable *ret; 1141s # 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); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # 1141s # /** 1141s # * good_types_proxy_new_for_bus: 1141s # * @bus_type: A #GBusType. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: A bus name (well-known or unique). 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1141s # * @user_data: User data to pass to @callback. 1141s # * 1141s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1141s # * 1141s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1141s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1141s # * 1141s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1141s # */ 1141s # void 1141s # good_types_proxy_new_for_bus ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data) 1141s # { 1141s # 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); 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_for_bus_finish: 1141s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_for_bus_finish ( 1141s # GAsyncResult *res, 1141s # GError **error) 1141s # { 1141s # GObject *ret; 1141s # GObject *source_object; 1141s # source_object = g_async_result_get_source_object (res); 1141s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1141s # g_object_unref (source_object); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_for_bus_sync: 1141s # * @bus_type: A #GBusType. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: A bus name (well-known or unique). 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1141s # * 1141s # * The calling thread is blocked until a reply is received. 1141s # * 1141s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_for_bus_sync ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error) 1141s # { 1141s # GInitable *ret; 1141s # 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); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # 1141s # /* ------------------------------------------------------------------------ */ 1141s # 1141s # /** 1141s # * GoodTypesSkeleton: 1141s # * 1141s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1141s # */ 1141s # 1141s # /** 1141s # * GoodTypesSkeletonClass: 1141s # * @parent_class: The parent class. 1141s # * 1141s # * Class structure for GoodTypesSkeleton. 1141s # */ 1141s # 1141s # struct _GoodTypesSkeletonPrivate 1141s # { 1141s # GValue *properties; 1141s # GList *changed_properties; 1141s # GSource *changed_properties_idle_source; 1141s # GMainContext *context; 1141s # GMutex lock; 1141s # }; 1141s # 1141s # static void 1141s # _good_types_skeleton_handle_method_call ( 1141s # GDBusConnection *connection G_GNUC_UNUSED, 1141s # const gchar *sender G_GNUC_UNUSED, 1141s # const gchar *object_path G_GNUC_UNUSED, 1141s # const gchar *interface_name, 1141s # const gchar *method_name, 1141s # GVariant *parameters, 1141s # GDBusMethodInvocation *invocation, 1141s # gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # _ExtendedGDBusMethodInfo *info; 1141s # GVariantIter iter; 1141s # GVariant *child; 1141s # GValue *paramv; 1141s # gsize num_params; 1141s # guint num_extra; 1141s # gsize n; 1141s # guint signal_id; 1141s # GValue return_value = G_VALUE_INIT; 1141s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1141s # g_assert (info != NULL); 1141s # num_params = g_variant_n_children (parameters); 1141s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1141s # n = 0; 1141s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1141s # g_value_set_object (¶mv[n++], skeleton); 1141s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1141s # g_value_set_object (¶mv[n++], invocation); 1141s # if (info->pass_fdlist) 1141s # { 1141s # #ifdef G_OS_UNIX 1141s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1141s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1141s # #else 1141s # g_assert_not_reached (); 1141s # #endif 1141s # } 1141s # g_variant_iter_init (&iter, parameters); 1141s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1141s # { 1141s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1141s # if (arg_info->use_gvariant) 1141s # { 1141s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1141s # g_value_set_variant (¶mv[n], child); 1141s # n++; 1141s # } 1141s # else 1141s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1141s # g_variant_unref (child); 1141s # } 1141s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1141s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1141s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1141s # if (!g_value_get_boolean (&return_value)) 1141s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1141s # g_value_unset (&return_value); 1141s # for (n = 0; n < num_params + num_extra; n++) 1141s # g_value_unset (¶mv[n]); 1141s # g_free (paramv); 1141s # } 1141s # 1141s # static GVariant * 1141s # _good_types_skeleton_handle_get_property ( 1141s # GDBusConnection *connection G_GNUC_UNUSED, 1141s # const gchar *sender G_GNUC_UNUSED, 1141s # const gchar *object_path G_GNUC_UNUSED, 1141s # const gchar *interface_name G_GNUC_UNUSED, 1141s # const gchar *property_name, 1141s # GError **error, 1141s # gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # GValue value = G_VALUE_INIT; 1141s # GParamSpec *pspec; 1141s # _ExtendedGDBusPropertyInfo *info; 1141s # GVariant *ret; 1141s # ret = NULL; 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1141s # g_assert (info != NULL); 1141s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1141s # if (pspec == NULL) 1141s # { 1141s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1141s # } 1141s # else 1141s # { 1141s # g_value_init (&value, pspec->value_type); 1141s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1141s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1141s # g_value_unset (&value); 1141s # } 1141s # return ret; 1141s # } 1141s # 1141s # static gboolean 1141s # _good_types_skeleton_handle_set_property ( 1141s # GDBusConnection *connection G_GNUC_UNUSED, 1141s # const gchar *sender G_GNUC_UNUSED, 1141s # const gchar *object_path G_GNUC_UNUSED, 1141s # const gchar *interface_name G_GNUC_UNUSED, 1141s # const gchar *property_name, 1141s # GVariant *variant, 1141s # GError **error, 1141s # gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # GValue value = G_VALUE_INIT; 1141s # GParamSpec *pspec; 1141s # _ExtendedGDBusPropertyInfo *info; 1141s # gboolean ret; 1141s # ret = FALSE; 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1141s # g_assert (info != NULL); 1141s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1141s # if (pspec == NULL) 1141s # { 1141s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1141s # } 1141s # else 1141s # { 1141s # if (info->use_gvariant) 1141s # g_value_set_variant (&value, variant); 1141s # else 1141s # g_dbus_gvariant_to_gvalue (variant, &value); 1141s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1141s # g_value_unset (&value); 1141s # ret = TRUE; 1141s # } 1141s # return ret; 1141s # } 1141s # 1141s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1141s # { 1141s # _good_types_skeleton_handle_method_call, 1141s # _good_types_skeleton_handle_get_property, 1141s # _good_types_skeleton_handle_set_property, 1141s # {NULL} 1141s # }; 1141s # 1141s # static GDBusInterfaceInfo * 1141s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1141s # { 1141s # return good_types_interface_info (); 1141s # } 1141s # 1141s # static GDBusInterfaceVTable * 1141s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1141s # { 1141s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1141s # } 1141s # 1141s # static GVariant * 1141s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1141s # 1141s # GVariantBuilder builder; 1141s # guint n; 1141s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1141s # if (_good_types_interface_info.parent_struct.properties == NULL) 1141s # goto out; 1141s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1141s # { 1141s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1141s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1141s # { 1141s # GVariant *value; 1141s # 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); 1141s # if (value != NULL) 1141s # { 1141s # g_variant_take_ref (value); 1141s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1141s # g_variant_unref (value); 1141s # } 1141s # } 1141s # } 1141s # out: 1141s # return g_variant_builder_end (&builder); 1141s # } 1141s # 1141s # static gboolean _good_types_emit_changed (gpointer user_data); 1141s # 1141s # static void 1141s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1141s # gboolean emit_changed = FALSE; 1141s # 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # if (skeleton->priv->changed_properties_idle_source != NULL) 1141s # { 1141s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1141s # skeleton->priv->changed_properties_idle_source = NULL; 1141s # emit_changed = TRUE; 1141s # } 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # 1141s # if (emit_changed) 1141s # _good_types_emit_changed (skeleton); 1141s # } 1141s # 1141s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1141s # G_ADD_PRIVATE (GoodTypesSkeleton) 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1141s # 1141s # #else 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1141s # 1141s # #endif 1141s # static void 1141s # good_types_skeleton_finalize (GObject *object) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # guint n; 1141s # for (n = 0; n < 1; n++) 1141s # g_value_unset (&skeleton->priv->properties[n]); 1141s # g_free (skeleton->priv->properties); 1141s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1141s # if (skeleton->priv->changed_properties_idle_source != NULL) 1141s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1141s # g_main_context_unref (skeleton->priv->context); 1141s # g_mutex_clear (&skeleton->priv->lock); 1141s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_get_property (GObject *object, 1141s # guint prop_id, 1141s # GValue *value, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # } 1141s # 1141s # static gboolean 1141s # _good_types_emit_changed (gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # GList *l; 1141s # GVariantBuilder builder; 1141s # GVariantBuilder invalidated_builder; 1141s # guint num_changes; 1141s # 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1141s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1141s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1141s # { 1141s # ChangedProperty *cp = l->data; 1141s # GVariant *variant; 1141s # const GValue *cur_value; 1141s # 1141s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1141s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1141s # { 1141s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1141s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1141s # g_variant_unref (variant); 1141s # num_changes++; 1141s # } 1141s # } 1141s # if (num_changes > 0) 1141s # { 1141s # GList *connections, *ll; 1141s # GVariant *signal_variant; 1141s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1141s # &builder, &invalidated_builder)); 1141s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1141s # for (ll = connections; ll != NULL; ll = ll->next) 1141s # { 1141s # GDBusConnection *connection = ll->data; 1141s # 1141s # g_dbus_connection_emit_signal (connection, 1141s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1141s # "org.freedesktop.DBus.Properties", 1141s # "PropertiesChanged", 1141s # signal_variant, 1141s # NULL); 1141s # } 1141s # g_variant_unref (signal_variant); 1141s # g_list_free_full (connections, g_object_unref); 1141s # } 1141s # else 1141s # { 1141s # g_variant_builder_clear (&builder); 1141s # g_variant_builder_clear (&invalidated_builder); 1141s # } 1141s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1141s # skeleton->priv->changed_properties = NULL; 1141s # skeleton->priv->changed_properties_idle_source = NULL; 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # return FALSE; 1141s # } 1141s # 1141s # static void 1141s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1141s # { 1141s # ChangedProperty *cp; 1141s # GList *l; 1141s # cp = NULL; 1141s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1141s # { 1141s # ChangedProperty *i_cp = l->data; 1141s # if (i_cp->info == info) 1141s # { 1141s # cp = i_cp; 1141s # break; 1141s # } 1141s # } 1141s # if (cp == NULL) 1141s # { 1141s # cp = g_new0 (ChangedProperty, 1); 1141s # cp->prop_id = prop_id; 1141s # cp->info = info; 1141s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1141s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1141s # g_value_copy (orig_value, &cp->orig_value); 1141s # } 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_notify (GObject *object, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # if (skeleton->priv->changed_properties != NULL && 1141s # skeleton->priv->changed_properties_idle_source == NULL) 1141s # { 1141s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1141s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1141s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1141s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1141s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1141s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1141s # } 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_set_property (GObject *object, 1141s # guint prop_id, 1141s # const GValue *value, 1141s # GParamSpec *pspec) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # g_object_freeze_notify (object); 1141s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1141s # { 1141s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1141s # info->emits_changed_signal) 1141s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1141s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1141s # g_object_notify_by_pspec (object, pspec); 1141s # } 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # g_object_thaw_notify (object); 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1141s # { 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1141s # #else 1141s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1141s # #endif 1141s # 1141s # g_mutex_init (&skeleton->priv->lock); 1141s # skeleton->priv->context = g_main_context_ref_thread_default (); 1141s # skeleton->priv->properties = g_new0 (GValue, 1); 1141s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1141s # } 1141s # 1141s # static GVariant * 1141s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # GVariant *value; 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # return value; 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1141s # { 1141s # GObjectClass *gobject_class; 1141s # GDBusInterfaceSkeletonClass *skeleton_class; 1141s # 1141s # gobject_class = G_OBJECT_CLASS (klass); 1141s # gobject_class->finalize = good_types_skeleton_finalize; 1141s # gobject_class->get_property = good_types_skeleton_get_property; 1141s # gobject_class->set_property = good_types_skeleton_set_property; 1141s # gobject_class->notify = good_types_skeleton_notify; 1141s # 1141s # 1141s # good_types_override_properties (gobject_class, 1); 1141s # 1141s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1141s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1141s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1141s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1141s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1141s # 1141s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1141s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1141s # #endif 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1141s # { 1141s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1141s # } 1141s # 1141s # /** 1141s # * good_types_skeleton_new: 1141s # * 1141s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1141s # */ 1141s # GoodTypes * 1141s # good_types_skeleton_new (void) 1141s # { 1141s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1141s # } 1141s # /tmp/tmpw4_u2349/tmppp7301h9.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmppp7301h9.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # Output: /* 1141s # * This file is generated by gdbus-codegen, do not modify it. 1141s # * 1141s # * The license of this code is the same as for the D-Bus interface description 1141s # * it was derived from. Note that it links to GLib, so must comply with the 1141s # * LGPL linking clauses. 1141s # */ 1141s # 1141s # #ifdef HAVE_CONFIG_H 1141s # # include "config.h" 1141s # #endif 1141s # 1141s # #include 1141s # #ifdef G_OS_UNIX 1141s # # include 1141s # #endif 1141s # 1141s # #ifdef G_ENABLE_DEBUG 1141s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1141s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1141s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1141s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1141s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1141s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1141s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1141s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1141s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1141s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1141s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1141s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1141s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1141s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1141s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1141s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1141s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1141s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1141s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1141s # #else /* !G_ENABLE_DEBUG */ 1141s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1141s # * Do not access GValues directly in your code. Instead, use the 1141s # * g_value_get_*() functions 1141s # */ 1141s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1141s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1141s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1141s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1141s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1141s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1141s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1141s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1141s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1141s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1141s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1141s # #endif /* !G_ENABLE_DEBUG */ 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusArgInfo parent_struct; 1141s # gboolean use_gvariant; 1141s # } _ExtendedGDBusArgInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusMethodInfo parent_struct; 1141s # const gchar *signal_name; 1141s # gboolean pass_fdlist; 1141s # } _ExtendedGDBusMethodInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusSignalInfo parent_struct; 1141s # const gchar *signal_name; 1141s # } _ExtendedGDBusSignalInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusPropertyInfo parent_struct; 1141s # const gchar *hyphen_name; 1141s # guint use_gvariant : 1; 1141s # guint emits_changed_signal : 1; 1141s # } _ExtendedGDBusPropertyInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusInterfaceInfo parent_struct; 1141s # const gchar *hyphen_name; 1141s # } _ExtendedGDBusInterfaceInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # guint prop_id; 1141s # GValue orig_value; /* the value before the change */ 1141s # } ChangedProperty; 1141s # 1141s # static void 1141s # _changed_property_free (ChangedProperty *data) 1141s # { 1141s # g_value_unset (&data->orig_value); 1141s # g_free (data); 1141s # } 1141s # 1141s # static gboolean 1141s # _g_strv_equal0 (gchar **a, gchar **b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # guint n; 1141s # if (a == NULL && b == NULL) 1141s # { 1141s # ret = TRUE; 1141s # goto out; 1141s # } 1141s # if (a == NULL || b == NULL) 1141s # goto out; 1141s # if (g_strv_length (a) != g_strv_length (b)) 1141s # goto out; 1141s # for (n = 0; a[n] != NULL; n++) 1141s # if (g_strcmp0 (a[n], b[n]) != 0) 1141s # goto out; 1141s # ret = TRUE; 1141s # out: 1141s # return ret; 1141s # } 1141s # 1141s # static gboolean 1141s # _g_variant_equal0 (GVariant *a, GVariant *b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # if (a == NULL && b == NULL) 1141s # { 1141s # ret = TRUE; 1141s # goto out; 1141s # } 1141s # if (a == NULL || b == NULL) 1141s # goto out; 1141s # ret = g_variant_equal (a, b); 1141s # out: 1141s # return ret; 1141s # } 1141s # 1141s # G_GNUC_UNUSED static gboolean 1141s # _g_value_equal (const GValue *a, const GValue *b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1141s # switch (G_VALUE_TYPE (a)) 1141s # { 1141s # case G_TYPE_BOOLEAN: 1141s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1141s # break; 1141s # case G_TYPE_UCHAR: 1141s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1141s # break; 1141s # case G_TYPE_INT: 1141s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1141s # break; 1141s # case G_TYPE_UINT: 1141s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1141s # break; 1141s # case G_TYPE_INT64: 1141s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1141s # break; 1141s # case G_TYPE_UINT64: 1141s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1141s # break; 1141s # case G_TYPE_DOUBLE: 1141s # { 1141s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1141s # gdouble da = g_value_get_double (a); 1141s # gdouble db = g_value_get_double (b); 1141s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1141s # } 1141s # break; 1141s # case G_TYPE_STRING: 1141s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1141s # break; 1141s # case G_TYPE_VARIANT: 1141s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1141s # break; 1141s # default: 1141s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1141s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1141s # else 1141s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1141s # break; 1141s # } 1141s # return ret; 1141s # } 1141s # 1141s # /* ------------------------------------------------------------------------ 1141s # * Code for interface GoodTypes 1141s # * ------------------------------------------------------------------------ 1141s # */ 1141s # 1141s # /** 1141s # * SECTION:GoodTypes 1141s # * @title: GoodTypes 1141s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1141s # * 1141s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1141s # */ 1141s # 1141s # /* ---- Introspection data for GoodTypes ---- */ 1141s # 1141s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1141s # { 1141s # { 1141s # -1, 1141s # (gchar *) "GoodPropertyType", 1141s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1141s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1141s # NULL 1141s # }, 1141s # "good-property-type", 1141s # FALSE, 1141s # TRUE 1141s # }; 1141s # 1141s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1141s # { 1141s # &_good_types_property_info_good_property_type.parent_struct, 1141s # NULL 1141s # }; 1141s # 1141s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1141s # { 1141s # { 1141s # -1, 1141s # (gchar *) "GoodTypes", 1141s # NULL, 1141s # NULL, 1141s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1141s # NULL 1141s # }, 1141s # "good-types", 1141s # }; 1141s # 1141s # 1141s # /** 1141s # * good_types_interface_info: 1141s # * 1141s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1141s # * 1141s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1141s # */ 1141s # GDBusInterfaceInfo * 1141s # good_types_interface_info (void) 1141s # { 1141s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1141s # } 1141s # 1141s # /** 1141s # * good_types_override_properties: 1141s # * @klass: The class structure for a #GObject derived class. 1141s # * @property_id_begin: The property id to assign to the first overridden property. 1141s # * 1141s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1141s # * The properties are overridden in the order they are defined. 1141s # * 1141s # * Returns: The last property id. 1141s # */ 1141s # guint 1141s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1141s # { 1141s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1141s # return property_id_begin - 1; 1141s # } 1141s # 1141s # 1141s # 1141s # /** 1141s # * GoodTypes: 1141s # * 1141s # * Abstract interface type for the D-Bus interface GoodTypes. 1141s # */ 1141s # 1141s # /** 1141s # * GoodTypesIface: 1141s # * @parent_iface: The parent interface. 1141s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1141s # * 1141s # * Virtual table for the D-Bus interface GoodTypes. 1141s # */ 1141s # 1141s # typedef GoodTypesIface GoodTypesInterface; 1141s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1141s # 1141s # static void 1141s # good_types_default_init (GoodTypesIface *iface) 1141s # { 1141s # /* GObject properties for D-Bus properties: */ 1141s # /** 1141s # * GoodTypes:good-property-type: 1141s # * 1141s # * Represents the D-Bus property "GoodPropertyType". 1141s # * 1141s # * 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. 1141s # */ 1141s # g_object_interface_install_property (iface, 1141s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1141s # } 1141s # 1141s # /** 1141s # * good_types_get_good_property_type: (skip) 1141s # * @object: A GoodTypes. 1141s # * 1141s # * Gets the value of the "GoodPropertyType" D-Bus property. 1141s # * 1141s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1141s # * 1141s # * 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. 1141s # * 1141s # * 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. 1141s # */ 1141s # GVariant * 1141s # good_types_get_good_property_type (GoodTypes *object) 1141s # { 1141s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1141s # 1141s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1141s # } 1141s # 1141s # /** 1141s # * good_types_dup_good_property_type: (skip) 1141s # * @object: A GoodTypes. 1141s # * 1141s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1141s # * 1141s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1141s # * 1141s # * 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(). 1141s # */ 1141s # GVariant * 1141s # good_types_dup_good_property_type (GoodTypes *object) 1141s # { 1141s # GVariant *value; 1141s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1141s # return value; 1141s # } 1141s # 1141s # /** 1141s # * good_types_set_good_property_type: (skip) 1141s # * @object: A GoodTypes. 1141s # * @value: The value to set. 1141s # * 1141s # * Sets the "GoodPropertyType" D-Bus property to @value. 1141s # * 1141s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1141s # */ 1141s # void 1141s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1141s # { 1141s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1141s # } 1141s # 1141s # /* ------------------------------------------------------------------------ */ 1141s # 1141s # /** 1141s # * GoodTypesProxy: 1141s # * 1141s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1141s # */ 1141s # 1141s # /** 1141s # * GoodTypesProxyClass: 1141s # * @parent_class: The parent class. 1141s # * 1141s # * Class structure for GoodTypesProxy. 1141s # */ 1141s # 1141s # struct _GoodTypesProxyPrivate 1141s # { 1141s # GData *qdata; 1141s # }; 1141s # 1141s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1141s # 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1141s # G_ADD_PRIVATE (GoodTypesProxy) 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1141s # 1141s # #else 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1141s # 1141s # #endif 1141s # static void 1141s # good_types_proxy_finalize (GObject *object) 1141s # { 1141s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1141s # g_datalist_clear (&proxy->priv->qdata); 1141s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_get_property (GObject *object, 1141s # guint prop_id, 1141s # GValue *value, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # GVariant *variant; 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1141s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1141s # if (info->use_gvariant) 1141s # { 1141s # g_value_set_variant (value, variant); 1141s # } 1141s # else 1141s # { 1141s # if (variant != NULL) 1141s # g_dbus_gvariant_to_gvalue (variant, value); 1141s # } 1141s # if (variant != NULL) 1141s # g_variant_unref (variant); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1141s # GAsyncResult *res, 1141s # gpointer user_data) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info = user_data; 1141s # GError *error; 1141s # GVariant *_ret; 1141s # error = NULL; 1141s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1141s # if (!_ret) 1141s # { 1141s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1141s # info->parent_struct.name, 1141s # error->message, g_quark_to_string (error->domain), error->code); 1141s # g_error_free (error); 1141s # } 1141s # else 1141s # { 1141s # g_variant_unref (_ret); 1141s # } 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_set_property (GObject *object, 1141s # guint prop_id, 1141s # const GValue *value, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # GVariant *variant; 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1141s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1141s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1141s # "org.freedesktop.DBus.Properties.Set", 1141s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1141s # G_DBUS_CALL_FLAGS_NONE, 1141s # -1, 1141s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1141s # g_variant_unref (variant); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_g_signal (GDBusProxy *proxy, 1141s # const gchar *sender_name G_GNUC_UNUSED, 1141s # const gchar *signal_name, 1141s # GVariant *parameters) 1141s # { 1141s # _ExtendedGDBusSignalInfo *info; 1141s # GVariantIter iter; 1141s # GVariant *child; 1141s # GValue *paramv; 1141s # gsize num_params; 1141s # gsize n; 1141s # guint signal_id; 1141s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1141s # if (info == NULL) 1141s # return; 1141s # num_params = g_variant_n_children (parameters); 1141s # paramv = g_new0 (GValue, num_params + 1); 1141s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1141s # g_value_set_object (¶mv[0], proxy); 1141s # g_variant_iter_init (&iter, parameters); 1141s # n = 1; 1141s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1141s # { 1141s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1141s # if (arg_info->use_gvariant) 1141s # { 1141s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1141s # g_value_set_variant (¶mv[n], child); 1141s # n++; 1141s # } 1141s # else 1141s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1141s # g_variant_unref (child); 1141s # } 1141s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1141s # g_signal_emitv (paramv, signal_id, 0, NULL); 1141s # for (n = 0; n < num_params + 1; n++) 1141s # g_value_unset (¶mv[n]); 1141s # g_free (paramv); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1141s # GVariant *changed_properties, 1141s # const gchar *const *invalidated_properties) 1141s # { 1141s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1141s # guint n; 1141s # const gchar *key; 1141s # GVariantIter *iter; 1141s # _ExtendedGDBusPropertyInfo *info; 1141s # g_variant_get (changed_properties, "a{sv}", &iter); 1141s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1141s # { 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1141s # g_datalist_remove_data (&proxy->priv->qdata, key); 1141s # if (info != NULL) 1141s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1141s # } 1141s # g_variant_iter_free (iter); 1141s # for (n = 0; invalidated_properties[n] != NULL; n++) 1141s # { 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1141s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1141s # if (info != NULL) 1141s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1141s # } 1141s # } 1141s # 1141s # static GVariant * 1141s # good_types_proxy_get_good_property_type (GoodTypes *object) 1141s # { 1141s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1141s # GVariant *variant; 1141s # GVariant *value = NULL; 1141s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1141s # value = variant; 1141s # if (variant != NULL) 1141s # g_variant_unref (variant); 1141s # return value; 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_init (GoodTypesProxy *proxy) 1141s # { 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1141s # #else 1141s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1141s # #endif 1141s # 1141s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1141s # { 1141s # GObjectClass *gobject_class; 1141s # GDBusProxyClass *proxy_class; 1141s # 1141s # gobject_class = G_OBJECT_CLASS (klass); 1141s # gobject_class->finalize = good_types_proxy_finalize; 1141s # gobject_class->get_property = good_types_proxy_get_property; 1141s # gobject_class->set_property = good_types_proxy_set_property; 1141s # 1141s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1141s # proxy_class->g_signal = good_types_proxy_g_signal; 1141s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1141s # 1141s # good_types_override_properties (gobject_class, 1); 1141s # 1141s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1141s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1141s # #endif 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_iface_init (GoodTypesIface *iface) 1141s # { 1141s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new: 1141s # * @connection: A #GDBusConnection. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1141s # * @user_data: User data to pass to @callback. 1141s # * 1141s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1141s # * 1141s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1141s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1141s # * 1141s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1141s # */ 1141s # void 1141s # good_types_proxy_new ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data) 1141s # { 1141s # 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); 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_finish: 1141s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Finishes an operation started with good_types_proxy_new(). 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_finish ( 1141s # GAsyncResult *res, 1141s # GError **error) 1141s # { 1141s # GObject *ret; 1141s # GObject *source_object; 1141s # source_object = g_async_result_get_source_object (res); 1141s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1141s # g_object_unref (source_object); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_sync: 1141s # * @connection: A #GDBusConnection. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1141s # * 1141s # * The calling thread is blocked until a reply is received. 1141s # * 1141s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_sync ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error) 1141s # { 1141s # GInitable *ret; 1141s # 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); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # 1141s # /** 1141s # * good_types_proxy_new_for_bus: 1141s # * @bus_type: A #GBusType. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: A bus name (well-known or unique). 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1141s # * @user_data: User data to pass to @callback. 1141s # * 1141s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1141s # * 1141s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1141s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1141s # * 1141s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1141s # */ 1141s # void 1141s # good_types_proxy_new_for_bus ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data) 1141s # { 1141s # 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); 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_for_bus_finish: 1141s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_for_bus_finish ( 1141s # GAsyncResult *res, 1141s # GError **error) 1141s # { 1141s # GObject *ret; 1141s # GObject *source_object; 1141s # source_object = g_async_result_get_source_object (res); 1141s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1141s # g_object_unref (source_object); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_for_bus_sync: 1141s # * @bus_type: A #GBusType. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: A bus name (well-known or unique). 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1141s # * 1141s # * The calling thread is blocked until a reply is received. 1141s # * 1141s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_for_bus_sync ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error) 1141s # { 1141s # GInitable *ret; 1141s # 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); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # 1141s # /* ------------------------------------------------------------------------ */ 1141s # 1141s # /** 1141s # * GoodTypesSkeleton: 1141s # * 1141s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1141s # */ 1141s # 1141s # /** 1141s # * GoodTypesSkeletonClass: 1141s # * @parent_class: The parent class. 1141s # * 1141s # * Class structure for GoodTypesSkeleton. 1141s # */ 1141s # 1141s # struct _GoodTypesSkeletonPrivate 1141s # { 1141s # GValue *properties; 1141s # GList *changed_properties; 1141s # GSource *changed_properties_idle_source; 1141s # GMainContext *context; 1141s # GMutex lock; 1141s # }; 1141s # 1141s # static void 1141s # _good_types_skeleton_handle_method_call ( 1141s # GDBusConnection *connection G_GNUC_UNUSED, 1141s # const gchar *sender G_GNUC_UNUSED, 1141s # const gchar *object_path G_GNUC_UNUSED, 1141s # const gchar *interface_name, 1141s # const gchar *method_name, 1141s # GVariant *parameters, 1141s # GDBusMethodInvocation *invocation, 1141s # gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # _ExtendedGDBusMethodInfo *info; 1141s # GVariantIter iter; 1141s # GVariant *child; 1141s # GValue *paramv; 1141s # gsize num_params; 1141s # guint num_extra; 1141s # gsize n; 1141s # guint signal_id; 1141s # GValue return_value = G_VALUE_INIT; 1141s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1141s # g_assert (info != NULL); 1141s # num_params = g_variant_n_children (parameters); 1141s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1141s # n = 0; 1141s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1141s # g_value_set_object (¶mv[n++], skeleton); 1141s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1141s # g_value_set_object (¶mv[n++], invocation); 1141s # if (info->pass_fdlist) 1141s # { 1141s # #ifdef G_OS_UNIX 1141s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1141s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1141s # #else 1141s # g_assert_not_reached (); 1141s # #endif 1141s # } 1141s # g_variant_iter_init (&iter, parameters); 1141s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1141s # { 1141s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1141s # if (arg_info->use_gvariant) 1141s # { 1141s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1141s # g_value_set_variant (¶mv[n], child); 1141s # n++; 1141s # } 1141s # else 1141s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1141s # g_variant_unref (child); 1141s # } 1141s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1141s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1141s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1141s # if (!g_value_get_boolean (&return_value)) 1141s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1141s # g_value_unset (&return_value); 1141s # for (n = 0; n < num_params + num_extra; n++) 1141s # g_value_unset (¶mv[n]); 1141s # g_free (paramv); 1141s # } 1141s # 1141s # static GVariant * 1141s # _good_types_skeleton_handle_get_property ( 1141s # GDBusConnection *connection G_GNUC_UNUSED, 1141s # const gchar *sender G_GNUC_UNUSED, 1141s # const gchar *object_path G_GNUC_UNUSED, 1141s # const gchar *interface_name G_GNUC_UNUSED, 1141s # const gchar *property_name, 1141s # GError **error, 1141s # gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # GValue value = G_VALUE_INIT; 1141s # GParamSpec *pspec; 1141s # _ExtendedGDBusPropertyInfo *info; 1141s # GVariant *ret; 1141s # ret = NULL; 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1141s # g_assert (info != NULL); 1141s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1141s # if (pspec == NULL) 1141s # { 1141s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1141s # } 1141s # else 1141s # { 1141s # g_value_init (&value, pspec->value_type); 1141s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1141s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1141s # g_value_unset (&value); 1141s # } 1141s # return ret; 1141s # } 1141s # 1141s # static gboolean 1141s # _good_types_skeleton_handle_set_property ( 1141s # GDBusConnection *connection G_GNUC_UNUSED, 1141s # const gchar *sender G_GNUC_UNUSED, 1141s # const gchar *object_path G_GNUC_UNUSED, 1141s # const gchar *interface_name G_GNUC_UNUSED, 1141s # const gchar *property_name, 1141s # GVariant *variant, 1141s # GError **error, 1141s # gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # GValue value = G_VALUE_INIT; 1141s # GParamSpec *pspec; 1141s # _ExtendedGDBusPropertyInfo *info; 1141s # gboolean ret; 1141s # ret = FALSE; 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1141s # g_assert (info != NULL); 1141s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1141s # if (pspec == NULL) 1141s # { 1141s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1141s # } 1141s # else 1141s # { 1141s # if (info->use_gvariant) 1141s # g_value_set_variant (&value, variant); 1141s # else 1141s # g_dbus_gvariant_to_gvalue (variant, &value); 1141s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1141s # g_value_unset (&value); 1141s # ret = TRUE; 1141s # } 1141s # return ret; 1141s # } 1141s # 1141s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1141s # { 1141s # _good_types_skeleton_handle_method_call, 1141s # _good_types_skeleton_handle_get_property, 1141s # _good_types_skeleton_handle_set_property, 1141s # {NULL} 1141s # }; 1141s # 1141s # static GDBusInterfaceInfo * 1141s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1141s # { 1141s # return good_types_interface_info (); 1141s # } 1141s # 1141s # static GDBusInterfaceVTable * 1141s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1141s # { 1141s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1141s # } 1141s # 1141s # static GVariant * 1141s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1141s # 1141s # GVariantBuilder builder; 1141s # guint n; 1141s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1141s # if (_good_types_interface_info.parent_struct.properties == NULL) 1141s # goto out; 1141s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1141s # { 1141s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1141s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1141s # { 1141s # GVariant *value; 1141s # 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); 1141s # if (value != NULL) 1141s # { 1141s # g_variant_take_ref (value); 1141s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1141s # g_variant_unref (value); 1141s # } 1141s # } 1141s # } 1141s # out: 1141s # return g_variant_builder_end (&builder); 1141s # } 1141s # 1141s # static gboolean _good_types_emit_changed (gpointer user_data); 1141s # 1141s # static void 1141s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1141s # gboolean emit_changed = FALSE; 1141s # 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # if (skeleton->priv->changed_properties_idle_source != NULL) 1141s # { 1141s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1141s # skeleton->priv->changed_properties_idle_source = NULL; 1141s # emit_changed = TRUE; 1141s # } 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # 1141s # if (emit_changed) 1141s # _good_types_emit_changed (skeleton); 1141s # } 1141s # 1141s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1141s # G_ADD_PRIVATE (GoodTypesSkeleton) 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1141s # 1141s # #else 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1141s # 1141s # #endif 1141s # static void 1141s # good_types_skeleton_finalize (GObject *object) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # guint n; 1141s # for (n = 0; n < 1; n++) 1141s # g_value_unset (&skeleton->priv->properties[n]); 1141s # g_free (skeleton->priv->properties); 1141s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1141s # if (skeleton->priv->changed_properties_idle_source != NULL) 1141s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1141s # g_main_context_unref (skeleton->priv->context); 1141s # g_mutex_clear (&skeleton->priv->lock); 1141s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_get_property (GObject *object, 1141s # guint prop_id, 1141s # GValue *value, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # } 1141s # 1141s # static gboolean 1141s # _good_types_emit_changed (gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # GList *l; 1141s # GVariantBuilder builder; 1141s # GVariantBuilder invalidated_builder; 1141s # guint num_changes; 1141s # 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1141s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1141s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1141s # { 1141s # ChangedProperty *cp = l->data; 1141s # GVariant *variant; 1141s # const GValue *cur_value; 1141s # 1141s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1141s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1141s # { 1141s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1141s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1141s # g_variant_unref (variant); 1141s # num_changes++; 1141s # } 1141s # } 1141s # if (num_changes > 0) 1141s # { 1141s # GList *connections, *ll; 1141s # GVariant *signal_variant; 1141s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1141s # &builder, &invalidated_builder)); 1141s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1141s # for (ll = connections; ll != NULL; ll = ll->next) 1141s # { 1141s # GDBusConnection *connection = ll->data; 1141s # 1141s # g_dbus_connection_emit_signal (connection, 1141s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1141s # "org.freedesktop.DBus.Properties", 1141s # "PropertiesChanged", 1141s # signal_variant, 1141s # NULL); 1141s # } 1141s # g_variant_unref (signal_variant); 1141s # g_list_free_full (connections, g_object_unref); 1141s # } 1141s # else 1141s # { 1141s # g_variant_builder_clear (&builder); 1141s # g_variant_builder_clear (&invalidated_builder); 1141s # } 1141s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1141s # skeleton->priv->changed_properties = NULL; 1141s # skeleton->priv->changed_properties_idle_source = NULL; 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # return FALSE; 1141s # } 1141s # 1141s # static void 1141s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1141s # { 1141s # ChangedProperty *cp; 1141s # GList *l; 1141s # cp = NULL; 1141s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1141s # { 1141s # ChangedProperty *i_cp = l->data; 1141s # if (i_cp->info == info) 1141s # { 1141s # cp = i_cp; 1141s # break; 1141s # } 1141s # } 1141s # if (cp == NULL) 1141s # { 1141s # cp = g_new0 (ChangedProperty, 1); 1141s # cp->prop_id = prop_id; 1141s # cp->info = info; 1141s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1141s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1141s # g_value_copy (orig_value, &cp->orig_value); 1141s # } 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_notify (GObject *object, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # if (skeleton->priv->changed_properties != NULL && 1141s # skeleton->priv->changed_properties_idle_source == NULL) 1141s # { 1141s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1141s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1141s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1141s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1141s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1141s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1141s # } 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_set_property (GObject *object, 1141s # guint prop_id, 1141s # const GValue *value, 1141s # GParamSpec *pspec) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # g_object_freeze_notify (object); 1141s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1141s # { 1141s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1141s # info->emits_changed_signal) 1141s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1141s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1141s # g_object_notify_by_pspec (object, pspec); 1141s # } 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # g_object_thaw_notify (object); 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1141s # { 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1141s # #else 1141s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1141s # #endif 1141s # 1141s # g_mutex_init (&skeleton->priv->lock); 1141s # skeleton->priv->context = g_main_context_ref_thread_default (); 1141s # skeleton->priv->properties = g_new0 (GValue, 1); 1141s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1141s # } 1141s # 1141s # static GVariant * 1141s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # GVariant *value; 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # return value; 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1141s # { 1141s # GObjectClass *gobject_class; 1141s # GDBusInterfaceSkeletonClass *skeleton_class; 1141s # 1141s # gobject_class = G_OBJECT_CLASS (klass); 1141s # gobject_class->finalize = good_types_skeleton_finalize; 1141s # gobject_class->get_property = good_types_skeleton_get_property; 1141s # gobject_class->set_property = good_types_skeleton_set_property; 1141s # gobject_class->notify = good_types_skeleton_notify; 1141s # 1141s # 1141s # good_types_override_properties (gobject_class, 1); 1141s # 1141s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1141s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1141s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1141s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1141s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1141s # 1141s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1141s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1141s # #endif 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1141s # { 1141s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1141s # } 1141s # 1141s # /** 1141s # * good_types_skeleton_new: 1141s # * 1141s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1141s # */ 1141s # GoodTypes * 1141s # good_types_skeleton_new (void) 1141s # { 1141s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1141s # } 1141s # /tmp/tmpw4_u2349/tmp_njgegey.xml: 1141s # 1141s # 1141s # 1141s # 1141s # 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4_u2349/tmp_njgegey.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # Output: /* 1141s # * This file is generated by gdbus-codegen, do not modify it. 1141s # * 1141s # * The license of this code is the same as for the D-Bus interface description 1141s # * it was derived from. Note that it links to GLib, so must comply with the 1141s # * LGPL linking clauses. 1141s # */ 1141s # 1141s # #ifdef HAVE_CONFIG_H 1141s # # include "config.h" 1141s # #endif 1141s # 1141s # #include 1141s # #ifdef G_OS_UNIX 1141s # # include 1141s # #endif 1141s # 1141s # #ifdef G_ENABLE_DEBUG 1141s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1141s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1141s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1141s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1141s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1141s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1141s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1141s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1141s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1141s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1141s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1141s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1141s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1141s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1141s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1141s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1141s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1141s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1141s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1141s # #else /* !G_ENABLE_DEBUG */ 1141s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1141s # * Do not access GValues directly in your code. Instead, use the 1141s # * g_value_get_*() functions 1141s # */ 1141s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1141s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1141s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1141s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1141s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1141s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1141s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1141s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1141s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1141s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1141s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1141s # #endif /* !G_ENABLE_DEBUG */ 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusArgInfo parent_struct; 1141s # gboolean use_gvariant; 1141s # } _ExtendedGDBusArgInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusMethodInfo parent_struct; 1141s # const gchar *signal_name; 1141s # gboolean pass_fdlist; 1141s # } _ExtendedGDBusMethodInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusSignalInfo parent_struct; 1141s # const gchar *signal_name; 1141s # } _ExtendedGDBusSignalInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusPropertyInfo parent_struct; 1141s # const gchar *hyphen_name; 1141s # guint use_gvariant : 1; 1141s # guint emits_changed_signal : 1; 1141s # } _ExtendedGDBusPropertyInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusInterfaceInfo parent_struct; 1141s # const gchar *hyphen_name; 1141s # } _ExtendedGDBusInterfaceInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # guint prop_id; 1141s # GValue orig_value; /* the value before the change */ 1141s # } ChangedProperty; 1141s # 1141s # static void 1141s # _changed_property_free (ChangedProperty *data) 1141s # { 1141s # g_value_unset (&data->orig_value); 1141s # g_free (data); 1141s # } 1141s # 1141s # static gboolean 1141s # _g_strv_equal0 (gchar **a, gchar **b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # guint n; 1141s # if (a == NULL && b == NULL) 1141s # { 1141s # ret = TRUE; 1141s # goto out; 1141s # } 1141s # if (a == NULL || b == NULL) 1141s # goto out; 1141s # if (g_strv_length (a) != g_strv_length (b)) 1141s # goto out; 1141s # for (n = 0; a[n] != NULL; n++) 1141s # if (g_strcmp0 (a[n], b[n]) != 0) 1141s # goto out; 1141s # ret = TRUE; 1141s # out: 1141s # return ret; 1141s # } 1141s # 1141s # static gboolean 1141s # _g_variant_equal0 (GVariant *a, GVariant *b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # if (a == NULL && b == NULL) 1141s # { 1141s # ret = TRUE; 1141s # goto out; 1141s # } 1141s # if (a == NULL || b == NULL) 1141s # goto out; 1141s # ret = g_variant_equal (a, b); 1141s # out: 1141s # return ret; 1141s # } 1141s # 1141s # G_GNUC_UNUSED static gboolean 1141s # _g_value_equal (const GValue *a, const GValue *b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1141s # switch (G_VALUE_TYPE (a)) 1141s # { 1141s # case G_TYPE_BOOLEAN: 1141s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1141s # break; 1141s # case G_TYPE_UCHAR: 1141s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1141s # break; 1141s # case G_TYPE_INT: 1141s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1141s # break; 1141s # case G_TYPE_UINT: 1141s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1141s # break; 1141s # case G_TYPE_INT64: 1141s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1141s # break; 1141s # case G_TYPE_UINT64: 1141s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1141s # break; 1141s # case G_TYPE_DOUBLE: 1141s # { 1141s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1141s # gdouble da = g_value_get_double (a); 1141s # gdouble db = g_value_get_double (b); 1141s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1141s # } 1141s # break; 1141s # case G_TYPE_STRING: 1141s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1141s # break; 1141s # case G_TYPE_VARIANT: 1141s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1141s # break; 1141s # default: 1141s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1141s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1141s # else 1141s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1141s # break; 1141s # } 1141s # return ret; 1141s # } 1141s # 1141s # /* ------------------------------------------------------------------------ 1141s # * Code for interface GoodTypes 1141s # * ------------------------------------------------------------------------ 1141s # */ 1141s # 1141s # /** 1141s # * SECTION:GoodTypes 1141s # * @title: GoodTypes 1141s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1141s # * 1141s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1141s # */ 1141s # 1141s # /* ---- Introspection data for GoodTypes ---- */ 1141s # 1141s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1141s # { 1141s # { 1141s # -1, 1141s # (gchar *) "GoodPropertyType", 1141s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1141s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1141s # NULL 1141s # }, 1141s # "good-property-type", 1141s # FALSE, 1141s # TRUE 1141s # }; 1141s # 1141s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1141s # { 1141s # &_good_types_property_info_good_property_type.parent_struct, 1141s # NULL 1141s # }; 1141s # 1141s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1141s # { 1141s # { 1141s # -1, 1141s # (gchar *) "GoodTypes", 1141s # NULL, 1141s # NULL, 1141s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1141s # NULL 1141s # }, 1141s # "good-types", 1141s # }; 1141s # 1141s # 1141s # /** 1141s # * good_types_interface_info: 1141s # * 1141s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1141s # * 1141s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1141s # */ 1141s # GDBusInterfaceInfo * 1141s # good_types_interface_info (void) 1141s # { 1141s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1141s # } 1141s # 1141s # /** 1141s # * good_types_override_properties: 1141s # * @klass: The class structure for a #GObject derived class. 1141s # * @property_id_begin: The property id to assign to the first overridden property. 1141s # * 1141s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1141s # * The properties are overridden in the order they are defined. 1141s # * 1141s # * Returns: The last property id. 1141s # */ 1141s # guint 1141s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1141s # { 1141s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1141s # return property_id_begin - 1; 1141s # } 1141s # 1141s # 1141s # 1141s # /** 1141s # * GoodTypes: 1141s # * 1141s # * Abstract interface type for the D-Bus interface GoodTypes. 1141s # */ 1141s # 1141s # /** 1141s # * GoodTypesIface: 1141s # * @parent_iface: The parent interface. 1141s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1141s # * 1141s # * Virtual table for the D-Bus interface GoodTypes. 1141s # */ 1141s # 1141s # typedef GoodTypesIface GoodTypesInterface; 1141s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1141s # 1141s # static void 1141s # good_types_default_init (GoodTypesIface *iface) 1141s # { 1141s # /* GObject properties for D-Bus properties: */ 1141s # /** 1141s # * GoodTypes:good-property-type: 1141s # * 1141s # * Represents the D-Bus property "GoodPropertyType". 1141s # * 1141s # * 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. 1141s # */ 1141s # g_object_interface_install_property (iface, 1141s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1141s # } 1141s # 1141s # /** 1141s # * good_types_get_good_property_type: (skip) 1141s # * @object: A GoodTypes. 1141s # * 1141s # * Gets the value of the "GoodPropertyType" D-Bus property. 1141s # * 1141s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1141s # * 1141s # * 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. 1141s # * 1141s # * 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. 1141s # */ 1141s # GVariant * 1141s # good_types_get_good_property_type (GoodTypes *object) 1141s # { 1141s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1141s # 1141s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1141s # } 1141s # 1141s # /** 1141s # * good_types_dup_good_property_type: (skip) 1141s # * @object: A GoodTypes. 1141s # * 1141s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1141s # * 1141s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1141s # * 1141s # * 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(). 1141s # */ 1141s # GVariant * 1141s # good_types_dup_good_property_type (GoodTypes *object) 1141s # { 1141s # GVariant *value; 1141s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1141s # return value; 1141s # } 1141s # 1141s # /** 1141s # * good_types_set_good_property_type: (skip) 1141s # * @object: A GoodTypes. 1141s # * @value: The value to set. 1141s # * 1141s # * Sets the "GoodPropertyType" D-Bus property to @value. 1141s # * 1141s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1141s # */ 1141s # void 1141s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1141s # { 1141s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1141s # } 1141s # 1141s # /* ------------------------------------------------------------------------ */ 1141s # 1141s # /** 1141s # * GoodTypesProxy: 1141s # * 1141s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1141s # */ 1141s # 1141s # /** 1141s # * GoodTypesProxyClass: 1141s # * @parent_class: The parent class. 1141s # * 1141s # * Class structure for GoodTypesProxy. 1141s # */ 1141s # 1141s # struct _GoodTypesProxyPrivate 1141s # { 1141s # GData *qdata; 1141s # }; 1141s # 1141s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1141s # 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1141s # G_ADD_PRIVATE (GoodTypesProxy) 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1141s # 1141s # #else 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1141s # 1141s # #endif 1141s # static void 1141s # good_types_proxy_finalize (GObject *object) 1141s # { 1141s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1141s # g_datalist_clear (&proxy->priv->qdata); 1141s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_get_property (GObject *object, 1141s # guint prop_id, 1141s # GValue *value, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # GVariant *variant; 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1141s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1141s # if (info->use_gvariant) 1141s # { 1141s # g_value_set_variant (value, variant); 1141s # } 1141s # else 1141s # { 1141s # if (variant != NULL) 1141s # g_dbus_gvariant_to_gvalue (variant, value); 1141s # } 1141s # if (variant != NULL) 1141s # g_variant_unref (variant); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1141s # GAsyncResult *res, 1141s # gpointer user_data) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info = user_data; 1141s # GError *error; 1141s # GVariant *_ret; 1141s # error = NULL; 1141s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1141s # if (!_ret) 1141s # { 1141s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1141s # info->parent_struct.name, 1141s # error->message, g_quark_to_string (error->domain), error->code); 1141s # g_error_free (error); 1141s # } 1141s # else 1141s # { 1141s # g_variant_unref (_ret); 1141s # } 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_set_property (GObject *object, 1141s # guint prop_id, 1141s # const GValue *value, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # GVariant *variant; 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1141s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1141s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1141s # "org.freedesktop.DBus.Properties.Set", 1141s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1141s # G_DBUS_CALL_FLAGS_NONE, 1141s # -1, 1141s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1141s # g_variant_unref (variant); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_g_signal (GDBusProxy *proxy, 1141s # const gchar *sender_name G_GNUC_UNUSED, 1141s # const gchar *signal_name, 1141s # GVariant *parameters) 1141s # { 1141s # _ExtendedGDBusSignalInfo *info; 1141s # GVariantIter iter; 1141s # GVariant *child; 1141s # GValue *paramv; 1141s # gsize num_params; 1141s # gsize n; 1141s # guint signal_id; 1141s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1141s # if (info == NULL) 1141s # return; 1141s # num_params = g_variant_n_children (parameters); 1141s # paramv = g_new0 (GValue, num_params + 1); 1141s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1141s # g_value_set_object (¶mv[0], proxy); 1141s # g_variant_iter_init (&iter, parameters); 1141s # n = 1; 1141s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1141s # { 1141s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1141s # if (arg_info->use_gvariant) 1141s # { 1141s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1141s # g_value_set_variant (¶mv[n], child); 1141s # n++; 1141s # } 1141s # else 1141s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1141s # g_variant_unref (child); 1141s # } 1141s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1141s # g_signal_emitv (paramv, signal_id, 0, NULL); 1141s # for (n = 0; n < num_params + 1; n++) 1141s # g_value_unset (¶mv[n]); 1141s # g_free (paramv); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1141s # GVariant *changed_properties, 1141s # const gchar *const *invalidated_properties) 1141s # { 1141s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1141s # guint n; 1141s # const gchar *key; 1141s # GVariantIter *iter; 1141s # _ExtendedGDBusPropertyInfo *info; 1141s # g_variant_get (changed_properties, "a{sv}", &iter); 1141s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1141s # { 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1141s # g_datalist_remove_data (&proxy->priv->qdata, key); 1141s # if (info != NULL) 1141s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1141s # } 1141s # g_variant_iter_free (iter); 1141s # for (n = 0; invalidated_properties[n] != NULL; n++) 1141s # { 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1141s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1141s # if (info != NULL) 1141s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1141s # } 1141s # } 1141s # 1141s # static GVariant * 1141s # good_types_proxy_get_good_property_type (GoodTypes *object) 1141s # { 1141s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1141s # GVariant *variant; 1141s # GVariant *value = NULL; 1141s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1141s # value = variant; 1141s # if (variant != NULL) 1141s # g_variant_unref (variant); 1141s # return value; 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_init (GoodTypesProxy *proxy) 1141s # { 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1141s # #else 1141s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1141s # #endif 1141s # 1141s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1141s # { 1141s # GObjectClass *gobject_class; 1141s # GDBusProxyClass *proxy_class; 1141s # 1141s # gobject_class = G_OBJECT_CLASS (klass); 1141s # gobject_class->finalize = good_types_proxy_finalize; 1141s # gobject_class->get_property = good_types_proxy_get_property; 1141s # gobject_class->set_property = good_types_proxy_set_property; 1141s # 1141s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1141s # proxy_class->g_signal = good_types_proxy_g_signal; 1141s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1141s # 1141s # good_types_override_properties (gobject_class, 1); 1141s # 1141s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1141s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1141s # #endif 1141s # } 1141s # 1141s # static void 1141s # good_types_proxy_iface_init (GoodTypesIface *iface) 1141s # { 1141s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new: 1141s # * @connection: A #GDBusConnection. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1141s # * @user_data: User data to pass to @callback. 1141s # * 1141s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1141s # * 1141s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1141s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1141s # * 1141s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1141s # */ 1141s # void 1141s # good_types_proxy_new ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data) 1141s # { 1141s # 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); 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_finish: 1141s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Finishes an operation started with good_types_proxy_new(). 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_finish ( 1141s # GAsyncResult *res, 1141s # GError **error) 1141s # { 1141s # GObject *ret; 1141s # GObject *source_object; 1141s # source_object = g_async_result_get_source_object (res); 1141s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1141s # g_object_unref (source_object); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_sync: 1141s # * @connection: A #GDBusConnection. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1141s # * 1141s # * The calling thread is blocked until a reply is received. 1141s # * 1141s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_sync ( 1141s # GDBusConnection *connection, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error) 1141s # { 1141s # GInitable *ret; 1141s # 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); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # 1141s # /** 1141s # * good_types_proxy_new_for_bus: 1141s # * @bus_type: A #GBusType. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: A bus name (well-known or unique). 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1141s # * @user_data: User data to pass to @callback. 1141s # * 1141s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1141s # * 1141s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1141s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1141s # * 1141s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1141s # */ 1141s # void 1141s # good_types_proxy_new_for_bus ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GAsyncReadyCallback callback, 1141s # gpointer user_data) 1141s # { 1141s # 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); 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_for_bus_finish: 1141s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_for_bus_finish ( 1141s # GAsyncResult *res, 1141s # GError **error) 1141s # { 1141s # GObject *ret; 1141s # GObject *source_object; 1141s # source_object = g_async_result_get_source_object (res); 1141s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1141s # g_object_unref (source_object); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # /** 1141s # * good_types_proxy_new_for_bus_sync: 1141s # * @bus_type: A #GBusType. 1141s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1141s # * @name: A bus name (well-known or unique). 1141s # * @object_path: An object path. 1141s # * @cancellable: (nullable): A #GCancellable or %NULL. 1141s # * @error: Return location for error or %NULL 1141s # * 1141s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1141s # * 1141s # * The calling thread is blocked until a reply is received. 1141s # * 1141s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1141s # */ 1141s # GoodTypes * 1141s # good_types_proxy_new_for_bus_sync ( 1141s # GBusType bus_type, 1141s # GDBusProxyFlags flags, 1141s # const gchar *name, 1141s # const gchar *object_path, 1141s # GCancellable *cancellable, 1141s # GError **error) 1141s # { 1141s # GInitable *ret; 1141s # 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); 1141s # if (ret != NULL) 1141s # return GOOD_TYPES (ret); 1141s # else 1141s # return NULL; 1141s # } 1141s # 1141s # 1141s # /* ------------------------------------------------------------------------ */ 1141s # 1141s # /** 1141s # * GoodTypesSkeleton: 1141s # * 1141s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1141s # */ 1141s # 1141s # /** 1141s # * GoodTypesSkeletonClass: 1141s # * @parent_class: The parent class. 1141s # * 1141s # * Class structure for GoodTypesSkeleton. 1141s # */ 1141s # 1141s # struct _GoodTypesSkeletonPrivate 1141s # { 1141s # GValue *properties; 1141s # GList *changed_properties; 1141s # GSource *changed_properties_idle_source; 1141s # GMainContext *context; 1141s # GMutex lock; 1141s # }; 1141s # 1141s # static void 1141s # _good_types_skeleton_handle_method_call ( 1141s # GDBusConnection *connection G_GNUC_UNUSED, 1141s # const gchar *sender G_GNUC_UNUSED, 1141s # const gchar *object_path G_GNUC_UNUSED, 1141s # const gchar *interface_name, 1141s # const gchar *method_name, 1141s # GVariant *parameters, 1141s # GDBusMethodInvocation *invocation, 1141s # gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # _ExtendedGDBusMethodInfo *info; 1141s # GVariantIter iter; 1141s # GVariant *child; 1141s # GValue *paramv; 1141s # gsize num_params; 1141s # guint num_extra; 1141s # gsize n; 1141s # guint signal_id; 1141s # GValue return_value = G_VALUE_INIT; 1141s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1141s # g_assert (info != NULL); 1141s # num_params = g_variant_n_children (parameters); 1141s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1141s # n = 0; 1141s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1141s # g_value_set_object (¶mv[n++], skeleton); 1141s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1141s # g_value_set_object (¶mv[n++], invocation); 1141s # if (info->pass_fdlist) 1141s # { 1141s # #ifdef G_OS_UNIX 1141s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1141s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1141s # #else 1141s # g_assert_not_reached (); 1141s # #endif 1141s # } 1141s # g_variant_iter_init (&iter, parameters); 1141s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1141s # { 1141s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1141s # if (arg_info->use_gvariant) 1141s # { 1141s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1141s # g_value_set_variant (¶mv[n], child); 1141s # n++; 1141s # } 1141s # else 1141s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1141s # g_variant_unref (child); 1141s # } 1141s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1141s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1141s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1141s # if (!g_value_get_boolean (&return_value)) 1141s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1141s # g_value_unset (&return_value); 1141s # for (n = 0; n < num_params + num_extra; n++) 1141s # g_value_unset (¶mv[n]); 1141s # g_free (paramv); 1141s # } 1141s # 1141s # static GVariant * 1141s # _good_types_skeleton_handle_get_property ( 1141s # GDBusConnection *connection G_GNUC_UNUSED, 1141s # const gchar *sender G_GNUC_UNUSED, 1141s # const gchar *object_path G_GNUC_UNUSED, 1141s # const gchar *interface_name G_GNUC_UNUSED, 1141s # const gchar *property_name, 1141s # GError **error, 1141s # gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # GValue value = G_VALUE_INIT; 1141s # GParamSpec *pspec; 1141s # _ExtendedGDBusPropertyInfo *info; 1141s # GVariant *ret; 1141s # ret = NULL; 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1141s # g_assert (info != NULL); 1141s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1141s # if (pspec == NULL) 1141s # { 1141s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1141s # } 1141s # else 1141s # { 1141s # g_value_init (&value, pspec->value_type); 1141s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1141s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1141s # g_value_unset (&value); 1141s # } 1141s # return ret; 1141s # } 1141s # 1141s # static gboolean 1141s # _good_types_skeleton_handle_set_property ( 1141s # GDBusConnection *connection G_GNUC_UNUSED, 1141s # const gchar *sender G_GNUC_UNUSED, 1141s # const gchar *object_path G_GNUC_UNUSED, 1141s # const gchar *interface_name G_GNUC_UNUSED, 1141s # const gchar *property_name, 1141s # GVariant *variant, 1141s # GError **error, 1141s # gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # GValue value = G_VALUE_INIT; 1141s # GParamSpec *pspec; 1141s # _ExtendedGDBusPropertyInfo *info; 1141s # gboolean ret; 1141s # ret = FALSE; 1141s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1141s # g_assert (info != NULL); 1141s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1141s # if (pspec == NULL) 1141s # { 1141s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1141s # } 1141s # else 1141s # { 1141s # if (info->use_gvariant) 1141s # g_value_set_variant (&value, variant); 1141s # else 1141s # g_dbus_gvariant_to_gvalue (variant, &value); 1141s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1141s # g_value_unset (&value); 1141s # ret = TRUE; 1141s # } 1141s # return ret; 1141s # } 1141s # 1141s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1141s # { 1141s # _good_types_skeleton_handle_method_call, 1141s # _good_types_skeleton_handle_get_property, 1141s # _good_types_skeleton_handle_set_property, 1141s # {NULL} 1141s # }; 1141s # 1141s # static GDBusInterfaceInfo * 1141s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1141s # { 1141s # return good_types_interface_info (); 1141s # } 1141s # 1141s # static GDBusInterfaceVTable * 1141s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1141s # { 1141s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1141s # } 1141s # 1141s # static GVariant * 1141s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1141s # 1141s # GVariantBuilder builder; 1141s # guint n; 1141s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1141s # if (_good_types_interface_info.parent_struct.properties == NULL) 1141s # goto out; 1141s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1141s # { 1141s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1141s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1141s # { 1141s # GVariant *value; 1141s # 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); 1141s # if (value != NULL) 1141s # { 1141s # g_variant_take_ref (value); 1141s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1141s # g_variant_unref (value); 1141s # } 1141s # } 1141s # } 1141s # out: 1141s # return g_variant_builder_end (&builder); 1141s # } 1141s # 1141s # static gboolean _good_types_emit_changed (gpointer user_data); 1141s # 1141s # static void 1141s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1141s # gboolean emit_changed = FALSE; 1141s # 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # if (skeleton->priv->changed_properties_idle_source != NULL) 1141s # { 1141s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1141s # skeleton->priv->changed_properties_idle_source = NULL; 1141s # emit_changed = TRUE; 1141s # } 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # 1141s # if (emit_changed) 1141s # _good_types_emit_changed (skeleton); 1141s # } 1141s # 1141s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1141s # G_ADD_PRIVATE (GoodTypesSkeleton) 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1141s # 1141s # #else 1141s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1141s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1141s # 1141s # #endif 1141s # static void 1141s # good_types_skeleton_finalize (GObject *object) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # guint n; 1141s # for (n = 0; n < 1; n++) 1141s # g_value_unset (&skeleton->priv->properties[n]); 1141s # g_free (skeleton->priv->properties); 1141s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1141s # if (skeleton->priv->changed_properties_idle_source != NULL) 1141s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1141s # g_main_context_unref (skeleton->priv->context); 1141s # g_mutex_clear (&skeleton->priv->lock); 1141s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_get_property (GObject *object, 1141s # guint prop_id, 1141s # GValue *value, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # } 1141s # 1141s # static gboolean 1141s # _good_types_emit_changed (gpointer user_data) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1141s # GList *l; 1141s # GVariantBuilder builder; 1141s # GVariantBuilder invalidated_builder; 1141s # guint num_changes; 1141s # 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1141s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1141s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1141s # { 1141s # ChangedProperty *cp = l->data; 1141s # GVariant *variant; 1141s # const GValue *cur_value; 1141s # 1141s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1141s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1141s # { 1141s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1141s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1141s # g_variant_unref (variant); 1141s # num_changes++; 1141s # } 1141s # } 1141s # if (num_changes > 0) 1141s # { 1141s # GList *connections, *ll; 1141s # GVariant *signal_variant; 1141s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1141s # &builder, &invalidated_builder)); 1141s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1141s # for (ll = connections; ll != NULL; ll = ll->next) 1141s # { 1141s # GDBusConnection *connection = ll->data; 1141s # 1141s # g_dbus_connection_emit_signal (connection, 1141s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1141s # "org.freedesktop.DBus.Properties", 1141s # "PropertiesChanged", 1141s # signal_variant, 1141s # NULL); 1141s # } 1141s # g_variant_unref (signal_variant); 1141s # g_list_free_full (connections, g_object_unref); 1141s # } 1141s # else 1141s # { 1141s # g_variant_builder_clear (&builder); 1141s # g_variant_builder_clear (&invalidated_builder); 1141s # } 1141s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1141s # skeleton->priv->changed_properties = NULL; 1141s # skeleton->priv->changed_properties_idle_source = NULL; 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # return FALSE; 1141s # } 1141s # 1141s # static void 1141s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1141s # { 1141s # ChangedProperty *cp; 1141s # GList *l; 1141s # cp = NULL; 1141s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1141s # { 1141s # ChangedProperty *i_cp = l->data; 1141s # if (i_cp->info == info) 1141s # { 1141s # cp = i_cp; 1141s # break; 1141s # } 1141s # } 1141s # if (cp == NULL) 1141s # { 1141s # cp = g_new0 (ChangedProperty, 1); 1141s # cp->prop_id = prop_id; 1141s # cp->info = info; 1141s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1141s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1141s # g_value_copy (orig_value, &cp->orig_value); 1141s # } 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_notify (GObject *object, 1141s # GParamSpec *pspec G_GNUC_UNUSED) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # if (skeleton->priv->changed_properties != NULL && 1141s # skeleton->priv->changed_properties_idle_source == NULL) 1141s # { 1141s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1141s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1141s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1141s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1141s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1141s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1141s # } 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_set_property (GObject *object, 1141s # guint prop_id, 1141s # const GValue *value, 1141s # GParamSpec *pspec) 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1141s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # g_object_freeze_notify (object); 1141s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1141s # { 1141s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1141s # info->emits_changed_signal) 1141s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1141s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1141s # g_object_notify_by_pspec (object, pspec); 1141s # } 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # g_object_thaw_notify (object); 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1141s # { 1141s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1141s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1141s # #else 1141s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1141s # #endif 1141s # 1141s # g_mutex_init (&skeleton->priv->lock); 1141s # skeleton->priv->context = g_main_context_ref_thread_default (); 1141s # skeleton->priv->properties = g_new0 (GValue, 1); 1141s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1141s # } 1141s # 1141s # static GVariant * 1141s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1141s # { 1141s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1141s # GVariant *value; 1141s # g_mutex_lock (&skeleton->priv->lock); 1141s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1141s # g_mutex_unlock (&skeleton->priv->lock); 1141s # return value; 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1141s # { 1141s # GObjectClass *gobject_class; 1141s # GDBusInterfaceSkeletonClass *skeleton_class; 1141s # 1141s # gobject_class = G_OBJECT_CLASS (klass); 1141s # gobject_class->finalize = good_types_skeleton_finalize; 1141s # gobject_class->get_property = good_types_skeleton_get_property; 1141s # gobject_class->set_property = good_types_skeleton_set_property; 1141s # gobject_class->notify = good_types_skeleton_notify; 1141s # 1141s # 1141s # good_types_override_properties (gobject_class, 1); 1141s # 1141s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1141s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1141s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1141s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1141s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1141s # 1141s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1141s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1141s # #endif 1141s # } 1141s # 1141s # static void 1141s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1141s # { 1141s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1141s # } 1141s # 1141s # /** 1141s # * good_types_skeleton_new: 1141s # * 1141s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1141s # * 1141s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1141s # */ 1141s # GoodTypes * 1141s # good_types_skeleton_new (void) 1141s # { 1141s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1141s # } 1141s ok 3 __main__.TestCodegen.test_empty_interface_body 1141s # tmpdir: /tmp/tmp83g091lw 1141s # codegen: /usr/bin/gdbus-codegen 1141s # /tmp/tmp83g091lw/tmppl_5l1b6.xml: 1141s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp83g091lw/tmppl_5l1b6.xml', '--output', '-', '--body'] 1141s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1141s # Output: /* 1141s # * This file is generated by gdbus-codegen, do not modify it. 1141s # * 1141s # * The license of this code is the same as for the D-Bus interface description 1141s # * it was derived from. Note that it links to GLib, so must comply with the 1141s # * LGPL linking clauses. 1141s # */ 1141s # 1141s # #ifdef HAVE_CONFIG_H 1141s # # include "config.h" 1141s # #endif 1141s # 1141s # #include 1141s # #ifdef G_OS_UNIX 1141s # # include 1141s # #endif 1141s # 1141s # #ifdef G_ENABLE_DEBUG 1141s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1141s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1141s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1141s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1141s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1141s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1141s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1141s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1141s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1141s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1141s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1141s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1141s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1141s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1141s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1141s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1141s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1141s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1141s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1141s # #else /* !G_ENABLE_DEBUG */ 1141s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1141s # * Do not access GValues directly in your code. Instead, use the 1141s # * g_value_get_*() functions 1141s # */ 1141s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1141s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1141s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1141s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1141s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1141s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1141s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1141s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1141s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1141s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1141s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1141s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1141s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1141s # #endif /* !G_ENABLE_DEBUG */ 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusArgInfo parent_struct; 1141s # gboolean use_gvariant; 1141s # } _ExtendedGDBusArgInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusMethodInfo parent_struct; 1141s # const gchar *signal_name; 1141s # gboolean pass_fdlist; 1141s # } _ExtendedGDBusMethodInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusSignalInfo parent_struct; 1141s # const gchar *signal_name; 1141s # } _ExtendedGDBusSignalInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusPropertyInfo parent_struct; 1141s # const gchar *hyphen_name; 1141s # guint use_gvariant : 1; 1141s # guint emits_changed_signal : 1; 1141s # } _ExtendedGDBusPropertyInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # GDBusInterfaceInfo parent_struct; 1141s # const gchar *hyphen_name; 1141s # } _ExtendedGDBusInterfaceInfo; 1141s # 1141s # typedef struct 1141s # { 1141s # const _ExtendedGDBusPropertyInfo *info; 1141s # guint prop_id; 1141s # GValue orig_value; /* the value before the change */ 1141s # } ChangedProperty; 1141s # 1141s # static void 1141s # _changed_property_free (ChangedProperty *data) 1141s # { 1141s # g_value_unset (&data->orig_value); 1141s # g_free (data); 1141s # } 1141s # 1141s # static gboolean 1141s # _g_strv_equal0 (gchar **a, gchar **b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # guint n; 1141s # if (a == NULL && b == NULL) 1141s # { 1141s # ret = TRUE; 1141s # goto out; 1141s # } 1141s # if (a == NULL || b == NULL) 1141s # goto out; 1141s # if (g_strv_length (a) != g_strv_length (b)) 1141s # goto out; 1141s # for (n = 0; a[n] != NULL; n++) 1141s # if (g_strcmp0 (a[n], b[n]) != 0) 1141s # goto out; 1141s # ret = TRUE; 1141s # out: 1141s # return ret; 1141s # } 1141s # 1141s # static gboolean 1141s # _g_variant_equal0 (GVariant *a, GVariant *b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # if (a == NULL && b == NULL) 1141s # { 1141s # ret = TRUE; 1141s # goto out; 1141s # } 1141s # if (a == NULL || b == NULL) 1141s # goto out; 1141s # ret = g_variant_equal (a, b); 1141s # out: 1141s # return ret; 1141s # } 1141s # 1141s # G_GNUC_UNUSED static gboolean 1141s # _g_value_equal (const GValue *a, const GValue *b) 1141s # { 1141s # gboolean ret = FALSE; 1141s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1141s # switch (G_VALUE_TYPE (a)) 1141s # { 1141s # case G_TYPE_BOOLEAN: 1141s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1141s # break; 1141s # case G_TYPE_UCHAR: 1141s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1141s # break; 1141s # case G_TYPE_INT: 1141s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1141s # break; 1141s # case G_TYPE_UINT: 1141s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1141s # break; 1141s # case G_TYPE_INT64: 1141s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1141s # break; 1141s # case G_TYPE_UINT64: 1141s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1141s # break; 1141s # case G_TYPE_DOUBLE: 1141s # { 1141s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1141s # gdouble da = g_value_get_double (a); 1141s # gdouble db = g_value_get_double (b); 1141s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1141s # } 1141s # break; 1141s # case G_TYPE_STRING: 1141s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1141s # break; 1141s # case G_TYPE_VARIANT: 1141s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1141s # break; 1141s # default: 1141s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1141s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1141s # else 1141s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1141s # break; 1141s # } 1141s # return ret; 1141s # } 1141s ok 4 __main__.TestCodegen.test_empty_interface_header 1141s # tmpdir: /tmp/tmprttoqid5 1141s # codegen: /usr/bin/gdbus-codegen 1142s # /tmp/tmprttoqid5/tmpd74dwebc.xml: 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprttoqid5/tmpd74dwebc.xml', '--output', '-', '--header'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifndef __STDOUT__ 1142s # #define __STDOUT__ 1142s # 1142s # #include 1142s # 1142s # G_BEGIN_DECLS 1142s # 1142s # 1142s # G_END_DECLS 1142s # 1142s # #endif /* __STDOUT__ */ 1142s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1142s # tmpdir: /tmp/tmpcbbttpp_ 1142s # codegen: /usr/bin/gdbus-codegen 1142s # /tmp/tmpcbbttpp_/tmpcv9pj7z0.xml: 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcbbttpp_/tmpcv9pj7z0.xml', '--output', '-', '--interface-info-body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1142s # tmpdir: /tmp/tmpwtkj7obh 1142s # codegen: /usr/bin/gdbus-codegen 1142s # /tmp/tmpwtkj7obh/tmpodrn7sgu.xml: 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwtkj7obh/tmpodrn7sgu.xml', '--output', '-', '--interface-info-header'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifndef __STDOUT__ 1142s # #define __STDOUT__ 1142s # 1142s # #include 1142s # 1142s # G_BEGIN_DECLS 1142s # 1142s # 1142s # G_END_DECLS 1142s # 1142s # #endif /* __STDOUT__ */ 1142s ok 7 __main__.TestCodegen.test_generate_docbook 1142s # tmpdir: /tmp/tmpksmg11jd 1142s # codegen: /usr/bin/gdbus-codegen 1142s # /tmp/tmpksmg11jd/tmpzzssch24.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpksmg11jd/tmpzzssch24.xml', '--generate-docbook', 'test'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: 1142s # Executing: glib/codegen.py.test 1142s ok 8 __main__.TestCodegen.test_generate_md 1142s # tmpdir: /tmp/tmpq5tsi13b 1142s # codegen: /usr/bin/gdbus-codegen 1142s # /tmp/tmpq5tsi13b/tmpb267555d.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq5tsi13b/tmpb267555d.xml', '--generate-md', 'test'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: 1142s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1142s # tmpdir: /tmp/tmp0b8elp2n 1142s # codegen: /usr/bin/gdbus-codegen 1142s # /tmp/tmp0b8elp2n/tmp2q_uwjgq.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0b8elp2n/tmp2q_uwjgq.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 2); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.CallableIface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectCallableIface 1142s # * @title: OrgProjectCallableIface 1142s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.CallableIface ---- */ 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SimpleMethod", 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-simple-method", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1142s # { 1142s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.CallableIface", 1142s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-callable-iface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_callable_iface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_callable_iface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_callable_iface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_callable_iface_method_marshal_simple_method ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectCallableIface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectCallableIfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.CallableIface. 1142s # */ 1142s # 1142s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectCallableIface::handle-simple-method: 1142s # * @object: A #OrgProjectCallableIface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-simple-method", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_callable_iface_method_marshal_simple_method, 1142s # G_TYPE_BOOLEAN, 1142s # 1, 1142s # G_TYPE_DBUS_METHOD_INVOCATION); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_callable_iface_call_simple_method: 1142s # * @proxy: A #OrgProjectCallableIfaceProxy. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_callable_iface_call_simple_method ( 1142s # OrgProjectCallableIface *proxy, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SimpleMethod", 1142s # g_variant_new ("()"), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_callable_iface_call_simple_method_finish: 1142s # * @proxy: A #OrgProjectCallableIfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_callable_iface_call_simple_method_finish ( 1142s # OrgProjectCallableIface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_callable_iface_call_simple_method_sync: 1142s # * @proxy: A #OrgProjectCallableIfaceProxy. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_callable_iface_call_simple_method_sync ( 1142s # OrgProjectCallableIface *proxy, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SimpleMethod", 1142s # g_variant_new ("()"), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_callable_iface_complete_simple_method: 1142s # * @object: A #OrgProjectCallableIface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_callable_iface_complete_simple_method ( 1142s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectCallableIfaceProxy: 1142s # * 1142s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectCallableIfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectCallableIfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectCallableIfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_callable_iface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1142s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1142s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_callable_iface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_callable_iface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # 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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_callable_iface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectCallableIface * 1142s # org_project_callable_iface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_callable_iface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectCallableIface * 1142s # org_project_callable_iface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_callable_iface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_callable_iface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # 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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_callable_iface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectCallableIface * 1142s # org_project_callable_iface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_callable_iface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectCallableIface * 1142s # org_project_callable_iface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectCallableIfaceSkeleton: 1142s # * 1142s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectCallableIfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectCallableIfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_callable_iface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_callable_iface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_callable_iface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1142s # { 1142s # _org_project_callable_iface_skeleton_handle_method_call, 1142s # _org_project_callable_iface_skeleton_handle_get_property, 1142s # _org_project_callable_iface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_callable_iface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_callable_iface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_callable_iface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectCallableIface * 1142s # org_project_callable_iface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.OtherCallableIface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectOtherCallableIface 1142s # * @title: OrgProjectOtherCallableIface 1142s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SimpleMethod", 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-simple-method", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1142s # { 1142s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.OtherCallableIface", 1142s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-other-callable-iface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_other_callable_iface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_other_callable_iface_method_marshal_simple_method ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectOtherCallableIface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectOtherCallableIfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1142s # */ 1142s # 1142s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectOtherCallableIface::handle-simple-method: 1142s # * @object: A #OrgProjectOtherCallableIface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-simple-method", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_other_callable_iface_method_marshal_simple_method, 1142s # G_TYPE_BOOLEAN, 1142s # 1, 1142s # G_TYPE_DBUS_METHOD_INVOCATION); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_call_simple_method: 1142s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_other_callable_iface_call_simple_method ( 1142s # OrgProjectOtherCallableIface *proxy, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SimpleMethod", 1142s # g_variant_new ("()"), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_call_simple_method_finish: 1142s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_other_callable_iface_call_simple_method_finish ( 1142s # OrgProjectOtherCallableIface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_call_simple_method_sync: 1142s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_other_callable_iface_call_simple_method_sync ( 1142s # OrgProjectOtherCallableIface *proxy, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SimpleMethod", 1142s # g_variant_new ("()"), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_complete_simple_method: 1142s # * @object: A #OrgProjectOtherCallableIface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_other_callable_iface_complete_simple_method ( 1142s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectOtherCallableIfaceProxy: 1142s # * 1142s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectOtherCallableIfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1142s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1142s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_other_callable_iface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # 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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectOtherCallableIface * 1142s # org_project_other_callable_iface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectOtherCallableIface * 1142s # org_project_other_callable_iface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_other_callable_iface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # 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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectOtherCallableIface * 1142s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectOtherCallableIface * 1142s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectOtherCallableIfaceSkeleton: 1142s # * 1142s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectOtherCallableIfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1142s # { 1142s # _org_project_other_callable_iface_skeleton_handle_method_call, 1142s # _org_project_other_callable_iface_skeleton_handle_get_property, 1142s # _org_project_other_callable_iface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_other_callable_iface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_other_callable_iface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectOtherCallableIface * 1142s # org_project_other_callable_iface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1142s # } 1142s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1142s # tmpdir: /tmp/tmpjb61ijuh 1142s # codegen: /usr/bin/gdbus-codegen 1142s # /tmp/tmpjb61ijuh/tmpgg0te83g.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpgg0te83g.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # gboolean arg_arg_b, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_boolean (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_b", 1142s # (gchar *) "b", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodB", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-b", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_b: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-b", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_b, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_b: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_b: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_b ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # gboolean arg_arg_b, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodB", 1142s # g_variant_new ("(b)", 1142s # arg_arg_b), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_b_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_b_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_b_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_b: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_b_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # gboolean arg_arg_b, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodB", 1142s # g_variant_new ("(b)", 1142s # arg_arg_b), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_b: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_b ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmpfshjmmeu.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpfshjmmeu.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # guchar arg_arg_y, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_uchar (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_y", 1142s # (gchar *) "y", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodY", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-y", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_y: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-y", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_y, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_y: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_y: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_y ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # guchar arg_arg_y, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodY", 1142s # g_variant_new ("(y)", 1142s # arg_arg_y), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_y_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_y_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_y_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_y: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_y_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # guchar arg_arg_y, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodY", 1142s # g_variant_new ("(y)", 1142s # arg_arg_y), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_y: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_y ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmp_v2gsbh2.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmp_v2gsbh2.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # gint16 arg_arg_n, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_int (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_n", 1142s # (gchar *) "n", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodN", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-n", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_n: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-n", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_n, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_n: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_n: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_n ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # gint16 arg_arg_n, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodN", 1142s # g_variant_new ("(n)", 1142s # arg_arg_n), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_n_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_n_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_n_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_n: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_n_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # gint16 arg_arg_n, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodN", 1142s # g_variant_new ("(n)", 1142s # arg_arg_n), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_n: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_n ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmpywxzoaed.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpywxzoaed.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # guint16 arg_arg_q, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_uint (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_q", 1142s # (gchar *) "q", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodQ", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-q", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_q: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-q", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_q, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_q: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_q: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_q ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # guint16 arg_arg_q, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodQ", 1142s # g_variant_new ("(q)", 1142s # arg_arg_q), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_q_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_q_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_q_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_q: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_q_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # guint16 arg_arg_q, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodQ", 1142s # g_variant_new ("(q)", 1142s # arg_arg_q), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_q: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_q ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmpwkkg3hmh.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpwkkg3hmh.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # gint arg_arg_i, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_int (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_i", 1142s # (gchar *) "i", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodI", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-i", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_i: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-i", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_i, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_i: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_i: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_i ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # gint arg_arg_i, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodI", 1142s # g_variant_new ("(i)", 1142s # arg_arg_i), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_i_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_i_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_i_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_i: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_i_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # gint arg_arg_i, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodI", 1142s # g_variant_new ("(i)", 1142s # arg_arg_i), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_i: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_i ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmp2v1p37rj.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmp2v1p37rj.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # guint arg_arg_u, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_uint (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_u", 1142s # (gchar *) "u", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodU", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-u", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_u: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-u", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_u, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_u: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_u: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_u ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # guint arg_arg_u, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodU", 1142s # g_variant_new ("(u)", 1142s # arg_arg_u), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_u_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_u_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_u_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_u: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_u_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # guint arg_arg_u, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodU", 1142s # g_variant_new ("(u)", 1142s # arg_arg_u), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_u: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_u ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmp6gzn3bbn.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmp6gzn3bbn.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # gint64 arg_arg_x, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_int64 (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_x", 1142s # (gchar *) "x", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodX", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-x", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_x: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-x", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_x, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_x: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_x: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_x ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # gint64 arg_arg_x, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodX", 1142s # g_variant_new ("(x)", 1142s # arg_arg_x), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_x_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_x_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_x_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_x: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_x_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # gint64 arg_arg_x, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodX", 1142s # g_variant_new ("(x)", 1142s # arg_arg_x), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_x: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_x ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmprk9m0u94.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmprk9m0u94.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # guint64 arg_arg_t, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_uint64 (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_t", 1142s # (gchar *) "t", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodT", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-t", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_t: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-t", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_t, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_t: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_t: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_t ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # guint64 arg_arg_t, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodT", 1142s # g_variant_new ("(t)", 1142s # arg_arg_t), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_t_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_t_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_t_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_t: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_t_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # guint64 arg_arg_t, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodT", 1142s # g_variant_new ("(t)", 1142s # arg_arg_t), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_t: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_t ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmpr4woy6ka.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpr4woy6ka.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # gdouble arg_arg_d, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_double (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_d", 1142s # (gchar *) "d", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodD", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-d", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_d: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-d", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_d, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_d: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_d: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_d ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # gdouble arg_arg_d, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodD", 1142s # g_variant_new ("(d)", 1142s # arg_arg_d), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_d_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_d_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_d_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_d: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_d_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # gdouble arg_arg_d, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodD", 1142s # g_variant_new ("(d)", 1142s # arg_arg_d), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_d: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_d ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmpra_woc6l.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpra_woc6l.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # const gchar *arg_arg_s, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_string (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_s", 1142s # (gchar *) "s", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodS", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-s", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_s: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-s", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_s, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_s: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_s: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_s ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # const gchar *arg_arg_s, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodS", 1142s # g_variant_new ("(s)", 1142s # arg_arg_s), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_s_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_s_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_s_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_s: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_s_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # const gchar *arg_arg_s, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodS", 1142s # g_variant_new ("(s)", 1142s # arg_arg_s), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_s: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_s ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmpsvq_yfq5.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpsvq_yfq5.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # const gchar *arg_arg_o, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_string (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_o", 1142s # (gchar *) "o", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodO", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-o", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_o: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-o", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_o, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_o: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_o: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_o ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # const gchar *arg_arg_o, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodO", 1142s # g_variant_new ("(o)", 1142s # arg_arg_o), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_o_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_o_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_o_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_o: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_o_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # const gchar *arg_arg_o, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodO", 1142s # g_variant_new ("(o)", 1142s # arg_arg_o), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_o: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_o ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmpk76dn_zf.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpk76dn_zf.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # const gchar *arg_arg_g, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_string (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_g", 1142s # (gchar *) "g", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodG", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-g", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_g: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-g", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_g, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_g: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_g: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_g ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # const gchar *arg_arg_g, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodG", 1142s # g_variant_new ("(g)", 1142s # arg_arg_g), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_g_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_g_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_g_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_g: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_g_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # const gchar *arg_arg_g, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodG", 1142s # g_variant_new ("(g)", 1142s # arg_arg_g), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_g: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_g ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1142s # g_datalist_clear (&proxy->priv->qdata); 1142s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1142s # guint prop_id G_GNUC_UNUSED, 1142s # const GValue *value G_GNUC_UNUSED, 1142s # GParamSpec *pspec G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1142s # const gchar *sender_name G_GNUC_UNUSED, 1142s # const gchar *signal_name, 1142s # GVariant *parameters) 1142s # { 1142s # _ExtendedGDBusSignalInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # gsize n; 1142s # guint signal_id; 1142s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1142s # if (info == NULL) 1142s # return; 1142s # num_params = g_variant_n_children (parameters); 1142s # paramv = g_new0 (GValue, num_params + 1); 1142s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[0], proxy); 1142s # g_variant_iter_init (&iter, parameters); 1142s # n = 1; 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_signal_emitv (paramv, signal_id, 0, NULL); 1142s # for (n = 0; n < num_params + 1; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1142s # GVariant *changed_properties, 1142s # const gchar *const *invalidated_properties) 1142s # { 1142s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1142s # guint n; 1142s # const gchar *key; 1142s # GVariantIter *iter; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # g_variant_get (changed_properties, "a{sv}", &iter); 1142s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1142s # g_datalist_remove_data (&proxy->priv->qdata, key); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # g_variant_iter_free (iter); 1142s # for (n = 0; invalidated_properties[n] != NULL; n++) 1142s # { 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1142s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1142s # if (info != NULL) 1142s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1142s # } 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1142s # #else 1142s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1142s # #endif 1142s # 1142s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusProxyClass *proxy_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1142s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1142s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1142s # 1142s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1142s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1142s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_sync: 1142s # * @connection: A #GDBusConnection. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_sync ( 1142s # GDBusConnection *connection, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1142s # */ 1142s # void 1142s # org_project_useful_interface_proxy_new_for_bus ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_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); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_finish: 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_finish ( 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GObject *ret; 1142s # GObject *source_object; 1142s # source_object = g_async_result_get_source_object (res); 1142s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1142s # g_object_unref (source_object); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_proxy_new_for_bus_sync: 1142s # * @bus_type: A #GBusType. 1142s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1142s # * @name: A bus name (well-known or unique). 1142s # * @object_path: An object path. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL 1142s # * 1142s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1142s # * 1142s # * The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_proxy_new_for_bus_sync ( 1142s # GBusType bus_type, 1142s # GDBusProxyFlags flags, 1142s # const gchar *name, 1142s # const gchar *object_path, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GInitable *ret; 1142s # 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); 1142s # if (ret != NULL) 1142s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1142s # else 1142s # return NULL; 1142s # } 1142s # 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeleton: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceSkeletonClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1142s # { 1142s # GValue *properties; 1142s # GList *changed_properties; 1142s # GSource *changed_properties_idle_source; 1142s # GMainContext *context; 1142s # GMutex lock; 1142s # }; 1142s # 1142s # static void 1142s # _org_project_useful_interface_skeleton_handle_method_call ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name, 1142s # const gchar *method_name, 1142s # GVariant *parameters, 1142s # GDBusMethodInvocation *invocation, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # _ExtendedGDBusMethodInfo *info; 1142s # GVariantIter iter; 1142s # GVariant *child; 1142s # GValue *paramv; 1142s # gsize num_params; 1142s # guint num_extra; 1142s # gsize n; 1142s # guint signal_id; 1142s # GValue return_value = G_VALUE_INIT; 1142s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1142s # g_assert (info != NULL); 1142s # num_params = g_variant_n_children (parameters); 1142s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1142s # n = 0; 1142s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_set_object (¶mv[n++], skeleton); 1142s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1142s # g_value_set_object (¶mv[n++], invocation); 1142s # if (info->pass_fdlist) 1142s # { 1142s # #ifdef G_OS_UNIX 1142s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1142s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1142s # #else 1142s # g_assert_not_reached (); 1142s # #endif 1142s # } 1142s # g_variant_iter_init (&iter, parameters); 1142s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1142s # { 1142s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1142s # if (arg_info->use_gvariant) 1142s # { 1142s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1142s # g_value_set_variant (¶mv[n], child); 1142s # n++; 1142s # } 1142s # else 1142s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1142s # g_variant_unref (child); 1142s # } 1142s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1142s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1142s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1142s # if (!g_value_get_boolean (&return_value)) 1142s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1142s # g_value_unset (&return_value); 1142s # for (n = 0; n < num_params + num_extra; n++) 1142s # g_value_unset (¶mv[n]); 1142s # g_free (paramv); 1142s # } 1142s # 1142s # static GVariant * 1142s # _org_project_useful_interface_skeleton_handle_get_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # GVariant *ret; 1142s # ret = NULL; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # g_value_init (&value, pspec->value_type); 1142s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1142s # g_value_unset (&value); 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _org_project_useful_interface_skeleton_handle_set_property ( 1142s # GDBusConnection *connection G_GNUC_UNUSED, 1142s # const gchar *sender G_GNUC_UNUSED, 1142s # const gchar *object_path G_GNUC_UNUSED, 1142s # const gchar *interface_name G_GNUC_UNUSED, 1142s # const gchar *property_name, 1142s # GVariant *variant, 1142s # GError **error, 1142s # gpointer user_data) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1142s # GValue value = G_VALUE_INIT; 1142s # GParamSpec *pspec; 1142s # _ExtendedGDBusPropertyInfo *info; 1142s # gboolean ret; 1142s # ret = FALSE; 1142s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1142s # g_assert (info != NULL); 1142s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1142s # if (pspec == NULL) 1142s # { 1142s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1142s # } 1142s # else 1142s # { 1142s # if (info->use_gvariant) 1142s # g_value_set_variant (&value, variant); 1142s # else 1142s # g_dbus_gvariant_to_gvalue (variant, &value); 1142s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1142s # g_value_unset (&value); 1142s # ret = TRUE; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1142s # { 1142s # _org_project_useful_interface_skeleton_handle_method_call, 1142s # _org_project_useful_interface_skeleton_handle_get_property, 1142s # _org_project_useful_interface_skeleton_handle_set_property, 1142s # {NULL} 1142s # }; 1142s # 1142s # static GDBusInterfaceInfo * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return org_project_useful_interface_interface_info (); 1142s # } 1142s # 1142s # static GDBusInterfaceVTable * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1142s # { 1142s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1142s # } 1142s # 1142s # static GVariant * 1142s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1142s # 1142s # GVariantBuilder builder; 1142s # guint n; 1142s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1142s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1142s # goto out; 1142s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1142s # { 1142s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1142s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1142s # { 1142s # GVariant *value; 1142s # 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); 1142s # if (value != NULL) 1142s # { 1142s # g_variant_take_ref (value); 1142s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1142s # g_variant_unref (value); 1142s # } 1142s # } 1142s # } 1142s # out: 1142s # return g_variant_builder_end (&builder); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_skeleton_finalize (GObject *object) 1142s # { 1142s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1142s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1142s # if (skeleton->priv->changed_properties_idle_source != NULL) 1142s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1142s # g_main_context_unref (skeleton->priv->context); 1142s # g_mutex_clear (&skeleton->priv->lock); 1142s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1142s # { 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1142s # #else 1142s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1142s # #endif 1142s # 1142s # g_mutex_init (&skeleton->priv->lock); 1142s # skeleton->priv->context = g_main_context_ref_thread_default (); 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1142s # { 1142s # GObjectClass *gobject_class; 1142s # GDBusInterfaceSkeletonClass *skeleton_class; 1142s # 1142s # gobject_class = G_OBJECT_CLASS (klass); 1142s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1142s # 1142s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1142s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1142s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1142s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1142s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1142s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1142s # #endif 1142s # } 1142s # 1142s # static void 1142s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1142s # { 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_skeleton_new: 1142s # * 1142s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1142s # * 1142s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1142s # */ 1142s # OrgProjectUsefulInterface * 1142s # org_project_useful_interface_skeleton_new (void) 1142s # { 1142s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1142s # } 1142s # /tmp/tmpjb61ijuh/tmp8icrk4yb.xml: 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # 1142s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmp8icrk4yb.xml', '--output', '-', '--body'] 1142s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1142s # Output: /* 1142s # * This file is generated by gdbus-codegen, do not modify it. 1142s # * 1142s # * The license of this code is the same as for the D-Bus interface description 1142s # * it was derived from. Note that it links to GLib, so must comply with the 1142s # * LGPL linking clauses. 1142s # */ 1142s # 1142s # #ifdef HAVE_CONFIG_H 1142s # # include "config.h" 1142s # #endif 1142s # 1142s # #include 1142s # #ifdef G_OS_UNIX 1142s # # include 1142s # #endif 1142s # 1142s # #ifdef G_ENABLE_DEBUG 1142s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1142s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1142s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1142s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1142s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1142s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1142s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1142s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1142s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1142s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1142s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1142s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1142s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1142s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1142s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1142s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1142s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1142s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1142s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1142s # #else /* !G_ENABLE_DEBUG */ 1142s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1142s # * Do not access GValues directly in your code. Instead, use the 1142s # * g_value_get_*() functions 1142s # */ 1142s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1142s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1142s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1142s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1142s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1142s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1142s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1142s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1142s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1142s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1142s # #endif /* !G_ENABLE_DEBUG */ 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusArgInfo parent_struct; 1142s # gboolean use_gvariant; 1142s # } _ExtendedGDBusArgInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusMethodInfo parent_struct; 1142s # const gchar *signal_name; 1142s # gboolean pass_fdlist; 1142s # } _ExtendedGDBusMethodInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusSignalInfo parent_struct; 1142s # const gchar *signal_name; 1142s # } _ExtendedGDBusSignalInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusPropertyInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # guint use_gvariant : 1; 1142s # guint emits_changed_signal : 1; 1142s # } _ExtendedGDBusPropertyInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # GDBusInterfaceInfo parent_struct; 1142s # const gchar *hyphen_name; 1142s # } _ExtendedGDBusInterfaceInfo; 1142s # 1142s # typedef struct 1142s # { 1142s # const _ExtendedGDBusPropertyInfo *info; 1142s # guint prop_id; 1142s # GValue orig_value; /* the value before the change */ 1142s # } ChangedProperty; 1142s # 1142s # static void 1142s # _changed_property_free (ChangedProperty *data) 1142s # { 1142s # g_value_unset (&data->orig_value); 1142s # g_free (data); 1142s # } 1142s # 1142s # static gboolean 1142s # _g_strv_equal0 (gchar **a, gchar **b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # guint n; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # if (g_strv_length (a) != g_strv_length (b)) 1142s # goto out; 1142s # for (n = 0; a[n] != NULL; n++) 1142s # if (g_strcmp0 (a[n], b[n]) != 0) 1142s # goto out; 1142s # ret = TRUE; 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # static gboolean 1142s # _g_variant_equal0 (GVariant *a, GVariant *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # if (a == NULL && b == NULL) 1142s # { 1142s # ret = TRUE; 1142s # goto out; 1142s # } 1142s # if (a == NULL || b == NULL) 1142s # goto out; 1142s # ret = g_variant_equal (a, b); 1142s # out: 1142s # return ret; 1142s # } 1142s # 1142s # G_GNUC_UNUSED static gboolean 1142s # _g_value_equal (const GValue *a, const GValue *b) 1142s # { 1142s # gboolean ret = FALSE; 1142s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1142s # switch (G_VALUE_TYPE (a)) 1142s # { 1142s # case G_TYPE_BOOLEAN: 1142s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1142s # break; 1142s # case G_TYPE_UCHAR: 1142s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1142s # break; 1142s # case G_TYPE_INT: 1142s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1142s # break; 1142s # case G_TYPE_UINT: 1142s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1142s # break; 1142s # case G_TYPE_INT64: 1142s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1142s # break; 1142s # case G_TYPE_UINT64: 1142s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1142s # break; 1142s # case G_TYPE_DOUBLE: 1142s # { 1142s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1142s # gdouble da = g_value_get_double (a); 1142s # gdouble db = g_value_get_double (b); 1142s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1142s # } 1142s # break; 1142s # case G_TYPE_STRING: 1142s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1142s # break; 1142s # case G_TYPE_VARIANT: 1142s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1142s # break; 1142s # default: 1142s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1142s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1142s # else 1142s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1142s # break; 1142s # } 1142s # return ret; 1142s # } 1142s # 1142s # static void 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint G_GNUC_UNUSED, 1142s # void *marshal_data) 1142s # { 1142s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1142s # (void *data1, 1142s # GDBusMethodInvocation *arg_method_invocation, 1142s # GVariant *arg_arg_h, 1142s # void *data2); 1142s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1142s # GCClosure *cc = (GCClosure*) closure; 1142s # void *data1, *data2; 1142s # gboolean v_return; 1142s # 1142s # g_return_if_fail (return_value != NULL); 1142s # g_return_if_fail (n_param_values == 3); 1142s # 1142s # if (G_CCLOSURE_SWAP_DATA (closure)) 1142s # { 1142s # data1 = closure->data; 1142s # data2 = g_value_peek_pointer (param_values + 0); 1142s # } 1142s # else 1142s # { 1142s # data1 = g_value_peek_pointer (param_values + 0); 1142s # data2 = closure->data; 1142s # } 1142s # 1142s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1142s # (marshal_data ? marshal_data : cc->callback); 1142s # 1142s # v_return = 1142s # callback (data1, 1142s # g_marshal_value_peek_object (param_values + 1), 1142s # g_marshal_value_peek_variant (param_values + 2), 1142s # data2); 1142s # 1142s # g_value_set_boolean (return_value, v_return); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ 1142s # * Code for interface org.project.UsefulInterface 1142s # * ------------------------------------------------------------------------ 1142s # */ 1142s # 1142s # /** 1142s # * SECTION:OrgProjectUsefulInterface 1142s # * @title: OrgProjectUsefulInterface 1142s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1142s # * 1142s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1142s # */ 1142s # 1142s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1142s # 1142s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "arg_h", 1142s # (gchar *) "h", 1142s # NULL 1142s # }, 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "SingleArgMethodH", 1142s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "handle-single-arg-method-h", 1142s # FALSE 1142s # }; 1142s # 1142s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1142s # { 1142s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1142s # NULL 1142s # }; 1142s # 1142s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1142s # { 1142s # { 1142s # -1, 1142s # (gchar *) "org.project.UsefulInterface", 1142s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1142s # NULL, 1142s # NULL, 1142s # NULL 1142s # }, 1142s # "org-project-useful-interface", 1142s # }; 1142s # 1142s # 1142s # /** 1142s # * org_project_useful_interface_interface_info: 1142s # * 1142s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1142s # * 1142s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1142s # */ 1142s # GDBusInterfaceInfo * 1142s # org_project_useful_interface_interface_info (void) 1142s # { 1142s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_override_properties: 1142s # * @klass: The class structure for a #GObject derived class. 1142s # * @property_id_begin: The property id to assign to the first overridden property. 1142s # * 1142s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1142s # * The properties are overridden in the order they are defined. 1142s # * 1142s # * Returns: The last property id. 1142s # */ 1142s # guint 1142s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1142s # { 1142s # return property_id_begin - 1; 1142s # } 1142s # 1142s # 1142s # inline static void 1142s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1142s # GClosure *closure, 1142s # GValue *return_value, 1142s # unsigned int n_param_values, 1142s # const GValue *param_values, 1142s # void *invocation_hint, 1142s # void *marshal_data) 1142s # { 1142s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1142s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1142s # } 1142s # 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterface: 1142s # * 1142s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceIface: 1142s # * @parent_iface: The parent interface. 1142s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1142s # * 1142s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1142s # */ 1142s # 1142s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1142s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1142s # 1142s # static void 1142s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1142s # { 1142s # /* GObject signals for incoming D-Bus method calls: */ 1142s # /** 1142s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: A #GDBusMethodInvocation. 1142s # * @arg_arg_h: Argument passed by remote caller. 1142s # * 1142s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1142s # * 1142s # * 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. 1142s # * 1142s # * 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. 1142s # */ 1142s # g_signal_new ("handle-single-arg-method-h", 1142s # G_TYPE_FROM_INTERFACE (iface), 1142s # G_SIGNAL_RUN_LAST, 1142s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1142s # g_signal_accumulator_true_handled, 1142s # NULL, 1142s # org_project_useful_interface_method_marshal_single_arg_method_h, 1142s # G_TYPE_BOOLEAN, 1142s # 2, 1142s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1142s # 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_h: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_h: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1142s # * @user_data: User data to pass to @callback. 1142s # * 1142s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1142s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1142s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1142s # */ 1142s # void 1142s # org_project_useful_interface_call_single_arg_method_h ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GVariant *arg_arg_h, 1142s # GCancellable *cancellable, 1142s # GAsyncReadyCallback callback, 1142s # gpointer user_data) 1142s # { 1142s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodH", 1142s # g_variant_new ("(@h)", 1142s # arg_arg_h), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # callback, 1142s # user_data); 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_h_finish: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_h_finish ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GAsyncResult *res, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_call_single_arg_method_h_sync: 1142s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1142s # * @arg_arg_h: Argument to pass with the method invocation. 1142s # * @cancellable: (nullable): A #GCancellable or %NULL. 1142s # * @error: Return location for error or %NULL. 1142s # * 1142s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1142s # * 1142s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1142s # * 1142s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1142s # */ 1142s # gboolean 1142s # org_project_useful_interface_call_single_arg_method_h_sync ( 1142s # OrgProjectUsefulInterface *proxy, 1142s # GVariant *arg_arg_h, 1142s # GCancellable *cancellable, 1142s # GError **error) 1142s # { 1142s # GVariant *_ret; 1142s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1142s # "SingleArgMethodH", 1142s # g_variant_new ("(@h)", 1142s # arg_arg_h), 1142s # G_DBUS_CALL_FLAGS_NONE, 1142s # -1, 1142s # cancellable, 1142s # error); 1142s # if (_ret == NULL) 1142s # goto _out; 1142s # g_variant_get (_ret, 1142s # "()"); 1142s # g_variant_unref (_ret); 1142s # _out: 1142s # return _ret != NULL; 1142s # } 1142s # 1142s # /** 1142s # * org_project_useful_interface_complete_single_arg_method_h: 1142s # * @object: A #OrgProjectUsefulInterface. 1142s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1142s # * 1142s # * 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. 1142s # * 1142s # * This method will free @invocation, you cannot use it afterwards. 1142s # */ 1142s # void 1142s # org_project_useful_interface_complete_single_arg_method_h ( 1142s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1142s # GDBusMethodInvocation *invocation) 1142s # { 1142s # g_dbus_method_invocation_return_value (invocation, 1142s # g_variant_new ("()")); 1142s # } 1142s # 1142s # /* ------------------------------------------------------------------------ */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxy: 1142s # * 1142s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1142s # */ 1142s # 1142s # /** 1142s # * OrgProjectUsefulInterfaceProxyClass: 1142s # * @parent_class: The parent class. 1142s # * 1142s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1142s # */ 1142s # 1142s # struct _OrgProjectUsefulInterfaceProxyPrivate 1142s # { 1142s # GData *qdata; 1142s # }; 1142s # 1142s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1142s # 1142s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #else 1142s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1142s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1142s # 1142s # #endif 1142s # static void 1142s # org_project_useful_interface_proxy_finalize (GObject *object) 1142s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpjb61ijuh/tmpibeas4wl.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpibeas4wl.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # const gchar *arg_arg_ay, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 3); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # g_marshal_value_peek_string (param_values + 2), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_ay", 1143s # (gchar *) "ay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodAy", 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-ay", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * @arg_arg_ay: Argument passed by remote caller. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-ay", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1143s # G_TYPE_BOOLEAN, 1143s # 2, 1143s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ay: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @arg_arg_ay: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_ay ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # const gchar *arg_arg_ay, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAy", 1143s # g_variant_new ("(^ay)", 1143s # arg_arg_ay), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @arg_arg_ay: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # const gchar *arg_arg_ay, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAy", 1143s # g_variant_new ("(^ay)", 1143s # arg_arg_ay), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_ay: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_ay ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("()")); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpjb61ijuh/tmpovzrbu1s.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpovzrbu1s.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # const gchar *const *arg_arg_as, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 3); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # g_marshal_value_peek_boxed (param_values + 2), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_as", 1143s # (gchar *) "as", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodAs", 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-as", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * @arg_arg_as: Argument passed by remote caller. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-as", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_as, 1143s # G_TYPE_BOOLEAN, 1143s # 2, 1143s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_as: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @arg_arg_as: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_as ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # const gchar *const *arg_arg_as, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAs", 1143s # g_variant_new ("(^as)", 1143s # arg_arg_as), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_as_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_as_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_as_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @arg_arg_as: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_as_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # const gchar *const *arg_arg_as, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAs", 1143s # g_variant_new ("(^as)", 1143s # arg_arg_as), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_as: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_as ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("()")); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpjb61ijuh/tmpud_fa8im.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpud_fa8im.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # const gchar *const *arg_arg_ao, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 3); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # g_marshal_value_peek_boxed (param_values + 2), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_ao", 1143s # (gchar *) "ao", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodAo", 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-ao", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * @arg_arg_ao: Argument passed by remote caller. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-ao", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1143s # G_TYPE_BOOLEAN, 1143s # 2, 1143s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ao: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @arg_arg_ao: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_ao ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # const gchar *const *arg_arg_ao, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAo", 1143s # g_variant_new ("(^ao)", 1143s # arg_arg_ao), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @arg_arg_ao: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # const gchar *const *arg_arg_ao, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAo", 1143s # g_variant_new ("(^ao)", 1143s # arg_arg_ao), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_ao: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_ao ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("()")); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpjb61ijuh/tmp5sykifri.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmp5sykifri.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # const gchar *const *arg_arg_aay, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 3); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # g_marshal_value_peek_boxed (param_values + 2), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_aay", 1143s # (gchar *) "aay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodAay", 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-aay", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * @arg_arg_aay: Argument passed by remote caller. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-aay", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1143s # G_TYPE_BOOLEAN, 1143s # 2, 1143s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_aay: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @arg_arg_aay: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_aay ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # const gchar *const *arg_arg_aay, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAay", 1143s # g_variant_new ("(^aay)", 1143s # arg_arg_aay), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @arg_arg_aay: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # const gchar *const *arg_arg_aay, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAay", 1143s # g_variant_new ("(^aay)", 1143s # arg_arg_aay), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_aay: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_aay ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("()")); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpjb61ijuh/tmpki5epjml.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjb61ijuh/tmpki5epjml.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # GVariant *arg_arg_asv, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 3); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # g_marshal_value_peek_variant (param_values + 2), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_asv", 1143s # (gchar *) "a{sv}", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodAsv", 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-asv", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * @arg_arg_asv: Argument passed by remote caller. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-asv", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1143s # G_TYPE_BOOLEAN, 1143s # 2, 1143s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_asv: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @arg_arg_asv: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_asv ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GVariant *arg_arg_asv, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAsv", 1143s # g_variant_new ("(@a{sv})", 1143s # arg_arg_asv), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @arg_arg_asv: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GVariant *arg_arg_asv, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAsv", 1143s # g_variant_new ("(@a{sv})", 1143s # arg_arg_asv), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_asv: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_asv ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("()")); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1143s # tmpdir: /tmp/tmpnzph46n4 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmpnzph46n4/tmpzmxsa53j.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmpzmxsa53j.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_b", 1143s # (gchar *) "b", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodB", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-b", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-b", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_b, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_b: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_b ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodB", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_b_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_b_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gboolean *out_arg_b, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(b)", 1143s # out_arg_b); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_b_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_b_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gboolean *out_arg_b, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodB", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(b)", 1143s # out_arg_b); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_b: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_b: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_b ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # gboolean arg_b) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(b)", 1143s # arg_b)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmpgy1zy2kn.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmpgy1zy2kn.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_y", 1143s # (gchar *) "y", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodY", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-y", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-y", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_y, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_y: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_y ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodY", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_y_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_y_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # guchar *out_arg_y, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(y)", 1143s # out_arg_y); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_y_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_y_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # guchar *out_arg_y, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodY", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(y)", 1143s # out_arg_y); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_y: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_y: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_y ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # guchar arg_y) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(y)", 1143s # arg_y)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmp9kwwkk9a.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmp9kwwkk9a.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_n", 1143s # (gchar *) "n", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodN", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-n", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-n", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_n, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_n: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_n ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodN", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_n_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_n_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gint16 *out_arg_n, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(n)", 1143s # out_arg_n); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_n_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_n_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gint16 *out_arg_n, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodN", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(n)", 1143s # out_arg_n); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_n: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_n: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_n ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # gint16 arg_n) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(n)", 1143s # arg_n)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmpnze1y3om.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmpnze1y3om.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_q", 1143s # (gchar *) "q", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodQ", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-q", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-q", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_q, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_q: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_q ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodQ", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_q_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_q_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # guint16 *out_arg_q, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(q)", 1143s # out_arg_q); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_q_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_q_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # guint16 *out_arg_q, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodQ", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(q)", 1143s # out_arg_q); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_q: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_q: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_q ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # guint16 arg_q) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(q)", 1143s # arg_q)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmp_j_q_ft7.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmp_j_q_ft7.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_i", 1143s # (gchar *) "i", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodI", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-i", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-i", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_i, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_i: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_i ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodI", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_i_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_i_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gint *out_arg_i, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(i)", 1143s # out_arg_i); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_i_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_i_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gint *out_arg_i, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodI", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(i)", 1143s # out_arg_i); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_i: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_i: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_i ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # gint arg_i) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(i)", 1143s # arg_i)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmpqn71bmkf.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmpqn71bmkf.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_u", 1143s # (gchar *) "u", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodU", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-u", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-u", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_u, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_u: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_u ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodU", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_u_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_u_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # guint *out_arg_u, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(u)", 1143s # out_arg_u); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_u_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_u_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # guint *out_arg_u, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodU", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(u)", 1143s # out_arg_u); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_u: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_u: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_u ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # guint arg_u) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(u)", 1143s # arg_u)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmphsbu8ifj.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmphsbu8ifj.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_x", 1143s # (gchar *) "x", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodX", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-x", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-x", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_x, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_x: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_x ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodX", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_x_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_x_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gint64 *out_arg_x, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(x)", 1143s # out_arg_x); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_x_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_x_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gint64 *out_arg_x, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodX", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(x)", 1143s # out_arg_x); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_x: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_x: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_x ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # gint64 arg_x) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(x)", 1143s # arg_x)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmp17csfcw_.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmp17csfcw_.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_t", 1143s # (gchar *) "t", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodT", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-t", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-t", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_t, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_t: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_t ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodT", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_t_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_t_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # guint64 *out_arg_t, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(t)", 1143s # out_arg_t); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_t_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_t_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # guint64 *out_arg_t, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodT", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(t)", 1143s # out_arg_t); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_t: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_t: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_t ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # guint64 arg_t) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(t)", 1143s # arg_t)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmp9vpn35zz.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmp9vpn35zz.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_d", 1143s # (gchar *) "d", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodD", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-d", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-d", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_d, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_d: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_d ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodD", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_d_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_d_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gdouble *out_arg_d, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(d)", 1143s # out_arg_d); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_d_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_d_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gdouble *out_arg_d, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodD", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(d)", 1143s # out_arg_d); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_d: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_d: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_d ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # gdouble arg_d) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(d)", 1143s # arg_d)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmp4zbl4hmt.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmp4zbl4hmt.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_s", 1143s # (gchar *) "s", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodS", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-s", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-s", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_s, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_s: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_s ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodS", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_s_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_s_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar **out_arg_s, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(s)", 1143s # out_arg_s); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_s_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_s_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar **out_arg_s, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodS", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(s)", 1143s # out_arg_s); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_s: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_s: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_s ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # const gchar *arg_s) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(s)", 1143s # arg_s)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmptjw9vivs.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmptjw9vivs.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_o", 1143s # (gchar *) "o", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodO", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-o", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-o", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_o, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_o: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_o ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodO", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_o_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_o_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar **out_arg_o, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(o)", 1143s # out_arg_o); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_o_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_o_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar **out_arg_o, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodO", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(o)", 1143s # out_arg_o); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_o: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_o: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_o ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # const gchar *arg_o) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(o)", 1143s # arg_o)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmpsjtn19z4.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmpsjtn19z4.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_g", 1143s # (gchar *) "g", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodG", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-g", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-g", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_g, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_g: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_g ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodG", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_g_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_g_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar **out_arg_g, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(g)", 1143s # out_arg_g); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_g_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_g_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar **out_arg_g, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodG", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(g)", 1143s # out_arg_g); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_g: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_g: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_g ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # const gchar *arg_g) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(g)", 1143s # arg_g)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmpc_i1gxwo.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmpc_i1gxwo.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_h", 1143s # (gchar *) "h", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodH", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-h", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-h", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_h, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_h: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_h ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodH", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_h_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_h_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GVariant **out_arg_h, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(@h)", 1143s # out_arg_h); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_h_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_h_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GVariant **out_arg_h, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodH", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(@h)", 1143s # out_arg_h); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_h: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_h: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_h ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # GVariant *arg_h) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(@h)", 1143s # arg_h)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmpqlj95xyb.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmpqlj95xyb.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_ay", 1143s # (gchar *) "ay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodAy", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-ay", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-ay", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ay: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_ay ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAy", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar **out_arg_ay, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(^ay)", 1143s # out_arg_ay); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar **out_arg_ay, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAy", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(^ay)", 1143s # out_arg_ay); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_ay: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_ay: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_ay ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # const gchar *arg_ay) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(^ay)", 1143s # arg_ay)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmpm7vz1hrd.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmpm7vz1hrd.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_as", 1143s # (gchar *) "as", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodAs", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-as", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-as", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_as, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_as: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_as ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAs", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_as_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_as_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar ***out_arg_as, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(^as)", 1143s # out_arg_as); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_as_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_as_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar ***out_arg_as, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAs", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(^as)", 1143s # out_arg_as); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_as: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_as: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_as ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # const gchar *const *arg_as) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(^as)", 1143s # arg_as)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmp8oh3yggi.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmp8oh3yggi.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_ao", 1143s # (gchar *) "ao", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodAo", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-ao", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-ao", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ao: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_ao ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAo", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar ***out_arg_ao, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(^ao)", 1143s # out_arg_ao); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar ***out_arg_ao, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAo", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(^ao)", 1143s # out_arg_ao); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_ao: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_ao: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_ao ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # const gchar *const *arg_ao) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(^ao)", 1143s # arg_ao)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmpdqz0cv8g.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmpdqz0cv8g.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_aay", 1143s # (gchar *) "aay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodAay", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-aay", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-aay", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_aay: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_aay ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAay", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar ***out_arg_aay, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(^aay)", 1143s # out_arg_aay); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # gchar ***out_arg_aay, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAay", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(^aay)", 1143s # out_arg_aay); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_aay: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_aay: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_aay ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # const gchar *const *arg_aay) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(^aay)", 1143s # arg_aay)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # /tmp/tmpnzph46n4/tmpdrlafwcg.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzph46n4/tmpdrlafwcg.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "arg_asv", 1143s # (gchar *) "a{sv}", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgMethodAsv", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-single-arg-method-asv", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-single-arg-method-asv", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_asv: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_useful_interface_call_single_arg_method_asv ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAsv", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GVariant **out_arg_asv, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(@a{sv})", 1143s # out_arg_asv); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1143s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1143s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1143s # OrgProjectUsefulInterface *proxy, 1143s # GVariant **out_arg_asv, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SingleArgMethodAsv", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(@a{sv})", 1143s # out_arg_asv); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_complete_single_arg_method_asv: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @arg_asv: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_useful_interface_complete_single_arg_method_asv ( 1143s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # GVariant *arg_asv) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(@a{sv})", 1143s # arg_asv)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1143s # tmpdir: /tmp/tmpgi0dzv0x 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmpgi0dzv0x/tmpe_95xw0p.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgi0dzv0x/tmpe_95xw0p.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # gboolean arg_an_b, 1143s # guchar arg_an_y, 1143s # gint16 arg_an_n, 1143s # guint16 arg_an_q, 1143s # gint arg_an_i, 1143s # guint arg_an_u, 1143s # gint64 arg_an_x, 1143s # guint64 arg_an_t, 1143s # gdouble arg_an_d, 1143s # const gchar *arg_an_s, 1143s # const gchar *arg_an_o, 1143s # const gchar *arg_an_g, 1143s # GVariant *arg_an_h, 1143s # const gchar *arg_an_ay, 1143s # const gchar *const *arg_an_as, 1143s # const gchar *const *arg_an_ao, 1143s # const gchar *const *arg_an_aay, 1143s # GVariant *arg_an_asv, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 20); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # g_marshal_value_peek_boolean (param_values + 2), 1143s # g_marshal_value_peek_uchar (param_values + 3), 1143s # g_marshal_value_peek_int (param_values + 4), 1143s # g_marshal_value_peek_uint (param_values + 5), 1143s # g_marshal_value_peek_int (param_values + 6), 1143s # g_marshal_value_peek_uint (param_values + 7), 1143s # g_marshal_value_peek_int64 (param_values + 8), 1143s # g_marshal_value_peek_uint64 (param_values + 9), 1143s # g_marshal_value_peek_double (param_values + 10), 1143s # g_marshal_value_peek_string (param_values + 11), 1143s # g_marshal_value_peek_string (param_values + 12), 1143s # g_marshal_value_peek_string (param_values + 13), 1143s # g_marshal_value_peek_variant (param_values + 14), 1143s # g_marshal_value_peek_string (param_values + 15), 1143s # g_marshal_value_peek_boxed (param_values + 16), 1143s # g_marshal_value_peek_boxed (param_values + 17), 1143s # g_marshal_value_peek_boxed (param_values + 18), 1143s # g_marshal_value_peek_variant (param_values + 19), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.CallableIface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectCallableIface 1143s # * @title: OrgProjectCallableIface 1143s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.CallableIface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_b", 1143s # (gchar *) "b", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_y", 1143s # (gchar *) "y", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_n", 1143s # (gchar *) "n", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_q", 1143s # (gchar *) "q", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_i", 1143s # (gchar *) "i", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_u", 1143s # (gchar *) "u", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_x", 1143s # (gchar *) "x", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_t", 1143s # (gchar *) "t", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_d", 1143s # (gchar *) "d", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_s", 1143s # (gchar *) "s", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_o", 1143s # (gchar *) "o", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_g", 1143s # (gchar *) "g", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_h", 1143s # (gchar *) "h", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ay", 1143s # (gchar *) "ay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_as", 1143s # (gchar *) "as", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ao", 1143s # (gchar *) "ao", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_aay", 1143s # (gchar *) "aay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_asv", 1143s # (gchar *) "a{sv}", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1143s # { 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "MethodWithManyArgs", 1143s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "handle-method-with-many-args", 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_b", 1143s # (gchar *) "b", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_y", 1143s # (gchar *) "y", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_n", 1143s # (gchar *) "n", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_q", 1143s # (gchar *) "q", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_i", 1143s # (gchar *) "i", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_u", 1143s # (gchar *) "u", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_x", 1143s # (gchar *) "x", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_t", 1143s # (gchar *) "t", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_d", 1143s # (gchar *) "d", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_s", 1143s # (gchar *) "s", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_o", 1143s # (gchar *) "o", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_g", 1143s # (gchar *) "g", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_h", 1143s # (gchar *) "h", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ay", 1143s # (gchar *) "ay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_as", 1143s # (gchar *) "as", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ao", 1143s # (gchar *) "ao", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_aay", 1143s # (gchar *) "aay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_asv", 1143s # (gchar *) "a{sv}", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1143s # { 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SameMethodWithManyArgs", 1143s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "handle-same-method-with-many-args", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1143s # { 1143s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1143s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.CallableIface", 1143s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-callable-iface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_callable_iface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_callable_iface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_callable_iface_method_marshal_method_with_many_args ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _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, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _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, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectCallableIface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectCallableIfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1143s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.CallableIface. 1143s # */ 1143s # 1143s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectCallableIface::handle-method-with-many-args: 1143s # * @object: A #OrgProjectCallableIface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * @arg_an_b: Argument passed by remote caller. 1143s # * @arg_an_y: Argument passed by remote caller. 1143s # * @arg_an_n: Argument passed by remote caller. 1143s # * @arg_an_q: Argument passed by remote caller. 1143s # * @arg_an_i: Argument passed by remote caller. 1143s # * @arg_an_u: Argument passed by remote caller. 1143s # * @arg_an_x: Argument passed by remote caller. 1143s # * @arg_an_t: Argument passed by remote caller. 1143s # * @arg_an_d: Argument passed by remote caller. 1143s # * @arg_an_s: Argument passed by remote caller. 1143s # * @arg_an_o: Argument passed by remote caller. 1143s # * @arg_an_g: Argument passed by remote caller. 1143s # * @arg_an_h: Argument passed by remote caller. 1143s # * @arg_an_ay: Argument passed by remote caller. 1143s # * @arg_an_as: Argument passed by remote caller. 1143s # * @arg_an_ao: Argument passed by remote caller. 1143s # * @arg_an_aay: Argument passed by remote caller. 1143s # * @arg_an_asv: Argument passed by remote caller. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-method-with-many-args", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_callable_iface_method_marshal_method_with_many_args, 1143s # G_TYPE_BOOLEAN, 1143s # 19, 1143s # 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); 1143s # 1143s # /** 1143s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1143s # * @object: A #OrgProjectCallableIface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * @arg_an_b: Argument passed by remote caller. 1143s # * @arg_an_y: Argument passed by remote caller. 1143s # * @arg_an_n: Argument passed by remote caller. 1143s # * @arg_an_q: Argument passed by remote caller. 1143s # * @arg_an_i: Argument passed by remote caller. 1143s # * @arg_an_u: Argument passed by remote caller. 1143s # * @arg_an_x: Argument passed by remote caller. 1143s # * @arg_an_t: Argument passed by remote caller. 1143s # * @arg_an_d: Argument passed by remote caller. 1143s # * @arg_an_s: Argument passed by remote caller. 1143s # * @arg_an_o: Argument passed by remote caller. 1143s # * @arg_an_g: Argument passed by remote caller. 1143s # * @arg_an_h: Argument passed by remote caller. 1143s # * @arg_an_ay: Argument passed by remote caller. 1143s # * @arg_an_as: Argument passed by remote caller. 1143s # * @arg_an_ao: Argument passed by remote caller. 1143s # * @arg_an_aay: Argument passed by remote caller. 1143s # * @arg_an_asv: Argument passed by remote caller. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-same-method-with-many-args", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1143s # G_TYPE_BOOLEAN, 1143s # 19, 1143s # 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); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_call_method_with_many_args: 1143s # * @proxy: A #OrgProjectCallableIfaceProxy. 1143s # * @arg_an_b: Argument to pass with the method invocation. 1143s # * @arg_an_y: Argument to pass with the method invocation. 1143s # * @arg_an_n: Argument to pass with the method invocation. 1143s # * @arg_an_q: Argument to pass with the method invocation. 1143s # * @arg_an_i: Argument to pass with the method invocation. 1143s # * @arg_an_u: Argument to pass with the method invocation. 1143s # * @arg_an_x: Argument to pass with the method invocation. 1143s # * @arg_an_t: Argument to pass with the method invocation. 1143s # * @arg_an_d: Argument to pass with the method invocation. 1143s # * @arg_an_s: Argument to pass with the method invocation. 1143s # * @arg_an_o: Argument to pass with the method invocation. 1143s # * @arg_an_g: Argument to pass with the method invocation. 1143s # * @arg_an_h: Argument to pass with the method invocation. 1143s # * @arg_an_ay: Argument to pass with the method invocation. 1143s # * @arg_an_as: Argument to pass with the method invocation. 1143s # * @arg_an_ao: Argument to pass with the method invocation. 1143s # * @arg_an_aay: Argument to pass with the method invocation. 1143s # * @arg_an_asv: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_callable_iface_call_method_with_many_args ( 1143s # OrgProjectCallableIface *proxy, 1143s # gboolean arg_an_b, 1143s # guchar arg_an_y, 1143s # gint16 arg_an_n, 1143s # guint16 arg_an_q, 1143s # gint arg_an_i, 1143s # guint arg_an_u, 1143s # gint64 arg_an_x, 1143s # guint64 arg_an_t, 1143s # gdouble arg_an_d, 1143s # const gchar *arg_an_s, 1143s # const gchar *arg_an_o, 1143s # const gchar *arg_an_g, 1143s # GVariant *arg_an_h, 1143s # const gchar *arg_an_ay, 1143s # const gchar *const *arg_an_as, 1143s # const gchar *const *arg_an_ao, 1143s # const gchar *const *arg_an_aay, 1143s # GVariant *arg_an_asv, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "MethodWithManyArgs", 1143s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1143s # arg_an_b, 1143s # arg_an_y, 1143s # arg_an_n, 1143s # arg_an_q, 1143s # arg_an_i, 1143s # arg_an_u, 1143s # arg_an_x, 1143s # arg_an_t, 1143s # arg_an_d, 1143s # arg_an_s, 1143s # arg_an_o, 1143s # arg_an_g, 1143s # arg_an_h, 1143s # arg_an_ay, 1143s # arg_an_as, 1143s # arg_an_ao, 1143s # arg_an_aay, 1143s # arg_an_asv), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_call_method_with_many_args_finish: 1143s # * @proxy: A #OrgProjectCallableIfaceProxy. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_callable_iface_call_method_with_many_args_finish ( 1143s # OrgProjectCallableIface *proxy, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_call_method_with_many_args_sync: 1143s # * @proxy: A #OrgProjectCallableIfaceProxy. 1143s # * @arg_an_b: Argument to pass with the method invocation. 1143s # * @arg_an_y: Argument to pass with the method invocation. 1143s # * @arg_an_n: Argument to pass with the method invocation. 1143s # * @arg_an_q: Argument to pass with the method invocation. 1143s # * @arg_an_i: Argument to pass with the method invocation. 1143s # * @arg_an_u: Argument to pass with the method invocation. 1143s # * @arg_an_x: Argument to pass with the method invocation. 1143s # * @arg_an_t: Argument to pass with the method invocation. 1143s # * @arg_an_d: Argument to pass with the method invocation. 1143s # * @arg_an_s: Argument to pass with the method invocation. 1143s # * @arg_an_o: Argument to pass with the method invocation. 1143s # * @arg_an_g: Argument to pass with the method invocation. 1143s # * @arg_an_h: Argument to pass with the method invocation. 1143s # * @arg_an_ay: Argument to pass with the method invocation. 1143s # * @arg_an_as: Argument to pass with the method invocation. 1143s # * @arg_an_ao: Argument to pass with the method invocation. 1143s # * @arg_an_aay: Argument to pass with the method invocation. 1143s # * @arg_an_asv: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_callable_iface_call_method_with_many_args_sync ( 1143s # OrgProjectCallableIface *proxy, 1143s # gboolean arg_an_b, 1143s # guchar arg_an_y, 1143s # gint16 arg_an_n, 1143s # guint16 arg_an_q, 1143s # gint arg_an_i, 1143s # guint arg_an_u, 1143s # gint64 arg_an_x, 1143s # guint64 arg_an_t, 1143s # gdouble arg_an_d, 1143s # const gchar *arg_an_s, 1143s # const gchar *arg_an_o, 1143s # const gchar *arg_an_g, 1143s # GVariant *arg_an_h, 1143s # const gchar *arg_an_ay, 1143s # const gchar *const *arg_an_as, 1143s # const gchar *const *arg_an_ao, 1143s # const gchar *const *arg_an_aay, 1143s # GVariant *arg_an_asv, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "MethodWithManyArgs", 1143s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1143s # arg_an_b, 1143s # arg_an_y, 1143s # arg_an_n, 1143s # arg_an_q, 1143s # arg_an_i, 1143s # arg_an_u, 1143s # arg_an_x, 1143s # arg_an_t, 1143s # arg_an_d, 1143s # arg_an_s, 1143s # arg_an_o, 1143s # arg_an_g, 1143s # arg_an_h, 1143s # arg_an_ay, 1143s # arg_an_as, 1143s # arg_an_ao, 1143s # arg_an_aay, 1143s # arg_an_asv), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_call_same_method_with_many_args: 1143s # * @proxy: A #OrgProjectCallableIfaceProxy. 1143s # * @arg_an_b: Argument to pass with the method invocation. 1143s # * @arg_an_y: Argument to pass with the method invocation. 1143s # * @arg_an_n: Argument to pass with the method invocation. 1143s # * @arg_an_q: Argument to pass with the method invocation. 1143s # * @arg_an_i: Argument to pass with the method invocation. 1143s # * @arg_an_u: Argument to pass with the method invocation. 1143s # * @arg_an_x: Argument to pass with the method invocation. 1143s # * @arg_an_t: Argument to pass with the method invocation. 1143s # * @arg_an_d: Argument to pass with the method invocation. 1143s # * @arg_an_s: Argument to pass with the method invocation. 1143s # * @arg_an_o: Argument to pass with the method invocation. 1143s # * @arg_an_g: Argument to pass with the method invocation. 1143s # * @arg_an_h: Argument to pass with the method invocation. 1143s # * @arg_an_ay: Argument to pass with the method invocation. 1143s # * @arg_an_as: Argument to pass with the method invocation. 1143s # * @arg_an_ao: Argument to pass with the method invocation. 1143s # * @arg_an_aay: Argument to pass with the method invocation. 1143s # * @arg_an_asv: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_callable_iface_call_same_method_with_many_args ( 1143s # OrgProjectCallableIface *proxy, 1143s # gboolean arg_an_b, 1143s # guchar arg_an_y, 1143s # gint16 arg_an_n, 1143s # guint16 arg_an_q, 1143s # gint arg_an_i, 1143s # guint arg_an_u, 1143s # gint64 arg_an_x, 1143s # guint64 arg_an_t, 1143s # gdouble arg_an_d, 1143s # const gchar *arg_an_s, 1143s # const gchar *arg_an_o, 1143s # const gchar *arg_an_g, 1143s # GVariant *arg_an_h, 1143s # const gchar *arg_an_ay, 1143s # const gchar *const *arg_an_as, 1143s # const gchar *const *arg_an_ao, 1143s # const gchar *const *arg_an_aay, 1143s # GVariant *arg_an_asv, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "SameMethodWithManyArgs", 1143s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1143s # arg_an_b, 1143s # arg_an_y, 1143s # arg_an_n, 1143s # arg_an_q, 1143s # arg_an_i, 1143s # arg_an_u, 1143s # arg_an_x, 1143s # arg_an_t, 1143s # arg_an_d, 1143s # arg_an_s, 1143s # arg_an_o, 1143s # arg_an_g, 1143s # arg_an_h, 1143s # arg_an_ay, 1143s # arg_an_as, 1143s # arg_an_ao, 1143s # arg_an_aay, 1143s # arg_an_asv), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1143s # * @proxy: A #OrgProjectCallableIfaceProxy. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1143s # OrgProjectCallableIface *proxy, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1143s # * @proxy: A #OrgProjectCallableIfaceProxy. 1143s # * @arg_an_b: Argument to pass with the method invocation. 1143s # * @arg_an_y: Argument to pass with the method invocation. 1143s # * @arg_an_n: Argument to pass with the method invocation. 1143s # * @arg_an_q: Argument to pass with the method invocation. 1143s # * @arg_an_i: Argument to pass with the method invocation. 1143s # * @arg_an_u: Argument to pass with the method invocation. 1143s # * @arg_an_x: Argument to pass with the method invocation. 1143s # * @arg_an_t: Argument to pass with the method invocation. 1143s # * @arg_an_d: Argument to pass with the method invocation. 1143s # * @arg_an_s: Argument to pass with the method invocation. 1143s # * @arg_an_o: Argument to pass with the method invocation. 1143s # * @arg_an_g: Argument to pass with the method invocation. 1143s # * @arg_an_h: Argument to pass with the method invocation. 1143s # * @arg_an_ay: Argument to pass with the method invocation. 1143s # * @arg_an_as: Argument to pass with the method invocation. 1143s # * @arg_an_ao: Argument to pass with the method invocation. 1143s # * @arg_an_aay: Argument to pass with the method invocation. 1143s # * @arg_an_asv: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1143s # OrgProjectCallableIface *proxy, 1143s # gboolean arg_an_b, 1143s # guchar arg_an_y, 1143s # gint16 arg_an_n, 1143s # guint16 arg_an_q, 1143s # gint arg_an_i, 1143s # guint arg_an_u, 1143s # gint64 arg_an_x, 1143s # guint64 arg_an_t, 1143s # gdouble arg_an_d, 1143s # const gchar *arg_an_s, 1143s # const gchar *arg_an_o, 1143s # const gchar *arg_an_g, 1143s # GVariant *arg_an_h, 1143s # const gchar *arg_an_ay, 1143s # const gchar *const *arg_an_as, 1143s # const gchar *const *arg_an_ao, 1143s # const gchar *const *arg_an_aay, 1143s # GVariant *arg_an_asv, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "SameMethodWithManyArgs", 1143s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1143s # arg_an_b, 1143s # arg_an_y, 1143s # arg_an_n, 1143s # arg_an_q, 1143s # arg_an_i, 1143s # arg_an_u, 1143s # arg_an_x, 1143s # arg_an_t, 1143s # arg_an_d, 1143s # arg_an_s, 1143s # arg_an_o, 1143s # arg_an_g, 1143s # arg_an_h, 1143s # arg_an_ay, 1143s # arg_an_as, 1143s # arg_an_ao, 1143s # arg_an_aay, 1143s # arg_an_asv), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_complete_method_with_many_args: 1143s # * @object: A #OrgProjectCallableIface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_callable_iface_complete_method_with_many_args ( 1143s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("()")); 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_complete_same_method_with_many_args: 1143s # * @object: A #OrgProjectCallableIface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_callable_iface_complete_same_method_with_many_args ( 1143s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("()")); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectCallableIfaceProxy: 1143s # * 1143s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectCallableIfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectCallableIfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectCallableIfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_callable_iface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1143s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1143s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_callable_iface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectCallableIface * 1143s # org_project_callable_iface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectCallableIface * 1143s # org_project_callable_iface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_callable_iface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectCallableIface * 1143s # org_project_callable_iface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectCallableIface * 1143s # org_project_callable_iface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectCallableIfaceSkeleton: 1143s # * 1143s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectCallableIfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectCallableIfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_callable_iface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_callable_iface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_callable_iface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1143s # { 1143s # _org_project_callable_iface_skeleton_handle_method_call, 1143s # _org_project_callable_iface_skeleton_handle_get_property, 1143s # _org_project_callable_iface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_callable_iface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_callable_iface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectCallableIface * 1143s # org_project_callable_iface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.OtherCallableIface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectOtherCallableIface 1143s # * @title: OrgProjectOtherCallableIface 1143s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_b", 1143s # (gchar *) "b", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_y", 1143s # (gchar *) "y", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_n", 1143s # (gchar *) "n", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_q", 1143s # (gchar *) "q", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_i", 1143s # (gchar *) "i", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_u", 1143s # (gchar *) "u", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_x", 1143s # (gchar *) "x", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_t", 1143s # (gchar *) "t", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_d", 1143s # (gchar *) "d", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_s", 1143s # (gchar *) "s", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_o", 1143s # (gchar *) "o", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_g", 1143s # (gchar *) "g", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_h", 1143s # (gchar *) "h", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ay", 1143s # (gchar *) "ay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_as", 1143s # (gchar *) "as", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ao", 1143s # (gchar *) "ao", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_aay", 1143s # (gchar *) "aay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_asv", 1143s # (gchar *) "a{sv}", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1143s # { 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "MethodWithManyArgs", 1143s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "handle-method-with-many-args", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1143s # { 1143s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.OtherCallableIface", 1143s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-other-callable-iface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_other_callable_iface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _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, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectOtherCallableIface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectOtherCallableIfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1143s # */ 1143s # 1143s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1143s # * @object: A #OrgProjectOtherCallableIface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * @arg_an_b: Argument passed by remote caller. 1143s # * @arg_an_y: Argument passed by remote caller. 1143s # * @arg_an_n: Argument passed by remote caller. 1143s # * @arg_an_q: Argument passed by remote caller. 1143s # * @arg_an_i: Argument passed by remote caller. 1143s # * @arg_an_u: Argument passed by remote caller. 1143s # * @arg_an_x: Argument passed by remote caller. 1143s # * @arg_an_t: Argument passed by remote caller. 1143s # * @arg_an_d: Argument passed by remote caller. 1143s # * @arg_an_s: Argument passed by remote caller. 1143s # * @arg_an_o: Argument passed by remote caller. 1143s # * @arg_an_g: Argument passed by remote caller. 1143s # * @arg_an_h: Argument passed by remote caller. 1143s # * @arg_an_ay: Argument passed by remote caller. 1143s # * @arg_an_as: Argument passed by remote caller. 1143s # * @arg_an_ao: Argument passed by remote caller. 1143s # * @arg_an_aay: Argument passed by remote caller. 1143s # * @arg_an_asv: Argument passed by remote caller. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-method-with-many-args", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1143s # G_TYPE_BOOLEAN, 1143s # 19, 1143s # 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); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_call_method_with_many_args: 1143s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1143s # * @arg_an_b: Argument to pass with the method invocation. 1143s # * @arg_an_y: Argument to pass with the method invocation. 1143s # * @arg_an_n: Argument to pass with the method invocation. 1143s # * @arg_an_q: Argument to pass with the method invocation. 1143s # * @arg_an_i: Argument to pass with the method invocation. 1143s # * @arg_an_u: Argument to pass with the method invocation. 1143s # * @arg_an_x: Argument to pass with the method invocation. 1143s # * @arg_an_t: Argument to pass with the method invocation. 1143s # * @arg_an_d: Argument to pass with the method invocation. 1143s # * @arg_an_s: Argument to pass with the method invocation. 1143s # * @arg_an_o: Argument to pass with the method invocation. 1143s # * @arg_an_g: Argument to pass with the method invocation. 1143s # * @arg_an_h: Argument to pass with the method invocation. 1143s # * @arg_an_ay: Argument to pass with the method invocation. 1143s # * @arg_an_as: Argument to pass with the method invocation. 1143s # * @arg_an_ao: Argument to pass with the method invocation. 1143s # * @arg_an_aay: Argument to pass with the method invocation. 1143s # * @arg_an_asv: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_other_callable_iface_call_method_with_many_args ( 1143s # OrgProjectOtherCallableIface *proxy, 1143s # gboolean arg_an_b, 1143s # guchar arg_an_y, 1143s # gint16 arg_an_n, 1143s # guint16 arg_an_q, 1143s # gint arg_an_i, 1143s # guint arg_an_u, 1143s # gint64 arg_an_x, 1143s # guint64 arg_an_t, 1143s # gdouble arg_an_d, 1143s # const gchar *arg_an_s, 1143s # const gchar *arg_an_o, 1143s # const gchar *arg_an_g, 1143s # GVariant *arg_an_h, 1143s # const gchar *arg_an_ay, 1143s # const gchar *const *arg_an_as, 1143s # const gchar *const *arg_an_ao, 1143s # const gchar *const *arg_an_aay, 1143s # GVariant *arg_an_asv, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "MethodWithManyArgs", 1143s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1143s # arg_an_b, 1143s # arg_an_y, 1143s # arg_an_n, 1143s # arg_an_q, 1143s # arg_an_i, 1143s # arg_an_u, 1143s # arg_an_x, 1143s # arg_an_t, 1143s # arg_an_d, 1143s # arg_an_s, 1143s # arg_an_o, 1143s # arg_an_g, 1143s # arg_an_h, 1143s # arg_an_ay, 1143s # arg_an_as, 1143s # arg_an_ao, 1143s # arg_an_aay, 1143s # arg_an_asv), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1143s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1143s # OrgProjectOtherCallableIface *proxy, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1143s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1143s # * @arg_an_b: Argument to pass with the method invocation. 1143s # * @arg_an_y: Argument to pass with the method invocation. 1143s # * @arg_an_n: Argument to pass with the method invocation. 1143s # * @arg_an_q: Argument to pass with the method invocation. 1143s # * @arg_an_i: Argument to pass with the method invocation. 1143s # * @arg_an_u: Argument to pass with the method invocation. 1143s # * @arg_an_x: Argument to pass with the method invocation. 1143s # * @arg_an_t: Argument to pass with the method invocation. 1143s # * @arg_an_d: Argument to pass with the method invocation. 1143s # * @arg_an_s: Argument to pass with the method invocation. 1143s # * @arg_an_o: Argument to pass with the method invocation. 1143s # * @arg_an_g: Argument to pass with the method invocation. 1143s # * @arg_an_h: Argument to pass with the method invocation. 1143s # * @arg_an_ay: Argument to pass with the method invocation. 1143s # * @arg_an_as: Argument to pass with the method invocation. 1143s # * @arg_an_ao: Argument to pass with the method invocation. 1143s # * @arg_an_aay: Argument to pass with the method invocation. 1143s # * @arg_an_asv: Argument to pass with the method invocation. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1143s # OrgProjectOtherCallableIface *proxy, 1143s # gboolean arg_an_b, 1143s # guchar arg_an_y, 1143s # gint16 arg_an_n, 1143s # guint16 arg_an_q, 1143s # gint arg_an_i, 1143s # guint arg_an_u, 1143s # gint64 arg_an_x, 1143s # guint64 arg_an_t, 1143s # gdouble arg_an_d, 1143s # const gchar *arg_an_s, 1143s # const gchar *arg_an_o, 1143s # const gchar *arg_an_g, 1143s # GVariant *arg_an_h, 1143s # const gchar *arg_an_ay, 1143s # const gchar *const *arg_an_as, 1143s # const gchar *const *arg_an_ao, 1143s # const gchar *const *arg_an_aay, 1143s # GVariant *arg_an_asv, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "MethodWithManyArgs", 1143s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1143s # arg_an_b, 1143s # arg_an_y, 1143s # arg_an_n, 1143s # arg_an_q, 1143s # arg_an_i, 1143s # arg_an_u, 1143s # arg_an_x, 1143s # arg_an_t, 1143s # arg_an_d, 1143s # arg_an_s, 1143s # arg_an_o, 1143s # arg_an_g, 1143s # arg_an_h, 1143s # arg_an_ay, 1143s # arg_an_as, 1143s # arg_an_ao, 1143s # arg_an_aay, 1143s # arg_an_asv), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "()"); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_complete_method_with_many_args: 1143s # * @object: A #OrgProjectOtherCallableIface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_other_callable_iface_complete_method_with_many_args ( 1143s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("()")); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectOtherCallableIfaceProxy: 1143s # * 1143s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectOtherCallableIfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1143s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1143s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_other_callable_iface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherCallableIface * 1143s # org_project_other_callable_iface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherCallableIface * 1143s # org_project_other_callable_iface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_other_callable_iface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherCallableIface * 1143s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherCallableIface * 1143s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectOtherCallableIfaceSkeleton: 1143s # * 1143s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectOtherCallableIfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1143s # { 1143s # _org_project_other_callable_iface_skeleton_handle_method_call, 1143s # _org_project_other_callable_iface_skeleton_handle_get_property, 1143s # _org_project_other_callable_iface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_other_callable_iface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_callable_iface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectOtherCallableIface * 1143s # org_project_other_callable_iface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1143s # } 1143s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1143s # tmpdir: /tmp/tmpeui8rjcy 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmpeui8rjcy/tmpu41_jway.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeui8rjcy/tmpu41_jway.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (void *data1, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.CallableIface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectCallableIface 1143s # * @title: OrgProjectCallableIface 1143s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for org.project.CallableIface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_b", 1143s # (gchar *) "b", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_y", 1143s # (gchar *) "y", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_n", 1143s # (gchar *) "n", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_q", 1143s # (gchar *) "q", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_i", 1143s # (gchar *) "i", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_u", 1143s # (gchar *) "u", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_x", 1143s # (gchar *) "x", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_t", 1143s # (gchar *) "t", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_d", 1143s # (gchar *) "d", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_s", 1143s # (gchar *) "s", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_o", 1143s # (gchar *) "o", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_g", 1143s # (gchar *) "g", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_h", 1143s # (gchar *) "h", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ay", 1143s # (gchar *) "ay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_as", 1143s # (gchar *) "as", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ao", 1143s # (gchar *) "ao", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_aay", 1143s # (gchar *) "aay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_asv", 1143s # (gchar *) "a{sv}", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1143s # { 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1143s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "MethodWithManyArgs", 1143s # NULL, 1143s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-method-with-many-args", 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1143s # { 1143s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.CallableIface", 1143s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-callable-iface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_callable_iface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_callable_iface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_callable_iface_method_marshal_method_with_many_args ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectCallableIface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectCallableIfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.CallableIface. 1143s # */ 1143s # 1143s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * OrgProjectCallableIface::handle-method-with-many-args: 1143s # * @object: A #OrgProjectCallableIface. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-method-with-many-args", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # org_project_callable_iface_method_marshal_method_with_many_args, 1143s # G_TYPE_BOOLEAN, 1143s # 1, 1143s # G_TYPE_DBUS_METHOD_INVOCATION); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_call_method_with_many_args: 1143s # * @proxy: A #OrgProjectCallableIfaceProxy. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # org_project_callable_iface_call_method_with_many_args ( 1143s # OrgProjectCallableIface *proxy, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1143s # "MethodWithManyArgs", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_call_method_with_many_args_finish: 1143s # * @proxy: A #OrgProjectCallableIfaceProxy. 1143s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_callable_iface_call_method_with_many_args_finish ( 1143s # OrgProjectCallableIface *proxy, 1143s # gboolean *out_an_b, 1143s # guchar *out_an_y, 1143s # gint16 *out_an_n, 1143s # guint16 *out_an_q, 1143s # gint *out_an_i, 1143s # guint *out_an_u, 1143s # gint64 *out_an_x, 1143s # guint64 *out_an_t, 1143s # gdouble *out_an_d, 1143s # gchar **out_an_s, 1143s # gchar **out_an_o, 1143s # gchar **out_an_g, 1143s # GVariant **out_an_h, 1143s # gchar **out_an_ay, 1143s # gchar ***out_an_as, 1143s # gchar ***out_an_ao, 1143s # gchar ***out_an_aay, 1143s # GVariant **out_an_asv, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1143s # out_an_b, 1143s # out_an_y, 1143s # out_an_n, 1143s # out_an_q, 1143s # out_an_i, 1143s # out_an_u, 1143s # out_an_x, 1143s # out_an_t, 1143s # out_an_d, 1143s # out_an_s, 1143s # out_an_o, 1143s # out_an_g, 1143s # out_an_h, 1143s # out_an_ay, 1143s # out_an_as, 1143s # out_an_ao, 1143s # out_an_aay, 1143s # out_an_asv); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_call_method_with_many_args_sync: 1143s # * @proxy: A #OrgProjectCallableIfaceProxy. 1143s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1143s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # org_project_callable_iface_call_method_with_many_args_sync ( 1143s # OrgProjectCallableIface *proxy, 1143s # gboolean *out_an_b, 1143s # guchar *out_an_y, 1143s # gint16 *out_an_n, 1143s # guint16 *out_an_q, 1143s # gint *out_an_i, 1143s # guint *out_an_u, 1143s # gint64 *out_an_x, 1143s # guint64 *out_an_t, 1143s # gdouble *out_an_d, 1143s # gchar **out_an_s, 1143s # gchar **out_an_o, 1143s # gchar **out_an_g, 1143s # GVariant **out_an_h, 1143s # gchar **out_an_ay, 1143s # gchar ***out_an_as, 1143s # gchar ***out_an_ao, 1143s # gchar ***out_an_aay, 1143s # GVariant **out_an_asv, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1143s # "MethodWithManyArgs", 1143s # g_variant_new ("()"), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1143s # out_an_b, 1143s # out_an_y, 1143s # out_an_n, 1143s # out_an_q, 1143s # out_an_i, 1143s # out_an_u, 1143s # out_an_x, 1143s # out_an_t, 1143s # out_an_d, 1143s # out_an_s, 1143s # out_an_o, 1143s # out_an_g, 1143s # out_an_h, 1143s # out_an_ay, 1143s # out_an_as, 1143s # out_an_ao, 1143s # out_an_aay, 1143s # out_an_asv); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_complete_method_with_many_args: 1143s # * @object: A #OrgProjectCallableIface. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @an_b: Parameter to return. 1143s # * @an_y: Parameter to return. 1143s # * @an_n: Parameter to return. 1143s # * @an_q: Parameter to return. 1143s # * @an_i: Parameter to return. 1143s # * @an_u: Parameter to return. 1143s # * @an_x: Parameter to return. 1143s # * @an_t: Parameter to return. 1143s # * @an_d: Parameter to return. 1143s # * @an_s: Parameter to return. 1143s # * @an_o: Parameter to return. 1143s # * @an_g: Parameter to return. 1143s # * @an_h: Parameter to return. 1143s # * @an_ay: Parameter to return. 1143s # * @an_as: Parameter to return. 1143s # * @an_ao: Parameter to return. 1143s # * @an_aay: Parameter to return. 1143s # * @an_asv: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # org_project_callable_iface_complete_method_with_many_args ( 1143s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # gboolean an_b, 1143s # guchar an_y, 1143s # gint16 an_n, 1143s # guint16 an_q, 1143s # gint an_i, 1143s # guint an_u, 1143s # gint64 an_x, 1143s # guint64 an_t, 1143s # gdouble an_d, 1143s # const gchar *an_s, 1143s # const gchar *an_o, 1143s # const gchar *an_g, 1143s # GVariant *an_h, 1143s # const gchar *an_ay, 1143s # const gchar *const *an_as, 1143s # const gchar *const *an_ao, 1143s # const gchar *const *an_aay, 1143s # GVariant *an_asv) 1143s # { 1143s # g_dbus_method_invocation_return_value (invocation, 1143s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1143s # an_b, 1143s # an_y, 1143s # an_n, 1143s # an_q, 1143s # an_i, 1143s # an_u, 1143s # an_x, 1143s # an_t, 1143s # an_d, 1143s # an_s, 1143s # an_o, 1143s # an_g, 1143s # an_h, 1143s # an_ay, 1143s # an_as, 1143s # an_ao, 1143s # an_aay, 1143s # an_asv)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectCallableIfaceProxy: 1143s # * 1143s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectCallableIfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectCallableIfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectCallableIfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_callable_iface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1143s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1143s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_callable_iface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectCallableIface * 1143s # org_project_callable_iface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectCallableIface * 1143s # org_project_callable_iface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_callable_iface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectCallableIface * 1143s # org_project_callable_iface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectCallableIface * 1143s # org_project_callable_iface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectCallableIfaceSkeleton: 1143s # * 1143s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectCallableIfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectCallableIfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_callable_iface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_callable_iface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_callable_iface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1143s # { 1143s # _org_project_callable_iface_skeleton_handle_method_call, 1143s # _org_project_callable_iface_skeleton_handle_get_property, 1143s # _org_project_callable_iface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_callable_iface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_callable_iface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_callable_iface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectCallableIface * 1143s # org_project_callable_iface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1143s # } 1143s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1143s # tmpdir: /tmp/tmpkcg6x5s4 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmpkcg6x5s4/tmpb933gjbe.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkcg6x5s4/tmpb933gjbe.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1143s # (void *data1, 1143s # GUnixFDList *arg_fd_list, 1143s # GDBusMethodInvocation *arg_method_invocation, 1143s # const gchar *arg_greeting, 1143s # void *data2); 1143s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # gboolean v_return; 1143s # 1143s # g_return_if_fail (return_value != NULL); 1143s # g_return_if_fail (n_param_values == 4); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # v_return = 1143s # callback (data1, 1143s # g_marshal_value_peek_object (param_values + 1), 1143s # g_marshal_value_peek_object (param_values + 2), 1143s # g_marshal_value_peek_string (param_values + 3), 1143s # data2); 1143s # 1143s # g_value_set_boolean (return_value, v_return); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface test.FDPassing 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:TestFDPassing 1143s # * @title: TestFDPassing 1143s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1143s # * 1143s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1143s # */ 1143s # 1143s # /* ---- Introspection data for test.FDPassing ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "greeting", 1143s # (gchar *) "s", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1143s # { 1143s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "response", 1143s # (gchar *) "s", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1143s # { 1143s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "HelloFD", 1143s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1143s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "handle-hello-fd", 1143s # TRUE 1143s # }; 1143s # 1143s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1143s # { 1143s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "test.FDPassing", 1143s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1143s # NULL, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "test-fdpassing", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * test_fdpassing_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # test_fdpassing_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * test_fdpassing_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # test_fdpassing_method_marshal_hello_fd ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * TestFDPassing: 1143s # * 1143s # * Abstract interface type for the D-Bus interface test.FDPassing. 1143s # */ 1143s # 1143s # /** 1143s # * TestFDPassingIface: 1143s # * @parent_iface: The parent interface. 1143s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1143s # * 1143s # * Virtual table for the D-Bus interface test.FDPassing. 1143s # */ 1143s # 1143s # typedef TestFDPassingIface TestFDPassingInterface; 1143s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # test_fdpassing_default_init (TestFDPassingIface *iface) 1143s # { 1143s # /* GObject signals for incoming D-Bus method calls: */ 1143s # /** 1143s # * TestFDPassing::handle-hello-fd: 1143s # * @object: A #TestFDPassing. 1143s # * @invocation: A #GDBusMethodInvocation. 1143s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1143s # * @arg_greeting: Argument passed by remote caller. 1143s # * 1143s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1143s # * 1143s # * 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. 1143s # * 1143s # * 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. 1143s # */ 1143s # g_signal_new ("handle-hello-fd", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1143s # g_signal_accumulator_true_handled, 1143s # NULL, 1143s # test_fdpassing_method_marshal_hello_fd, 1143s # G_TYPE_BOOLEAN, 1143s # 3, 1143s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * test_fdpassing_call_hello_fd: 1143s # * @proxy: A #TestFDPassingProxy. 1143s # * @arg_greeting: Argument to pass with the method invocation. 1143s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1143s # * 1143s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1143s # */ 1143s # void 1143s # test_fdpassing_call_hello_fd ( 1143s # TestFDPassing *proxy, 1143s # const gchar *arg_greeting, 1143s # GUnixFDList *fd_list, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1143s # "HelloFD", 1143s # g_variant_new ("(s)", 1143s # arg_greeting), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # fd_list, 1143s # cancellable, 1143s # callback, 1143s # user_data); 1143s # } 1143s # 1143s # /** 1143s # * test_fdpassing_call_hello_fd_finish: 1143s # * @proxy: A #TestFDPassingProxy. 1143s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # test_fdpassing_call_hello_fd_finish ( 1143s # TestFDPassing *proxy, 1143s # gchar **out_response, 1143s # GUnixFDList **out_fd_list, 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(s)", 1143s # out_response); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * test_fdpassing_call_hello_fd_sync: 1143s # * @proxy: A #TestFDPassingProxy. 1143s # * @arg_greeting: Argument to pass with the method invocation. 1143s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1143s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1143s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL. 1143s # * 1143s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1143s # * 1143s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1143s # * 1143s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1143s # */ 1143s # gboolean 1143s # test_fdpassing_call_hello_fd_sync ( 1143s # TestFDPassing *proxy, 1143s # const gchar *arg_greeting, 1143s # GUnixFDList *fd_list, 1143s # gchar **out_response, 1143s # GUnixFDList **out_fd_list, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GVariant *_ret; 1143s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1143s # "HelloFD", 1143s # g_variant_new ("(s)", 1143s # arg_greeting), 1143s # G_DBUS_CALL_FLAGS_NONE, 1143s # -1, 1143s # fd_list, 1143s # out_fd_list, 1143s # cancellable, 1143s # error); 1143s # if (_ret == NULL) 1143s # goto _out; 1143s # g_variant_get (_ret, 1143s # "(s)", 1143s # out_response); 1143s # g_variant_unref (_ret); 1143s # _out: 1143s # return _ret != NULL; 1143s # } 1143s # 1143s # /** 1143s # * test_fdpassing_complete_hello_fd: 1143s # * @object: A #TestFDPassing. 1143s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1143s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1143s # * @response: Parameter to return. 1143s # * 1143s # * 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. 1143s # * 1143s # * This method will free @invocation, you cannot use it afterwards. 1143s # */ 1143s # void 1143s # test_fdpassing_complete_hello_fd ( 1143s # TestFDPassing *object G_GNUC_UNUSED, 1143s # GDBusMethodInvocation *invocation, 1143s # GUnixFDList *fd_list, 1143s # const gchar *response) 1143s # { 1143s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1143s # g_variant_new ("(s)", 1143s # response), 1143s # fd_list); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * TestFDPassingProxy: 1143s # * 1143s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * TestFDPassingProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #TestFDPassingProxy. 1143s # */ 1143s # 1143s # struct _TestFDPassingProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (TestFDPassingProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # test_fdpassing_proxy_finalize (GObject *object) 1143s # { 1143s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1143s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1143s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1143s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * test_fdpassing_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # test_fdpassing_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * test_fdpassing_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with test_fdpassing_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # TestFDPassing * 1143s # test_fdpassing_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return TEST_FDPASSING (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * test_fdpassing_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # TestFDPassing * 1143s # test_fdpassing_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return TEST_FDPASSING (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * test_fdpassing_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # test_fdpassing_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * test_fdpassing_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # TestFDPassing * 1143s # test_fdpassing_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return TEST_FDPASSING (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * test_fdpassing_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # TestFDPassing * 1143s # test_fdpassing_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return TEST_FDPASSING (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * TestFDPassingSkeleton: 1143s # * 1143s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * TestFDPassingSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #TestFDPassingSkeleton. 1143s # */ 1143s # 1143s # struct _TestFDPassingSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _test_fdpassing_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _test_fdpassing_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _test_fdpassing_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1143s # { 1143s # _test_fdpassing_skeleton_handle_method_call, 1143s # _test_fdpassing_skeleton_handle_get_property, 1143s # _test_fdpassing_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return test_fdpassing_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # test_fdpassing_skeleton_finalize (GObject *object) 1143s # { 1143s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * test_fdpassing_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1143s # * 1143s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1143s # */ 1143s # TestFDPassing * 1143s # test_fdpassing_skeleton_new (void) 1143s # { 1143s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1143s # } 1143s ok 15 __main__.TestCodegen.test_generate_rst 1143s # tmpdir: /tmp/tmpuw1ayug_ 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmpuw1ayug_/tmp6qwyzad_.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuw1ayug_/tmp6qwyzad_.xml', '--generate-rst', 'test'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: 1143s ok 16 __main__.TestCodegen.test_generate_rst_method 1143s # tmpdir: /tmp/tmpa2cf_8tq 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmpa2cf_8tq/tmp6dv8_fme.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa2cf_8tq/tmp6dv8_fme.xml', '--generate-rst', 'test'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: 1143s ok 17 __main__.TestCodegen.test_generate_rst_property 1143s # tmpdir: /tmp/tmp6tkybopg 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmp6tkybopg/tmpr6n6_aq3.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tkybopg/tmpr6n6_aq3.xml', '--generate-rst', 'test'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: 1143s ok 18 __main__.TestCodegen.test_generate_rst_signal 1143s # tmpdir: /tmp/tmpkrt192da 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmpkrt192da/tmpm3awgd2u.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkrt192da/tmpm3awgd2u.xml', '--generate-rst', 'test'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: 1143s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1143s # tmpdir: /tmp/tmpgc67x2z6 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmpgc67x2z6/tmpx7wzsskp.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgc67x2z6/tmpx7wzsskp.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1143s # GClosure *closure, 1143s # GValue *return_value G_GNUC_UNUSED, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1143s # (void *data1, 1143s # gboolean arg_an_b, 1143s # guchar arg_an_y, 1143s # gint16 arg_an_n, 1143s # guint16 arg_an_q, 1143s # gint arg_an_i, 1143s # guint arg_an_u, 1143s # gint64 arg_an_x, 1143s # guint64 arg_an_t, 1143s # gdouble arg_an_d, 1143s # const gchar *arg_an_s, 1143s # const gchar *arg_an_o, 1143s # const gchar *arg_an_g, 1143s # GVariant *arg_an_h, 1143s # const gchar *arg_an_ay, 1143s # const gchar *const *arg_an_as, 1143s # const gchar *const *arg_an_ao, 1143s # const gchar *const *arg_an_aay, 1143s # GVariant *arg_an_asv, 1143s # void *data2); 1143s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # 1143s # g_return_if_fail (n_param_values == 19); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # callback (data1, 1143s # g_marshal_value_peek_boolean (param_values + 1), 1143s # g_marshal_value_peek_uchar (param_values + 2), 1143s # g_marshal_value_peek_int (param_values + 3), 1143s # g_marshal_value_peek_uint (param_values + 4), 1143s # g_marshal_value_peek_int (param_values + 5), 1143s # g_marshal_value_peek_uint (param_values + 6), 1143s # g_marshal_value_peek_int64 (param_values + 7), 1143s # g_marshal_value_peek_uint64 (param_values + 8), 1143s # g_marshal_value_peek_double (param_values + 9), 1143s # g_marshal_value_peek_string (param_values + 10), 1143s # g_marshal_value_peek_string (param_values + 11), 1143s # g_marshal_value_peek_string (param_values + 12), 1143s # g_marshal_value_peek_variant (param_values + 13), 1143s # g_marshal_value_peek_string (param_values + 14), 1143s # g_marshal_value_peek_boxed (param_values + 15), 1143s # g_marshal_value_peek_boxed (param_values + 16), 1143s # g_marshal_value_peek_boxed (param_values + 17), 1143s # g_marshal_value_peek_variant (param_values + 18), 1143s # data2); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.SignalingIface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectSignalingIface 1143s # * @title: OrgProjectSignalingIface 1143s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1143s # */ 1143s # 1143s # enum 1143s # { 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1143s # }; 1143s # 1143s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1143s # 1143s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_b", 1143s # (gchar *) "b", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_y", 1143s # (gchar *) "y", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_n", 1143s # (gchar *) "n", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_q", 1143s # (gchar *) "q", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_i", 1143s # (gchar *) "i", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_u", 1143s # (gchar *) "u", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_x", 1143s # (gchar *) "x", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_t", 1143s # (gchar *) "t", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_d", 1143s # (gchar *) "d", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_s", 1143s # (gchar *) "s", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_o", 1143s # (gchar *) "o", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_g", 1143s # (gchar *) "g", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_h", 1143s # (gchar *) "h", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ay", 1143s # (gchar *) "ay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_as", 1143s # (gchar *) "as", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ao", 1143s # (gchar *) "ao", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_aay", 1143s # (gchar *) "aay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_asv", 1143s # (gchar *) "a{sv}", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SignalWithManyArgs", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "signal-with-many-args" 1143s # }; 1143s # 1143s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.SignalingIface", 1143s # NULL, 1143s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-signaling-iface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_signaling_iface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_signaling_iface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1143s # */ 1143s # 1143s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1143s # { 1143s # /* GObject signals for received D-Bus signals: */ 1143s # /** 1143s # * OrgProjectSignalingIface::signal-with-many-args: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_b: Argument. 1143s # * @arg_an_y: Argument. 1143s # * @arg_an_n: Argument. 1143s # * @arg_an_q: Argument. 1143s # * @arg_an_i: Argument. 1143s # * @arg_an_u: Argument. 1143s # * @arg_an_x: Argument. 1143s # * @arg_an_t: Argument. 1143s # * @arg_an_d: Argument. 1143s # * @arg_an_s: Argument. 1143s # * @arg_an_o: Argument. 1143s # * @arg_an_g: Argument. 1143s # * @arg_an_h: Argument. 1143s # * @arg_an_ay: Argument. 1143s # * @arg_an_as: Argument. 1143s # * @arg_an_ao: Argument. 1143s # * @arg_an_aay: Argument. 1143s # * @arg_an_asv: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1143s # g_signal_new ("signal-with-many-args", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1143s # G_TYPE_NONE, 1143s # 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); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_signal_with_many_args: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_b: Argument to pass with the signal. 1143s # * @arg_an_y: Argument to pass with the signal. 1143s # * @arg_an_n: Argument to pass with the signal. 1143s # * @arg_an_q: Argument to pass with the signal. 1143s # * @arg_an_i: Argument to pass with the signal. 1143s # * @arg_an_u: Argument to pass with the signal. 1143s # * @arg_an_x: Argument to pass with the signal. 1143s # * @arg_an_t: Argument to pass with the signal. 1143s # * @arg_an_d: Argument to pass with the signal. 1143s # * @arg_an_s: Argument to pass with the signal. 1143s # * @arg_an_o: Argument to pass with the signal. 1143s # * @arg_an_g: Argument to pass with the signal. 1143s # * @arg_an_h: Argument to pass with the signal. 1143s # * @arg_an_ay: Argument to pass with the signal. 1143s # * @arg_an_as: Argument to pass with the signal. 1143s # * @arg_an_ao: Argument to pass with the signal. 1143s # * @arg_an_aay: Argument to pass with the signal. 1143s # * @arg_an_asv: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SignalWithManyArgs" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_signal_with_many_args ( 1143s # OrgProjectSignalingIface *object, 1143s # gboolean arg_an_b, 1143s # guchar arg_an_y, 1143s # gint16 arg_an_n, 1143s # guint16 arg_an_q, 1143s # gint arg_an_i, 1143s # guint arg_an_u, 1143s # gint64 arg_an_x, 1143s # guint64 arg_an_t, 1143s # gdouble arg_an_d, 1143s # const gchar *arg_an_s, 1143s # const gchar *arg_an_o, 1143s # const gchar *arg_an_g, 1143s # GVariant *arg_an_h, 1143s # const gchar *arg_an_ay, 1143s # const gchar *const *arg_an_as, 1143s # const gchar *const *arg_an_ao, 1143s # const gchar *const *arg_an_aay, 1143s # GVariant *arg_an_asv) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceProxy: 1143s # * 1143s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectSignalingIfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectSignalingIfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_signaling_iface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1143s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1143s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceSkeleton: 1143s # * 1143s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_signaling_iface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_signaling_iface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_signaling_iface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1143s # { 1143s # _org_project_signaling_iface_skeleton_handle_method_call, 1143s # _org_project_signaling_iface_skeleton_handle_get_property, 1143s # _org_project_signaling_iface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_signaling_iface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1143s # OrgProjectSignalingIface *object, 1143s # gboolean arg_an_b, 1143s # guchar arg_an_y, 1143s # gint16 arg_an_n, 1143s # guint16 arg_an_q, 1143s # gint arg_an_i, 1143s # guint arg_an_u, 1143s # gint64 arg_an_x, 1143s # guint64 arg_an_t, 1143s # gdouble arg_an_d, 1143s # const gchar *arg_an_s, 1143s # const gchar *arg_an_o, 1143s # const gchar *arg_an_g, 1143s # GVariant *arg_an_h, 1143s # const gchar *arg_an_ay, 1143s # const gchar *const *arg_an_as, 1143s # const gchar *const *arg_an_ao, 1143s # const gchar *const *arg_an_aay, 1143s # GVariant *arg_an_asv) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1143s # arg_an_b, 1143s # arg_an_y, 1143s # arg_an_n, 1143s # arg_an_q, 1143s # arg_an_i, 1143s # arg_an_u, 1143s # arg_an_x, 1143s # arg_an_t, 1143s # arg_an_d, 1143s # arg_an_s, 1143s # arg_an_o, 1143s # arg_an_g, 1143s # arg_an_h, 1143s # arg_an_ay, 1143s # arg_an_as, 1143s # arg_an_ao, 1143s # arg_an_aay, 1143s # arg_an_asv)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1143s # { 1143s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1143s # } 1143s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1143s # tmpdir: /tmp/tmperxdkt1b 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmperxdkt1b/tmpi_8e4nee.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmperxdkt1b/tmpi_8e4nee.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_VOID__INT64 ( 1143s # GClosure *closure, 1143s # GValue *return_value G_GNUC_UNUSED, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1143s # (void *data1, 1143s # gint64 arg_an_x, 1143s # void *data2); 1143s # _GDbusCodegenMarshalVoid_Int64Func callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # callback (data1, 1143s # g_marshal_value_peek_int64 (param_values + 1), 1143s # data2); 1143s # } 1143s # 1143s # static void 1143s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1143s # GClosure *closure, 1143s # GValue *return_value G_GNUC_UNUSED, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint G_GNUC_UNUSED, 1143s # void *marshal_data) 1143s # { 1143s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1143s # (void *data1, 1143s # guint64 arg_an_t, 1143s # void *data2); 1143s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1143s # GCClosure *cc = (GCClosure*) closure; 1143s # void *data1, *data2; 1143s # 1143s # g_return_if_fail (n_param_values == 2); 1143s # 1143s # if (G_CCLOSURE_SWAP_DATA (closure)) 1143s # { 1143s # data1 = closure->data; 1143s # data2 = g_value_peek_pointer (param_values + 0); 1143s # } 1143s # else 1143s # { 1143s # data1 = g_value_peek_pointer (param_values + 0); 1143s # data2 = closure->data; 1143s # } 1143s # 1143s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1143s # (marshal_data ? marshal_data : cc->callback); 1143s # 1143s # callback (data1, 1143s # g_marshal_value_peek_uint64 (param_values + 1), 1143s # data2); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.SignalingIface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectSignalingIface 1143s # * @title: OrgProjectSignalingIface 1143s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1143s # */ 1143s # 1143s # enum 1143s # { 1143s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1143s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1143s # }; 1143s # 1143s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1143s # 1143s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "NoArgSignal", 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "no-arg-signal" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_b", 1143s # (gchar *) "b", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalB", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-b" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_y", 1143s # (gchar *) "y", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalY", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-y" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_n", 1143s # (gchar *) "n", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalN", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-n" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_q", 1143s # (gchar *) "q", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalQ", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-q" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_i", 1143s # (gchar *) "i", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalI", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-i" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_u", 1143s # (gchar *) "u", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalU", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-u" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_x", 1143s # (gchar *) "x", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalX", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-x" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_t", 1143s # (gchar *) "t", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalT", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-t" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_d", 1143s # (gchar *) "d", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalD", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-d" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_s", 1143s # (gchar *) "s", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalS", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-s" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_o", 1143s # (gchar *) "o", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalO", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-o" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_g", 1143s # (gchar *) "g", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalG", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-g" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_h", 1143s # (gchar *) "h", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalH", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-h" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ay", 1143s # (gchar *) "ay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalAY", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-ay" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_as", 1143s # (gchar *) "as", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalAS", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-as" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_ao", 1143s # (gchar *) "ao", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalAO", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-ao" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_aay", 1143s # (gchar *) "aay", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalAAY", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-aay" 1143s # }; 1143s # 1143s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "an_asv", 1143s # (gchar *) "a{sv}", 1143s # NULL 1143s # }, 1143s # FALSE 1143s # }; 1143s # 1143s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SingleArgSignalASV", 1143s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1143s # NULL 1143s # }, 1143s # "single-arg-signal-asv" 1143s # }; 1143s # 1143s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1143s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.SignalingIface", 1143s # NULL, 1143s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-signaling-iface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_signaling_iface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_signaling_iface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__VOID (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__UCHAR (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__INT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__UINT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__INT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__UINT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__DOUBLE (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__STRING (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__STRING (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__STRING (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__VARIANT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__STRING (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__BOXED (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__BOXED (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__BOXED (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__VARIANT (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1143s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1143s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1143s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1143s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1143s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1143s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1143s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1143s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1143s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1143s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1143s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1143s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1143s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1143s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1143s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1143s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1143s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1143s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1143s # */ 1143s # 1143s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1143s # { 1143s # /* GObject signals for received D-Bus signals: */ 1143s # /** 1143s # * OrgProjectSignalingIface::no-arg-signal: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1143s # g_signal_new ("no-arg-signal", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1143s # G_TYPE_NONE, 1143s # 0); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-b: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_b: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1143s # g_signal_new ("single-arg-signal-b", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_BOOLEAN); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-y: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_y: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1143s # g_signal_new ("single-arg-signal-y", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_UCHAR); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-n: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_n: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1143s # g_signal_new ("single-arg-signal-n", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_INT); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-q: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_q: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1143s # g_signal_new ("single-arg-signal-q", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_UINT); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-i: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_i: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1143s # g_signal_new ("single-arg-signal-i", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_INT); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-u: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_u: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1143s # g_signal_new ("single-arg-signal-u", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_UINT); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-x: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_x: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1143s # g_signal_new ("single-arg-signal-x", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_INT64); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-t: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_t: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1143s # g_signal_new ("single-arg-signal-t", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_UINT64); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-d: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_d: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1143s # g_signal_new ("single-arg-signal-d", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_DOUBLE); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-s: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_s: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1143s # g_signal_new ("single-arg-signal-s", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_STRING); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-o: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_o: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1143s # g_signal_new ("single-arg-signal-o", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_STRING); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-g: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_g: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1143s # g_signal_new ("single-arg-signal-g", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_STRING); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-h: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_h: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1143s # g_signal_new ("single-arg-signal-h", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_VARIANT); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-ay: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_ay: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1143s # g_signal_new ("single-arg-signal-ay", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_STRING); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-as: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_as: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1143s # g_signal_new ("single-arg-signal-as", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_STRV); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-ao: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_ao: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1143s # g_signal_new ("single-arg-signal-ao", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_STRV); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-aay: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_aay: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1143s # g_signal_new ("single-arg-signal-aay", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_STRV); 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface::single-arg-signal-asv: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_asv: Argument. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1143s # g_signal_new ("single-arg-signal-asv", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1143s # G_TYPE_NONE, 1143s # 1, G_TYPE_VARIANT); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_no_arg_signal: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * 1143s # * Emits the "NoArgSignal" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_no_arg_signal ( 1143s # OrgProjectSignalingIface *object) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_b: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_b: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalB" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_b ( 1143s # OrgProjectSignalingIface *object, 1143s # gboolean arg_an_b) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_y: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_y: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalY" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_y ( 1143s # OrgProjectSignalingIface *object, 1143s # guchar arg_an_y) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_n: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_n: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalN" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_n ( 1143s # OrgProjectSignalingIface *object, 1143s # gint16 arg_an_n) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_q: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_q: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalQ" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_q ( 1143s # OrgProjectSignalingIface *object, 1143s # guint16 arg_an_q) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_i: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_i: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalI" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_i ( 1143s # OrgProjectSignalingIface *object, 1143s # gint arg_an_i) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_u: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_u: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalU" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_u ( 1143s # OrgProjectSignalingIface *object, 1143s # guint arg_an_u) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_x: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_x: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalX" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_x ( 1143s # OrgProjectSignalingIface *object, 1143s # gint64 arg_an_x) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_t: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_t: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalT" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_t ( 1143s # OrgProjectSignalingIface *object, 1143s # guint64 arg_an_t) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_d: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_d: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalD" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_d ( 1143s # OrgProjectSignalingIface *object, 1143s # gdouble arg_an_d) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_s: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_s: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalS" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_s ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *arg_an_s) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_o: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_o: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalO" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_o ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *arg_an_o) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_g: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_g: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalG" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_g ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *arg_an_g) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_h: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_h: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalH" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_h ( 1143s # OrgProjectSignalingIface *object, 1143s # GVariant *arg_an_h) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_ay: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalAY" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *arg_an_ay) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_as: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_as: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalAS" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_as ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *const *arg_an_as) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_ao: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalAO" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *const *arg_an_ao) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_aay: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *const *arg_an_aay) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * @arg_an_asv: Argument to pass with the signal. 1143s # * 1143s # * Emits the "SingleArgSignalASV" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1143s # OrgProjectSignalingIface *object, 1143s # GVariant *arg_an_asv) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceProxy: 1143s # * 1143s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectSignalingIfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectSignalingIfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_signaling_iface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1143s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1143s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceSkeleton: 1143s # * 1143s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_signaling_iface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_signaling_iface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_signaling_iface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1143s # { 1143s # _org_project_signaling_iface_skeleton_handle_method_call, 1143s # _org_project_signaling_iface_skeleton_handle_get_property, 1143s # _org_project_signaling_iface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_signaling_iface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1143s # OrgProjectSignalingIface *object) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1143s # OrgProjectSignalingIface *object, 1143s # gboolean arg_an_b) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1143s # arg_an_b)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1143s # OrgProjectSignalingIface *object, 1143s # guchar arg_an_y) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1143s # arg_an_y)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1143s # OrgProjectSignalingIface *object, 1143s # gint16 arg_an_n) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1143s # arg_an_n)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1143s # OrgProjectSignalingIface *object, 1143s # guint16 arg_an_q) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1143s # arg_an_q)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1143s # OrgProjectSignalingIface *object, 1143s # gint arg_an_i) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1143s # arg_an_i)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1143s # OrgProjectSignalingIface *object, 1143s # guint arg_an_u) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1143s # arg_an_u)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1143s # OrgProjectSignalingIface *object, 1143s # gint64 arg_an_x) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1143s # arg_an_x)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1143s # OrgProjectSignalingIface *object, 1143s # guint64 arg_an_t) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1143s # arg_an_t)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1143s # OrgProjectSignalingIface *object, 1143s # gdouble arg_an_d) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1143s # arg_an_d)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *arg_an_s) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1143s # arg_an_s)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *arg_an_o) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1143s # arg_an_o)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *arg_an_g) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1143s # arg_an_g)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1143s # OrgProjectSignalingIface *object, 1143s # GVariant *arg_an_h) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1143s # arg_an_h)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *arg_an_ay) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1143s # arg_an_ay)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *const *arg_an_as) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1143s # arg_an_as)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *const *arg_an_ao) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1143s # arg_an_ao)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1143s # OrgProjectSignalingIface *object, 1143s # const gchar *const *arg_an_aay) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1143s # arg_an_aay)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1143s # OrgProjectSignalingIface *object, 1143s # GVariant *arg_an_asv) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1143s # arg_an_asv)); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1143s # { 1143s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1143s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1143s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1143s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1143s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1143s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1143s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1143s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1143s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1143s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1143s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1143s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1143s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1143s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1143s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1143s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1143s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1143s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1143s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1143s # } 1143s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1143s # tmpdir: /tmp/tmpmm6ph_qe 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmpmm6ph_qe/tmpvbl1ozuc.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm6ph_qe/tmpvbl1ozuc.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.UsefulInterface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectUsefulInterface 1143s # * @title: OrgProjectUsefulInterface 1143s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1143s # */ 1143s # 1143s # enum 1143s # { 1143s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1143s # }; 1143s # 1143s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1143s # 1143s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SimpleSignal", 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "simple-signal" 1143s # }; 1143s # 1143s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1143s # { 1143s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.UsefulInterface", 1143s # NULL, 1143s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-useful-interface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_useful_interface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_useful_interface_signal_marshal_simple_signal ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__VOID (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1143s # */ 1143s # 1143s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # /* GObject signals for received D-Bus signals: */ 1143s # /** 1143s # * OrgProjectUsefulInterface::simple-signal: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1143s # g_signal_new ("simple-signal", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1143s # NULL, 1143s # NULL, 1143s # org_project_useful_interface_signal_marshal_simple_signal, 1143s # G_TYPE_NONE, 1143s # 0); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_emit_simple_signal: 1143s # * @object: A #OrgProjectUsefulInterface. 1143s # * 1143s # * Emits the "SimpleSignal" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_useful_interface_emit_simple_signal ( 1143s # OrgProjectUsefulInterface *object) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxy: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1143s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1143s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_useful_interface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # g_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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeleton: 1143s # * 1143s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectUsefulInterfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_useful_interface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_useful_interface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_useful_interface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1143s # { 1143s # _org_project_useful_interface_skeleton_handle_method_call, 1143s # _org_project_useful_interface_skeleton_handle_get_property, 1143s # _org_project_useful_interface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_useful_interface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # _org_project_useful_interface_on_signal_simple_signal ( 1143s # OrgProjectUsefulInterface *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_useful_interface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1143s # { 1143s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1143s # } 1143s # 1143s # /** 1143s # * org_project_useful_interface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectUsefulInterface * 1143s # org_project_useful_interface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.OtherIface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectOtherIface 1143s # * @title: OrgProjectOtherIface 1143s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1143s # */ 1143s # 1143s # enum 1143s # { 1143s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1143s # }; 1143s # 1143s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1143s # 1143s # /* ---- Introspection data for org.project.OtherIface ---- */ 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SimpleSignal", 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "simple-signal" 1143s # }; 1143s # 1143s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1143s # { 1143s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.OtherIface", 1143s # NULL, 1143s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-other-iface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_other_iface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_other_iface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_iface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_other_iface_signal_marshal_simple_signal ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__VOID (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectOtherIface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectOtherIfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.OtherIface. 1143s # */ 1143s # 1143s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1143s # { 1143s # /* GObject signals for received D-Bus signals: */ 1143s # /** 1143s # * OrgProjectOtherIface::simple-signal: 1143s # * @object: A #OrgProjectOtherIface. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1143s # g_signal_new ("simple-signal", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1143s # NULL, 1143s # NULL, 1143s # org_project_other_iface_signal_marshal_simple_signal, 1143s # G_TYPE_NONE, 1143s # 0); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_iface_emit_simple_signal: 1143s # * @object: A #OrgProjectOtherIface. 1143s # * 1143s # * Emits the "SimpleSignal" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_other_iface_emit_simple_signal ( 1143s # OrgProjectOtherIface *object) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectOtherIfaceProxy: 1143s # * 1143s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectOtherIfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectOtherIfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectOtherIfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_other_iface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1143s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1143s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_iface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_other_iface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_iface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherIface * 1143s # org_project_other_iface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_iface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherIface * 1143s # org_project_other_iface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_other_iface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_other_iface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_iface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherIface * 1143s # org_project_other_iface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_iface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherIface * 1143s # org_project_other_iface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectOtherIfaceSkeleton: 1143s # * 1143s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectOtherIfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectOtherIfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_other_iface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_other_iface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_other_iface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1143s # { 1143s # _org_project_other_iface_skeleton_handle_method_call, 1143s # _org_project_other_iface_skeleton_handle_get_property, 1143s # _org_project_other_iface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_other_iface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # _org_project_other_iface_on_signal_simple_signal ( 1143s # OrgProjectOtherIface *object) 1143s # { 1143s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_other_iface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1143s # { 1143s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_iface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectOtherIface * 1143s # org_project_other_iface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1143s # } 1143s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1143s # tmpdir: /tmp/tmpoizt5xv_ 1143s # codegen: /usr/bin/gdbus-codegen 1143s # /tmp/tmpoizt5xv_/tmp__qjg7tw.xml: 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # 1143s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoizt5xv_/tmp__qjg7tw.xml', '--output', '-', '--body'] 1143s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1143s # Output: /* 1143s # * This file is generated by gdbus-codegen, do not modify it. 1143s # * 1143s # * The license of this code is the same as for the D-Bus interface description 1143s # * it was derived from. Note that it links to GLib, so must comply with the 1143s # * LGPL linking clauses. 1143s # */ 1143s # 1143s # #ifdef HAVE_CONFIG_H 1143s # # include "config.h" 1143s # #endif 1143s # 1143s # #include 1143s # #ifdef G_OS_UNIX 1143s # # include 1143s # #endif 1143s # 1143s # #ifdef G_ENABLE_DEBUG 1143s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1143s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1143s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1143s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1143s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1143s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1143s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1143s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1143s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1143s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1143s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1143s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1143s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1143s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1143s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1143s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1143s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1143s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1143s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1143s # #else /* !G_ENABLE_DEBUG */ 1143s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1143s # * Do not access GValues directly in your code. Instead, use the 1143s # * g_value_get_*() functions 1143s # */ 1143s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1143s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1143s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1143s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1143s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1143s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1143s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1143s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1143s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1143s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1143s # #endif /* !G_ENABLE_DEBUG */ 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusArgInfo parent_struct; 1143s # gboolean use_gvariant; 1143s # } _ExtendedGDBusArgInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusMethodInfo parent_struct; 1143s # const gchar *signal_name; 1143s # gboolean pass_fdlist; 1143s # } _ExtendedGDBusMethodInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusSignalInfo parent_struct; 1143s # const gchar *signal_name; 1143s # } _ExtendedGDBusSignalInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusPropertyInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # guint use_gvariant : 1; 1143s # guint emits_changed_signal : 1; 1143s # } _ExtendedGDBusPropertyInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # GDBusInterfaceInfo parent_struct; 1143s # const gchar *hyphen_name; 1143s # } _ExtendedGDBusInterfaceInfo; 1143s # 1143s # typedef struct 1143s # { 1143s # const _ExtendedGDBusPropertyInfo *info; 1143s # guint prop_id; 1143s # GValue orig_value; /* the value before the change */ 1143s # } ChangedProperty; 1143s # 1143s # static void 1143s # _changed_property_free (ChangedProperty *data) 1143s # { 1143s # g_value_unset (&data->orig_value); 1143s # g_free (data); 1143s # } 1143s # 1143s # static gboolean 1143s # _g_strv_equal0 (gchar **a, gchar **b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # guint n; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # if (g_strv_length (a) != g_strv_length (b)) 1143s # goto out; 1143s # for (n = 0; a[n] != NULL; n++) 1143s # if (g_strcmp0 (a[n], b[n]) != 0) 1143s # goto out; 1143s # ret = TRUE; 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _g_variant_equal0 (GVariant *a, GVariant *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # if (a == NULL && b == NULL) 1143s # { 1143s # ret = TRUE; 1143s # goto out; 1143s # } 1143s # if (a == NULL || b == NULL) 1143s # goto out; 1143s # ret = g_variant_equal (a, b); 1143s # out: 1143s # return ret; 1143s # } 1143s # 1143s # G_GNUC_UNUSED static gboolean 1143s # _g_value_equal (const GValue *a, const GValue *b) 1143s # { 1143s # gboolean ret = FALSE; 1143s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1143s # switch (G_VALUE_TYPE (a)) 1143s # { 1143s # case G_TYPE_BOOLEAN: 1143s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1143s # break; 1143s # case G_TYPE_UCHAR: 1143s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1143s # break; 1143s # case G_TYPE_INT: 1143s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1143s # break; 1143s # case G_TYPE_UINT: 1143s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1143s # break; 1143s # case G_TYPE_INT64: 1143s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1143s # break; 1143s # case G_TYPE_UINT64: 1143s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1143s # break; 1143s # case G_TYPE_DOUBLE: 1143s # { 1143s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1143s # gdouble da = g_value_get_double (a); 1143s # gdouble db = g_value_get_double (b); 1143s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1143s # } 1143s # break; 1143s # case G_TYPE_STRING: 1143s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1143s # break; 1143s # case G_TYPE_VARIANT: 1143s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1143s # break; 1143s # default: 1143s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1143s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1143s # else 1143s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1143s # break; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.SignalingIface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectSignalingIface 1143s # * @title: OrgProjectSignalingIface 1143s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1143s # */ 1143s # 1143s # enum 1143s # { 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1143s # }; 1143s # 1143s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1143s # 1143s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SimpleSignal", 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "simple-signal" 1143s # }; 1143s # 1143s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1143s # { 1143s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.SignalingIface", 1143s # NULL, 1143s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-signaling-iface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_signaling_iface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_signaling_iface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_signaling_iface_signal_marshal_simple_signal ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__VOID (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectSignalingIface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1143s # */ 1143s # 1143s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1143s # { 1143s # /* GObject signals for received D-Bus signals: */ 1143s # /** 1143s # * OrgProjectSignalingIface::simple-signal: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1143s # g_signal_new ("simple-signal", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1143s # NULL, 1143s # NULL, 1143s # org_project_signaling_iface_signal_marshal_simple_signal, 1143s # G_TYPE_NONE, 1143s # 0); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_emit_simple_signal: 1143s # * @object: A #OrgProjectSignalingIface. 1143s # * 1143s # * Emits the "SimpleSignal" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_emit_simple_signal ( 1143s # OrgProjectSignalingIface *object) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceProxy: 1143s # * 1143s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectSignalingIfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectSignalingIfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_signaling_iface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1143s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1143s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_signaling_iface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceSkeleton: 1143s # * 1143s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectSignalingIfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_signaling_iface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_signaling_iface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_signaling_iface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1143s # { 1143s # _org_project_signaling_iface_skeleton_handle_method_call, 1143s # _org_project_signaling_iface_skeleton_handle_get_property, 1143s # _org_project_signaling_iface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_signaling_iface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # _org_project_signaling_iface_on_signal_simple_signal ( 1143s # OrgProjectSignalingIface *object) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1143s # { 1143s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1143s # } 1143s # 1143s # /** 1143s # * org_project_signaling_iface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectSignalingIface * 1143s # org_project_signaling_iface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ 1143s # * Code for interface org.project.OtherSignalingIface 1143s # * ------------------------------------------------------------------------ 1143s # */ 1143s # 1143s # /** 1143s # * SECTION:OrgProjectOtherSignalingIface 1143s # * @title: OrgProjectOtherSignalingIface 1143s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1143s # * 1143s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1143s # */ 1143s # 1143s # enum 1143s # { 1143s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1143s # }; 1143s # 1143s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1143s # 1143s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1143s # 1143s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "SimpleSignal", 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "simple-signal" 1143s # }; 1143s # 1143s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1143s # { 1143s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1143s # NULL 1143s # }; 1143s # 1143s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1143s # { 1143s # { 1143s # -1, 1143s # (gchar *) "org.project.OtherSignalingIface", 1143s # NULL, 1143s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1143s # NULL, 1143s # NULL 1143s # }, 1143s # "org-project-other-signaling-iface", 1143s # }; 1143s # 1143s # 1143s # /** 1143s # * org_project_other_signaling_iface_interface_info: 1143s # * 1143s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1143s # * 1143s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1143s # */ 1143s # GDBusInterfaceInfo * 1143s # org_project_other_signaling_iface_interface_info (void) 1143s # { 1143s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_signaling_iface_override_properties: 1143s # * @klass: The class structure for a #GObject derived class. 1143s # * @property_id_begin: The property id to assign to the first overridden property. 1143s # * 1143s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1143s # * The properties are overridden in the order they are defined. 1143s # * 1143s # * Returns: The last property id. 1143s # */ 1143s # guint 1143s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1143s # { 1143s # return property_id_begin - 1; 1143s # } 1143s # 1143s # 1143s # inline static void 1143s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1143s # GClosure *closure, 1143s # GValue *return_value, 1143s # unsigned int n_param_values, 1143s # const GValue *param_values, 1143s # void *invocation_hint, 1143s # void *marshal_data) 1143s # { 1143s # g_cclosure_marshal_VOID__VOID (closure, 1143s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1143s # } 1143s # 1143s # 1143s # /** 1143s # * OrgProjectOtherSignalingIface: 1143s # * 1143s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectOtherSignalingIfaceIface: 1143s # * @parent_iface: The parent interface. 1143s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1143s # * 1143s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1143s # */ 1143s # 1143s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1143s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1143s # { 1143s # /* GObject signals for received D-Bus signals: */ 1143s # /** 1143s # * OrgProjectOtherSignalingIface::simple-signal: 1143s # * @object: A #OrgProjectOtherSignalingIface. 1143s # * 1143s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1143s # * 1143s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1143s # */ 1143s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1143s # g_signal_new ("simple-signal", 1143s # G_TYPE_FROM_INTERFACE (iface), 1143s # G_SIGNAL_RUN_LAST, 1143s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1143s # NULL, 1143s # NULL, 1143s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1143s # G_TYPE_NONE, 1143s # 0); 1143s # 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_signaling_iface_emit_simple_signal: 1143s # * @object: A #OrgProjectOtherSignalingIface. 1143s # * 1143s # * Emits the "SimpleSignal" D-Bus signal. 1143s # */ 1143s # void 1143s # org_project_other_signaling_iface_emit_simple_signal ( 1143s # OrgProjectOtherSignalingIface *object) 1143s # { 1143s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1143s # } 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectOtherSignalingIfaceProxy: 1143s # * 1143s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectOtherSignalingIfaceProxyClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1143s # */ 1143s # 1143s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1143s # { 1143s # GData *qdata; 1143s # }; 1143s # 1143s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1143s # { 1143s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1143s # g_datalist_clear (&proxy->priv->qdata); 1143s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1143s # guint prop_id G_GNUC_UNUSED, 1143s # const GValue *value G_GNUC_UNUSED, 1143s # GParamSpec *pspec G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1143s # const gchar *sender_name G_GNUC_UNUSED, 1143s # const gchar *signal_name, 1143s # GVariant *parameters) 1143s # { 1143s # _ExtendedGDBusSignalInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # gsize n; 1143s # guint signal_id; 1143s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1143s # if (info == NULL) 1143s # return; 1143s # num_params = g_variant_n_children (parameters); 1143s # paramv = g_new0 (GValue, num_params + 1); 1143s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1143s # g_value_set_object (¶mv[0], proxy); 1143s # g_variant_iter_init (&iter, parameters); 1143s # n = 1; 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1143s # g_signal_emitv (paramv, signal_id, 0, NULL); 1143s # for (n = 0; n < num_params + 1; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1143s # GVariant *changed_properties, 1143s # const gchar *const *invalidated_properties) 1143s # { 1143s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1143s # guint n; 1143s # const gchar *key; 1143s # GVariantIter *iter; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # g_variant_get (changed_properties, "a{sv}", &iter); 1143s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1143s # g_datalist_remove_data (&proxy->priv->qdata, key); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # g_variant_iter_free (iter); 1143s # for (n = 0; invalidated_properties[n] != NULL; n++) 1143s # { 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1143s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1143s # if (info != NULL) 1143s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1143s # } 1143s # } 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1143s # #else 1143s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1143s # #endif 1143s # 1143s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusProxyClass *proxy_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1143s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1143s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1143s # 1143s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1143s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1143s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_signaling_iface_proxy_new: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_other_signaling_iface_proxy_new ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_signaling_iface_proxy_new_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherSignalingIface * 1143s # org_project_other_signaling_iface_proxy_new_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_signaling_iface_proxy_new_sync: 1143s # * @connection: A #GDBusConnection. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherSignalingIface * 1143s # org_project_other_signaling_iface_proxy_new_sync ( 1143s # GDBusConnection *connection, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /** 1143s # * org_project_other_signaling_iface_proxy_new_for_bus: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1143s # * @user_data: User data to pass to @callback. 1143s # * 1143s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1143s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1143s # * 1143s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1143s # */ 1143s # void 1143s # org_project_other_signaling_iface_proxy_new_for_bus ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GAsyncReadyCallback callback, 1143s # gpointer user_data) 1143s # { 1143s # 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); 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1143s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherSignalingIface * 1143s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1143s # GAsyncResult *res, 1143s # GError **error) 1143s # { 1143s # GObject *ret; 1143s # GObject *source_object; 1143s # source_object = g_async_result_get_source_object (res); 1143s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1143s # g_object_unref (source_object); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1143s # * @bus_type: A #GBusType. 1143s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1143s # * @name: A bus name (well-known or unique). 1143s # * @object_path: An object path. 1143s # * @cancellable: (nullable): A #GCancellable or %NULL. 1143s # * @error: Return location for error or %NULL 1143s # * 1143s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1143s # * 1143s # * The calling thread is blocked until a reply is received. 1143s # * 1143s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1143s # */ 1143s # OrgProjectOtherSignalingIface * 1143s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1143s # GBusType bus_type, 1143s # GDBusProxyFlags flags, 1143s # const gchar *name, 1143s # const gchar *object_path, 1143s # GCancellable *cancellable, 1143s # GError **error) 1143s # { 1143s # GInitable *ret; 1143s # 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); 1143s # if (ret != NULL) 1143s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1143s # else 1143s # return NULL; 1143s # } 1143s # 1143s # 1143s # /* ------------------------------------------------------------------------ */ 1143s # 1143s # /** 1143s # * OrgProjectOtherSignalingIfaceSkeleton: 1143s # * 1143s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1143s # */ 1143s # 1143s # /** 1143s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1143s # * @parent_class: The parent class. 1143s # * 1143s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1143s # */ 1143s # 1143s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1143s # { 1143s # GValue *properties; 1143s # GList *changed_properties; 1143s # GSource *changed_properties_idle_source; 1143s # GMainContext *context; 1143s # GMutex lock; 1143s # }; 1143s # 1143s # static void 1143s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name, 1143s # const gchar *method_name, 1143s # GVariant *parameters, 1143s # GDBusMethodInvocation *invocation, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1143s # _ExtendedGDBusMethodInfo *info; 1143s # GVariantIter iter; 1143s # GVariant *child; 1143s # GValue *paramv; 1143s # gsize num_params; 1143s # guint num_extra; 1143s # gsize n; 1143s # guint signal_id; 1143s # GValue return_value = G_VALUE_INIT; 1143s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1143s # g_assert (info != NULL); 1143s # num_params = g_variant_n_children (parameters); 1143s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1143s # n = 0; 1143s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1143s # g_value_set_object (¶mv[n++], skeleton); 1143s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1143s # g_value_set_object (¶mv[n++], invocation); 1143s # if (info->pass_fdlist) 1143s # { 1143s # #ifdef G_OS_UNIX 1143s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1143s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1143s # #else 1143s # g_assert_not_reached (); 1143s # #endif 1143s # } 1143s # g_variant_iter_init (&iter, parameters); 1143s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1143s # { 1143s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1143s # if (arg_info->use_gvariant) 1143s # { 1143s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1143s # g_value_set_variant (¶mv[n], child); 1143s # n++; 1143s # } 1143s # else 1143s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1143s # g_variant_unref (child); 1143s # } 1143s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1143s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1143s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1143s # if (!g_value_get_boolean (&return_value)) 1143s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1143s # g_value_unset (&return_value); 1143s # for (n = 0; n < num_params + num_extra; n++) 1143s # g_value_unset (¶mv[n]); 1143s # g_free (paramv); 1143s # } 1143s # 1143s # static GVariant * 1143s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # GVariant *ret; 1143s # ret = NULL; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # g_value_init (&value, pspec->value_type); 1143s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1143s # g_value_unset (&value); 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static gboolean 1143s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1143s # GDBusConnection *connection G_GNUC_UNUSED, 1143s # const gchar *sender G_GNUC_UNUSED, 1143s # const gchar *object_path G_GNUC_UNUSED, 1143s # const gchar *interface_name G_GNUC_UNUSED, 1143s # const gchar *property_name, 1143s # GVariant *variant, 1143s # GError **error, 1143s # gpointer user_data) 1143s # { 1143s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1143s # GValue value = G_VALUE_INIT; 1143s # GParamSpec *pspec; 1143s # _ExtendedGDBusPropertyInfo *info; 1143s # gboolean ret; 1143s # ret = FALSE; 1143s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1143s # g_assert (info != NULL); 1143s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1143s # if (pspec == NULL) 1143s # { 1143s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1143s # } 1143s # else 1143s # { 1143s # if (info->use_gvariant) 1143s # g_value_set_variant (&value, variant); 1143s # else 1143s # g_dbus_gvariant_to_gvalue (variant, &value); 1143s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1143s # g_value_unset (&value); 1143s # ret = TRUE; 1143s # } 1143s # return ret; 1143s # } 1143s # 1143s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1143s # { 1143s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1143s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1143s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1143s # {NULL} 1143s # }; 1143s # 1143s # static GDBusInterfaceInfo * 1143s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return org_project_other_signaling_iface_interface_info (); 1143s # } 1143s # 1143s # static GDBusInterfaceVTable * 1143s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1143s # { 1143s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1143s # } 1143s # 1143s # static GVariant * 1143s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1143s # { 1143s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1143s # 1143s # GVariantBuilder builder; 1143s # guint n; 1143s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1143s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1143s # goto out; 1143s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1143s # { 1143s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1143s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1143s # { 1143s # GVariant *value; 1143s # 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); 1143s # if (value != NULL) 1143s # { 1143s # g_variant_take_ref (value); 1143s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1143s # g_variant_unref (value); 1143s # } 1143s # } 1143s # } 1143s # out: 1143s # return g_variant_builder_end (&builder); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1143s # { 1143s # } 1143s # 1143s # static void 1143s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1143s # OrgProjectOtherSignalingIface *object) 1143s # { 1143s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1143s # 1143s # GList *connections, *l; 1143s # GVariant *signal_variant; 1143s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1143s # 1143s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1143s # for (l = connections; l != NULL; l = l->next) 1143s # { 1143s # GDBusConnection *connection = l->data; 1143s # g_dbus_connection_emit_signal (connection, 1143s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1143s # signal_variant, NULL); 1143s # } 1143s # g_variant_unref (signal_variant); 1143s # g_list_free_full (connections, g_object_unref); 1143s # } 1143s # 1143s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1143s # 1143s # #else 1143s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1143s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1143s # 1143s # #endif 1143s # static void 1143s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1143s # { 1143s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1143s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1143s # if (skeleton->priv->changed_properties_idle_source != NULL) 1143s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1143s # g_main_context_unref (skeleton->priv->context); 1143s # g_mutex_clear (&skeleton->priv->lock); 1143s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1143s # { 1143s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1143s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1143s # #else 1143s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1143s # #endif 1143s # 1143s # g_mutex_init (&skeleton->priv->lock); 1143s # skeleton->priv->context = g_main_context_ref_thread_default (); 1143s # } 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1143s # { 1143s # GObjectClass *gobject_class; 1143s # GDBusInterfaceSkeletonClass *skeleton_class; 1143s # 1143s # gobject_class = G_OBJECT_CLASS (klass); 1143s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1143s # 1143s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1143s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1143s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1143s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1143s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1143s # 1143s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1143s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1143s # #endif 1143s # } 1143s # 1143s # static void 1143s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1143s # { 1143s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1143s # } 1143s # 1143s # /** 1143s # * org_project_other_signaling_iface_skeleton_new: 1143s # * 1143s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1143s # * 1143s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1143s # */ 1143s # OrgProjectOtherSignalingIface * 1143s # org_project_other_signaling_iface_skeleton_new (void) 1143s # { 1143s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1143s # } 1144s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1144s # tmpdir: /tmp/tmpzx0f1m8x 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmpzx0f1m8x/tmpqo14_34h.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmpqo14_34h.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_b", 1144s # (gchar *) "b", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalB", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-b" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-b: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_b: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1144s # g_signal_new ("single-arg-signal-b", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_BOOLEAN); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_b: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_b: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalB" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_b ( 1144s # OrgProjectSignalingIface *object, 1144s # gboolean arg_arg_b) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1144s # OrgProjectSignalingIface *object, 1144s # gboolean arg_arg_b) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1144s # arg_arg_b)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmpli52piyq.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmpli52piyq.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_y", 1144s # (gchar *) "y", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalY", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-y" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__UCHAR (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-y: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_y: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1144s # g_signal_new ("single-arg-signal-y", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_UCHAR); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_y: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_y: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalY" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_y ( 1144s # OrgProjectSignalingIface *object, 1144s # guchar arg_arg_y) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1144s # OrgProjectSignalingIface *object, 1144s # guchar arg_arg_y) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1144s # arg_arg_y)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmpqigesvpy.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmpqigesvpy.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_n", 1144s # (gchar *) "n", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalN", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-n" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__INT (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-n: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_n: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1144s # g_signal_new ("single-arg-signal-n", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_INT); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_n: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_n: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalN" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_n ( 1144s # OrgProjectSignalingIface *object, 1144s # gint16 arg_arg_n) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1144s # OrgProjectSignalingIface *object, 1144s # gint16 arg_arg_n) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1144s # arg_arg_n)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmpht5bmamm.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmpht5bmamm.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_q", 1144s # (gchar *) "q", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalQ", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-q" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__UINT (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-q: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_q: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1144s # g_signal_new ("single-arg-signal-q", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_UINT); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_q: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_q: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalQ" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_q ( 1144s # OrgProjectSignalingIface *object, 1144s # guint16 arg_arg_q) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1144s # OrgProjectSignalingIface *object, 1144s # guint16 arg_arg_q) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1144s # arg_arg_q)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmparr82bbr.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmparr82bbr.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_i", 1144s # (gchar *) "i", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalI", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-i" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__INT (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-i: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_i: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1144s # g_signal_new ("single-arg-signal-i", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_INT); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_i: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_i: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalI" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_i ( 1144s # OrgProjectSignalingIface *object, 1144s # gint arg_arg_i) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1144s # OrgProjectSignalingIface *object, 1144s # gint arg_arg_i) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1144s # arg_arg_i)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmpjhtmw23l.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmpjhtmw23l.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_u", 1144s # (gchar *) "u", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalU", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-u" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__UINT (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-u: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_u: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1144s # g_signal_new ("single-arg-signal-u", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_UINT); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_u: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_u: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalU" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_u ( 1144s # OrgProjectSignalingIface *object, 1144s # guint arg_arg_u) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1144s # OrgProjectSignalingIface *object, 1144s # guint arg_arg_u) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1144s # arg_arg_u)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmpuburxrkp.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmpuburxrkp.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static void 1144s # _g_dbus_codegen_marshal_VOID__INT64 ( 1144s # GClosure *closure, 1144s # GValue *return_value G_GNUC_UNUSED, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint G_GNUC_UNUSED, 1144s # void *marshal_data) 1144s # { 1144s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1144s # (void *data1, 1144s # gint64 arg_arg_x, 1144s # void *data2); 1144s # _GDbusCodegenMarshalVoid_Int64Func callback; 1144s # GCClosure *cc = (GCClosure*) closure; 1144s # void *data1, *data2; 1144s # 1144s # g_return_if_fail (n_param_values == 2); 1144s # 1144s # if (G_CCLOSURE_SWAP_DATA (closure)) 1144s # { 1144s # data1 = closure->data; 1144s # data2 = g_value_peek_pointer (param_values + 0); 1144s # } 1144s # else 1144s # { 1144s # data1 = g_value_peek_pointer (param_values + 0); 1144s # data2 = closure->data; 1144s # } 1144s # 1144s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1144s # (marshal_data ? marshal_data : cc->callback); 1144s # 1144s # callback (data1, 1144s # g_marshal_value_peek_int64 (param_values + 1), 1144s # data2); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_x", 1144s # (gchar *) "x", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalX", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-x" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-x: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_x: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1144s # g_signal_new ("single-arg-signal-x", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_INT64); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_x: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_x: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalX" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_x ( 1144s # OrgProjectSignalingIface *object, 1144s # gint64 arg_arg_x) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1144s # OrgProjectSignalingIface *object, 1144s # gint64 arg_arg_x) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1144s # arg_arg_x)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmpmefkjwoc.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmpmefkjwoc.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static void 1144s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1144s # GClosure *closure, 1144s # GValue *return_value G_GNUC_UNUSED, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint G_GNUC_UNUSED, 1144s # void *marshal_data) 1144s # { 1144s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1144s # (void *data1, 1144s # guint64 arg_arg_t, 1144s # void *data2); 1144s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1144s # GCClosure *cc = (GCClosure*) closure; 1144s # void *data1, *data2; 1144s # 1144s # g_return_if_fail (n_param_values == 2); 1144s # 1144s # if (G_CCLOSURE_SWAP_DATA (closure)) 1144s # { 1144s # data1 = closure->data; 1144s # data2 = g_value_peek_pointer (param_values + 0); 1144s # } 1144s # else 1144s # { 1144s # data1 = g_value_peek_pointer (param_values + 0); 1144s # data2 = closure->data; 1144s # } 1144s # 1144s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1144s # (marshal_data ? marshal_data : cc->callback); 1144s # 1144s # callback (data1, 1144s # g_marshal_value_peek_uint64 (param_values + 1), 1144s # data2); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_t", 1144s # (gchar *) "t", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalT", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-t" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-t: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_t: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1144s # g_signal_new ("single-arg-signal-t", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_UINT64); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_t: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_t: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalT" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_t ( 1144s # OrgProjectSignalingIface *object, 1144s # guint64 arg_arg_t) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1144s # OrgProjectSignalingIface *object, 1144s # guint64 arg_arg_t) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1144s # arg_arg_t)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmpaiefo84d.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmpaiefo84d.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_d", 1144s # (gchar *) "d", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalD", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-d" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__DOUBLE (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-d: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_d: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1144s # g_signal_new ("single-arg-signal-d", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_DOUBLE); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_d: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_d: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalD" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_d ( 1144s # OrgProjectSignalingIface *object, 1144s # gdouble arg_arg_d) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1144s # OrgProjectSignalingIface *object, 1144s # gdouble arg_arg_d) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1144s # arg_arg_d)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmpdpotr4en.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmpdpotr4en.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_s", 1144s # (gchar *) "s", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalS", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-s" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__STRING (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-s: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_s: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1144s # g_signal_new ("single-arg-signal-s", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_STRING); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_s: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_s: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalS" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_s ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *arg_arg_s) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *arg_arg_s) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1144s # arg_arg_s)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmplemzchk6.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmplemzchk6.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_o", 1144s # (gchar *) "o", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalO", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-o" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__STRING (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-o: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_o: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1144s # g_signal_new ("single-arg-signal-o", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_STRING); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_o: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_o: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalO" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_o ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *arg_arg_o) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *arg_arg_o) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1144s # arg_arg_o)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmp8bx2an6q.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmp8bx2an6q.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_g", 1144s # (gchar *) "g", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalG", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-g" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__STRING (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-g: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_g: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1144s # g_signal_new ("single-arg-signal-g", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_STRING); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_g: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_g: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalG" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_g ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *arg_arg_g) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *arg_arg_g) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1144s # arg_arg_g)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmp_nwd0tmz.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmp_nwd0tmz.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_h", 1144s # (gchar *) "h", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalH", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-h" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VARIANT (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-h: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_h: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1144s # g_signal_new ("single-arg-signal-h", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_VARIANT); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_h: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_h: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalH" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_h ( 1144s # OrgProjectSignalingIface *object, 1144s # GVariant *arg_arg_h) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1144s # OrgProjectSignalingIface *object, 1144s # GVariant *arg_arg_h) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1144s # arg_arg_h)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmpyzjp92jd.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmpyzjp92jd.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_ay", 1144s # (gchar *) "ay", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalAy", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-ay" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__STRING (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-ay: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_ay: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1144s # g_signal_new ("single-arg-signal-ay", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_STRING); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_ay: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalAy" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *arg_arg_ay) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *arg_arg_ay) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1144s # arg_arg_ay)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmp5f3alnkd.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmp5f3alnkd.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_as", 1144s # (gchar *) "as", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalAs", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-as" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__BOXED (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-as: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_as: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1144s # g_signal_new ("single-arg-signal-as", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_STRV); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_as: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_as: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalAs" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_as ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *const *arg_arg_as) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *const *arg_arg_as) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1144s # arg_arg_as)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmptomwo7ra.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmptomwo7ra.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_ao", 1144s # (gchar *) "ao", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalAo", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-ao" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__BOXED (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-ao: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_ao: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1144s # g_signal_new ("single-arg-signal-ao", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_STRV); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_ao: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalAo" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *const *arg_arg_ao) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *const *arg_arg_ao) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1144s # arg_arg_ao)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmp0m9z5e38.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmp0m9z5e38.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_aay", 1144s # (gchar *) "aay", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalAay", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-aay" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__BOXED (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-aay: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_aay: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1144s # g_signal_new ("single-arg-signal-aay", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_STRV); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_aay: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalAay" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *const *arg_arg_aay) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1144s # OrgProjectSignalingIface *object, 1144s # const gchar *const *arg_arg_aay) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1144s # arg_arg_aay)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s # /tmp/tmpzx0f1m8x/tmp34pfvj8k.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzx0f1m8x/tmp34pfvj8k.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "arg_asv", 1144s # (gchar *) "a{sv}", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SingleArgSignalAsv", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "single-arg-signal-asv" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VARIANT (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::single-arg-signal-asv: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_asv: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1144s # g_signal_new ("single-arg-signal-asv", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1144s # G_TYPE_NONE, 1144s # 1, G_TYPE_VARIANT); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_arg_asv: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1144s # OrgProjectSignalingIface *object, 1144s # GVariant *arg_arg_asv) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1144s # OrgProjectSignalingIface *object, 1144s # GVariant *arg_arg_asv) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1144s # arg_arg_asv)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1144s # tmpdir: /tmp/tmpcdb5egfv 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmpcdb5egfv/tmpd3hkklg9.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdb5egfv/tmpd3hkklg9.xml', '--output', '-', '--body'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifdef HAVE_CONFIG_H 1144s # # include "config.h" 1144s # #endif 1144s # 1144s # #include 1144s # #ifdef G_OS_UNIX 1144s # # include 1144s # #endif 1144s # 1144s # #ifdef G_ENABLE_DEBUG 1144s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1144s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1144s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1144s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1144s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1144s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1144s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1144s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1144s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1144s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1144s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1144s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1144s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1144s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1144s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1144s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1144s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1144s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1144s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1144s # #else /* !G_ENABLE_DEBUG */ 1144s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1144s # * Do not access GValues directly in your code. Instead, use the 1144s # * g_value_get_*() functions 1144s # */ 1144s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1144s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1144s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1144s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1144s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1144s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1144s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1144s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1144s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1144s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1144s # #endif /* !G_ENABLE_DEBUG */ 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusArgInfo parent_struct; 1144s # gboolean use_gvariant; 1144s # } _ExtendedGDBusArgInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusMethodInfo parent_struct; 1144s # const gchar *signal_name; 1144s # gboolean pass_fdlist; 1144s # } _ExtendedGDBusMethodInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusSignalInfo parent_struct; 1144s # const gchar *signal_name; 1144s # } _ExtendedGDBusSignalInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusPropertyInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # guint use_gvariant : 1; 1144s # guint emits_changed_signal : 1; 1144s # } _ExtendedGDBusPropertyInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # GDBusInterfaceInfo parent_struct; 1144s # const gchar *hyphen_name; 1144s # } _ExtendedGDBusInterfaceInfo; 1144s # 1144s # typedef struct 1144s # { 1144s # const _ExtendedGDBusPropertyInfo *info; 1144s # guint prop_id; 1144s # GValue orig_value; /* the value before the change */ 1144s # } ChangedProperty; 1144s # 1144s # static void 1144s # _changed_property_free (ChangedProperty *data) 1144s # { 1144s # g_value_unset (&data->orig_value); 1144s # g_free (data); 1144s # } 1144s # 1144s # static gboolean 1144s # _g_strv_equal0 (gchar **a, gchar **b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # guint n; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # if (g_strv_length (a) != g_strv_length (b)) 1144s # goto out; 1144s # for (n = 0; a[n] != NULL; n++) 1144s # if (g_strcmp0 (a[n], b[n]) != 0) 1144s # goto out; 1144s # ret = TRUE; 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _g_variant_equal0 (GVariant *a, GVariant *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # if (a == NULL && b == NULL) 1144s # { 1144s # ret = TRUE; 1144s # goto out; 1144s # } 1144s # if (a == NULL || b == NULL) 1144s # goto out; 1144s # ret = g_variant_equal (a, b); 1144s # out: 1144s # return ret; 1144s # } 1144s # 1144s # G_GNUC_UNUSED static gboolean 1144s # _g_value_equal (const GValue *a, const GValue *b) 1144s # { 1144s # gboolean ret = FALSE; 1144s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1144s # switch (G_VALUE_TYPE (a)) 1144s # { 1144s # case G_TYPE_BOOLEAN: 1144s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1144s # break; 1144s # case G_TYPE_UCHAR: 1144s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1144s # break; 1144s # case G_TYPE_INT: 1144s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1144s # break; 1144s # case G_TYPE_UINT: 1144s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1144s # break; 1144s # case G_TYPE_INT64: 1144s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1144s # break; 1144s # case G_TYPE_UINT64: 1144s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1144s # break; 1144s # case G_TYPE_DOUBLE: 1144s # { 1144s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1144s # gdouble da = g_value_get_double (a); 1144s # gdouble db = g_value_get_double (b); 1144s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1144s # } 1144s # break; 1144s # case G_TYPE_STRING: 1144s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1144s # break; 1144s # case G_TYPE_VARIANT: 1144s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1144s # break; 1144s # default: 1144s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1144s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1144s # else 1144s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1144s # break; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static void 1144s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1144s # GClosure *closure, 1144s # GValue *return_value G_GNUC_UNUSED, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint G_GNUC_UNUSED, 1144s # void *marshal_data) 1144s # { 1144s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1144s # (void *data1, 1144s # gboolean arg_an_b, 1144s # guchar arg_an_y, 1144s # gint16 arg_an_n, 1144s # guint16 arg_an_q, 1144s # gint arg_an_i, 1144s # guint arg_an_u, 1144s # gint64 arg_an_x, 1144s # guint64 arg_an_t, 1144s # gdouble arg_an_d, 1144s # const gchar *arg_an_s, 1144s # const gchar *arg_an_o, 1144s # const gchar *arg_an_g, 1144s # GVariant *arg_an_h, 1144s # const gchar *arg_an_ay, 1144s # const gchar *const *arg_an_as, 1144s # const gchar *const *arg_an_ao, 1144s # const gchar *const *arg_an_aay, 1144s # GVariant *arg_an_asv, 1144s # void *data2); 1144s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1144s # GCClosure *cc = (GCClosure*) closure; 1144s # void *data1, *data2; 1144s # 1144s # g_return_if_fail (n_param_values == 19); 1144s # 1144s # if (G_CCLOSURE_SWAP_DATA (closure)) 1144s # { 1144s # data1 = closure->data; 1144s # data2 = g_value_peek_pointer (param_values + 0); 1144s # } 1144s # else 1144s # { 1144s # data1 = g_value_peek_pointer (param_values + 0); 1144s # data2 = closure->data; 1144s # } 1144s # 1144s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1144s # (marshal_data ? marshal_data : cc->callback); 1144s # 1144s # callback (data1, 1144s # g_marshal_value_peek_boolean (param_values + 1), 1144s # g_marshal_value_peek_uchar (param_values + 2), 1144s # g_marshal_value_peek_int (param_values + 3), 1144s # g_marshal_value_peek_uint (param_values + 4), 1144s # g_marshal_value_peek_int (param_values + 5), 1144s # g_marshal_value_peek_uint (param_values + 6), 1144s # g_marshal_value_peek_int64 (param_values + 7), 1144s # g_marshal_value_peek_uint64 (param_values + 8), 1144s # g_marshal_value_peek_double (param_values + 9), 1144s # g_marshal_value_peek_string (param_values + 10), 1144s # g_marshal_value_peek_string (param_values + 11), 1144s # g_marshal_value_peek_string (param_values + 12), 1144s # g_marshal_value_peek_variant (param_values + 13), 1144s # g_marshal_value_peek_string (param_values + 14), 1144s # g_marshal_value_peek_boxed (param_values + 15), 1144s # g_marshal_value_peek_boxed (param_values + 16), 1144s # g_marshal_value_peek_boxed (param_values + 17), 1144s # g_marshal_value_peek_variant (param_values + 18), 1144s # data2); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ 1144s # * Code for interface org.project.SignalingIface 1144s # * ------------------------------------------------------------------------ 1144s # */ 1144s # 1144s # /** 1144s # * SECTION:OrgProjectSignalingIface 1144s # * @title: OrgProjectSignalingIface 1144s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1144s # * 1144s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1144s # */ 1144s # 1144s # enum 1144s # { 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1144s # }; 1144s # 1144s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1144s # 1144s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SimpleSignal", 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "simple-signal" 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_b", 1144s # (gchar *) "b", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_y", 1144s # (gchar *) "y", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_n", 1144s # (gchar *) "n", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_q", 1144s # (gchar *) "q", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_i", 1144s # (gchar *) "i", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_u", 1144s # (gchar *) "u", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_x", 1144s # (gchar *) "x", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_t", 1144s # (gchar *) "t", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_d", 1144s # (gchar *) "d", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_s", 1144s # (gchar *) "s", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_o", 1144s # (gchar *) "o", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_g", 1144s # (gchar *) "g", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_h", 1144s # (gchar *) "h", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_ay", 1144s # (gchar *) "ay", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_as", 1144s # (gchar *) "as", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_ao", 1144s # (gchar *) "ao", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_aay", 1144s # (gchar *) "aay", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "an_asv", 1144s # (gchar *) "a{sv}", 1144s # NULL 1144s # }, 1144s # FALSE 1144s # }; 1144s # 1144s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "SignalWithManyArgs", 1144s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1144s # NULL 1144s # }, 1144s # "signal-with-many-args" 1144s # }; 1144s # 1144s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1144s # { 1144s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1144s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1144s # NULL 1144s # }; 1144s # 1144s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1144s # { 1144s # { 1144s # -1, 1144s # (gchar *) "org.project.SignalingIface", 1144s # NULL, 1144s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1144s # NULL, 1144s # NULL 1144s # }, 1144s # "org-project-signaling-iface", 1144s # }; 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_interface_info: 1144s # * 1144s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1144s # * 1144s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1144s # */ 1144s # GDBusInterfaceInfo * 1144s # org_project_signaling_iface_interface_info (void) 1144s # { 1144s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_override_properties: 1144s # * @klass: The class structure for a #GObject derived class. 1144s # * @property_id_begin: The property id to assign to the first overridden property. 1144s # * 1144s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1144s # * The properties are overridden in the order they are defined. 1144s # * 1144s # * Returns: The last property id. 1144s # */ 1144s # guint 1144s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1144s # { 1144s # return property_id_begin - 1; 1144s # } 1144s # 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_simple_signal ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # g_cclosure_marshal_VOID__VOID (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # inline static void 1144s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1144s # GClosure *closure, 1144s # GValue *return_value, 1144s # unsigned int n_param_values, 1144s # const GValue *param_values, 1144s # void *invocation_hint, 1144s # void *marshal_data) 1144s # { 1144s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1144s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1144s # } 1144s # 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface: 1144s # * 1144s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceIface: 1144s # * @parent_iface: The parent interface. 1144s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1144s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1144s # * 1144s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1144s # */ 1144s # 1144s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1144s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1144s # 1144s # static void 1144s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # /* GObject signals for received D-Bus signals: */ 1144s # /** 1144s # * OrgProjectSignalingIface::simple-signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1144s # g_signal_new ("simple-signal", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_simple_signal, 1144s # G_TYPE_NONE, 1144s # 0); 1144s # 1144s # /** 1144s # * OrgProjectSignalingIface::signal-with-many-args: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_an_b: Argument. 1144s # * @arg_an_y: Argument. 1144s # * @arg_an_n: Argument. 1144s # * @arg_an_q: Argument. 1144s # * @arg_an_i: Argument. 1144s # * @arg_an_u: Argument. 1144s # * @arg_an_x: Argument. 1144s # * @arg_an_t: Argument. 1144s # * @arg_an_d: Argument. 1144s # * @arg_an_s: Argument. 1144s # * @arg_an_o: Argument. 1144s # * @arg_an_g: Argument. 1144s # * @arg_an_h: Argument. 1144s # * @arg_an_ay: Argument. 1144s # * @arg_an_as: Argument. 1144s # * @arg_an_ao: Argument. 1144s # * @arg_an_aay: Argument. 1144s # * @arg_an_asv: Argument. 1144s # * 1144s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1144s # * 1144s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1144s # */ 1144s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1144s # g_signal_new ("signal-with-many-args", 1144s # G_TYPE_FROM_INTERFACE (iface), 1144s # G_SIGNAL_RUN_LAST, 1144s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1144s # NULL, 1144s # NULL, 1144s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1144s # G_TYPE_NONE, 1144s # 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); 1144s # 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_simple_signal: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * 1144s # * Emits the "SimpleSignal" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_emit_signal_with_many_args: 1144s # * @object: A #OrgProjectSignalingIface. 1144s # * @arg_an_b: Argument to pass with the signal. 1144s # * @arg_an_y: Argument to pass with the signal. 1144s # * @arg_an_n: Argument to pass with the signal. 1144s # * @arg_an_q: Argument to pass with the signal. 1144s # * @arg_an_i: Argument to pass with the signal. 1144s # * @arg_an_u: Argument to pass with the signal. 1144s # * @arg_an_x: Argument to pass with the signal. 1144s # * @arg_an_t: Argument to pass with the signal. 1144s # * @arg_an_d: Argument to pass with the signal. 1144s # * @arg_an_s: Argument to pass with the signal. 1144s # * @arg_an_o: Argument to pass with the signal. 1144s # * @arg_an_g: Argument to pass with the signal. 1144s # * @arg_an_h: Argument to pass with the signal. 1144s # * @arg_an_ay: Argument to pass with the signal. 1144s # * @arg_an_as: Argument to pass with the signal. 1144s # * @arg_an_ao: Argument to pass with the signal. 1144s # * @arg_an_aay: Argument to pass with the signal. 1144s # * @arg_an_asv: Argument to pass with the signal. 1144s # * 1144s # * Emits the "SignalWithManyArgs" D-Bus signal. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_emit_signal_with_many_args ( 1144s # OrgProjectSignalingIface *object, 1144s # gboolean arg_an_b, 1144s # guchar arg_an_y, 1144s # gint16 arg_an_n, 1144s # guint16 arg_an_q, 1144s # gint arg_an_i, 1144s # guint arg_an_u, 1144s # gint64 arg_an_x, 1144s # guint64 arg_an_t, 1144s # gdouble arg_an_d, 1144s # const gchar *arg_an_s, 1144s # const gchar *arg_an_o, 1144s # const gchar *arg_an_g, 1144s # GVariant *arg_an_h, 1144s # const gchar *arg_an_ay, 1144s # const gchar *const *arg_an_as, 1144s # const gchar *const *arg_an_ao, 1144s # const gchar *const *arg_an_aay, 1144s # GVariant *arg_an_asv) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxy: 1144s # * 1144s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceProxyClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceProxy. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceProxyPrivate 1144s # { 1144s # GData *qdata; 1144s # }; 1144s # 1144s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_proxy_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1144s # g_datalist_clear (&proxy->priv->qdata); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1144s # guint prop_id G_GNUC_UNUSED, 1144s # const GValue *value G_GNUC_UNUSED, 1144s # GParamSpec *pspec G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1144s # const gchar *sender_name G_GNUC_UNUSED, 1144s # const gchar *signal_name, 1144s # GVariant *parameters) 1144s # { 1144s # _ExtendedGDBusSignalInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # gsize n; 1144s # guint signal_id; 1144s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1144s # if (info == NULL) 1144s # return; 1144s # num_params = g_variant_n_children (parameters); 1144s # paramv = g_new0 (GValue, num_params + 1); 1144s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[0], proxy); 1144s # g_variant_iter_init (&iter, parameters); 1144s # n = 1; 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_signal_emitv (paramv, signal_id, 0, NULL); 1144s # for (n = 0; n < num_params + 1; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1144s # GVariant *changed_properties, 1144s # const gchar *const *invalidated_properties) 1144s # { 1144s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1144s # guint n; 1144s # const gchar *key; 1144s # GVariantIter *iter; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # g_variant_get (changed_properties, "a{sv}", &iter); 1144s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1144s # g_datalist_remove_data (&proxy->priv->qdata, key); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # g_variant_iter_free (iter); 1144s # for (n = 0; invalidated_properties[n] != NULL; n++) 1144s # { 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1144s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1144s # if (info != NULL) 1144s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1144s # } 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1144s # #else 1144s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1144s # #endif 1144s # 1144s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusProxyClass *proxy_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1144s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1144s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1144s # 1144s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1144s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1144s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_sync: 1144s # * @connection: A #GDBusConnection. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_sync ( 1144s # GDBusConnection *connection, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1144s # * @user_data: User data to pass to @callback. 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1144s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1144s # */ 1144s # void 1144s # org_project_signaling_iface_proxy_new_for_bus ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GAsyncReadyCallback callback, 1144s # gpointer user_data) 1144s # { 1144s # 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); 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1144s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1144s # GAsyncResult *res, 1144s # GError **error) 1144s # { 1144s # GObject *ret; 1144s # GObject *source_object; 1144s # source_object = g_async_result_get_source_object (res); 1144s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1144s # g_object_unref (source_object); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1144s # * @bus_type: A #GBusType. 1144s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1144s # * @name: A bus name (well-known or unique). 1144s # * @object_path: An object path. 1144s # * @cancellable: (nullable): A #GCancellable or %NULL. 1144s # * @error: Return location for error or %NULL 1144s # * 1144s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1144s # * 1144s # * The calling thread is blocked until a reply is received. 1144s # * 1144s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1144s # GBusType bus_type, 1144s # GDBusProxyFlags flags, 1144s # const gchar *name, 1144s # const gchar *object_path, 1144s # GCancellable *cancellable, 1144s # GError **error) 1144s # { 1144s # GInitable *ret; 1144s # 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); 1144s # if (ret != NULL) 1144s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1144s # else 1144s # return NULL; 1144s # } 1144s # 1144s # 1144s # /* ------------------------------------------------------------------------ */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeleton: 1144s # * 1144s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1144s # */ 1144s # 1144s # /** 1144s # * OrgProjectSignalingIfaceSkeletonClass: 1144s # * @parent_class: The parent class. 1144s # * 1144s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1144s # */ 1144s # 1144s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1144s # { 1144s # GValue *properties; 1144s # GList *changed_properties; 1144s # GSource *changed_properties_idle_source; 1144s # GMainContext *context; 1144s # GMutex lock; 1144s # }; 1144s # 1144s # static void 1144s # _org_project_signaling_iface_skeleton_handle_method_call ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name, 1144s # const gchar *method_name, 1144s # GVariant *parameters, 1144s # GDBusMethodInvocation *invocation, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # _ExtendedGDBusMethodInfo *info; 1144s # GVariantIter iter; 1144s # GVariant *child; 1144s # GValue *paramv; 1144s # gsize num_params; 1144s # guint num_extra; 1144s # gsize n; 1144s # guint signal_id; 1144s # GValue return_value = G_VALUE_INIT; 1144s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1144s # g_assert (info != NULL); 1144s # num_params = g_variant_n_children (parameters); 1144s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1144s # n = 0; 1144s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_set_object (¶mv[n++], skeleton); 1144s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1144s # g_value_set_object (¶mv[n++], invocation); 1144s # if (info->pass_fdlist) 1144s # { 1144s # #ifdef G_OS_UNIX 1144s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1144s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1144s # #else 1144s # g_assert_not_reached (); 1144s # #endif 1144s # } 1144s # g_variant_iter_init (&iter, parameters); 1144s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1144s # { 1144s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1144s # if (arg_info->use_gvariant) 1144s # { 1144s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1144s # g_value_set_variant (¶mv[n], child); 1144s # n++; 1144s # } 1144s # else 1144s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1144s # g_variant_unref (child); 1144s # } 1144s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1144s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1144s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1144s # if (!g_value_get_boolean (&return_value)) 1144s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1144s # g_value_unset (&return_value); 1144s # for (n = 0; n < num_params + num_extra; n++) 1144s # g_value_unset (¶mv[n]); 1144s # g_free (paramv); 1144s # } 1144s # 1144s # static GVariant * 1144s # _org_project_signaling_iface_skeleton_handle_get_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # GVariant *ret; 1144s # ret = NULL; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # g_value_init (&value, pspec->value_type); 1144s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1144s # g_value_unset (&value); 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static gboolean 1144s # _org_project_signaling_iface_skeleton_handle_set_property ( 1144s # GDBusConnection *connection G_GNUC_UNUSED, 1144s # const gchar *sender G_GNUC_UNUSED, 1144s # const gchar *object_path G_GNUC_UNUSED, 1144s # const gchar *interface_name G_GNUC_UNUSED, 1144s # const gchar *property_name, 1144s # GVariant *variant, 1144s # GError **error, 1144s # gpointer user_data) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1144s # GValue value = G_VALUE_INIT; 1144s # GParamSpec *pspec; 1144s # _ExtendedGDBusPropertyInfo *info; 1144s # gboolean ret; 1144s # ret = FALSE; 1144s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1144s # g_assert (info != NULL); 1144s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1144s # if (pspec == NULL) 1144s # { 1144s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1144s # } 1144s # else 1144s # { 1144s # if (info->use_gvariant) 1144s # g_value_set_variant (&value, variant); 1144s # else 1144s # g_dbus_gvariant_to_gvalue (variant, &value); 1144s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1144s # g_value_unset (&value); 1144s # ret = TRUE; 1144s # } 1144s # return ret; 1144s # } 1144s # 1144s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1144s # { 1144s # _org_project_signaling_iface_skeleton_handle_method_call, 1144s # _org_project_signaling_iface_skeleton_handle_get_property, 1144s # _org_project_signaling_iface_skeleton_handle_set_property, 1144s # {NULL} 1144s # }; 1144s # 1144s # static GDBusInterfaceInfo * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return org_project_signaling_iface_interface_info (); 1144s # } 1144s # 1144s # static GDBusInterfaceVTable * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1144s # { 1144s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1144s # } 1144s # 1144s # static GVariant * 1144s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1144s # 1144s # GVariantBuilder builder; 1144s # guint n; 1144s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1144s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1144s # goto out; 1144s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1144s # { 1144s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1144s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1144s # { 1144s # GVariant *value; 1144s # 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); 1144s # if (value != NULL) 1144s # { 1144s # g_variant_take_ref (value); 1144s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1144s # g_variant_unref (value); 1144s # } 1144s # } 1144s # } 1144s # out: 1144s # return g_variant_builder_end (&builder); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1144s # { 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_simple_signal ( 1144s # OrgProjectSignalingIface *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void 1144s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1144s # OrgProjectSignalingIface *object, 1144s # gboolean arg_an_b, 1144s # guchar arg_an_y, 1144s # gint16 arg_an_n, 1144s # guint16 arg_an_q, 1144s # gint arg_an_i, 1144s # guint arg_an_u, 1144s # gint64 arg_an_x, 1144s # guint64 arg_an_t, 1144s # gdouble arg_an_d, 1144s # const gchar *arg_an_s, 1144s # const gchar *arg_an_o, 1144s # const gchar *arg_an_g, 1144s # GVariant *arg_an_h, 1144s # const gchar *arg_an_ay, 1144s # const gchar *const *arg_an_as, 1144s # const gchar *const *arg_an_ao, 1144s # const gchar *const *arg_an_aay, 1144s # GVariant *arg_an_asv) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # 1144s # GList *connections, *l; 1144s # GVariant *signal_variant; 1144s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1144s # 1144s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1144s # arg_an_b, 1144s # arg_an_y, 1144s # arg_an_n, 1144s # arg_an_q, 1144s # arg_an_i, 1144s # arg_an_u, 1144s # arg_an_x, 1144s # arg_an_t, 1144s # arg_an_d, 1144s # arg_an_s, 1144s # arg_an_o, 1144s # arg_an_g, 1144s # arg_an_h, 1144s # arg_an_ay, 1144s # arg_an_as, 1144s # arg_an_ao, 1144s # arg_an_aay, 1144s # arg_an_asv)); 1144s # for (l = connections; l != NULL; l = l->next) 1144s # { 1144s # GDBusConnection *connection = l->data; 1144s # g_dbus_connection_emit_signal (connection, 1144s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1144s # signal_variant, NULL); 1144s # } 1144s # g_variant_unref (signal_variant); 1144s # g_list_free_full (connections, g_object_unref); 1144s # } 1144s # 1144s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #else 1144s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1144s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1144s # 1144s # #endif 1144s # static void 1144s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1144s # { 1144s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1144s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1144s # if (skeleton->priv->changed_properties_idle_source != NULL) 1144s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1144s # g_main_context_unref (skeleton->priv->context); 1144s # g_mutex_clear (&skeleton->priv->lock); 1144s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1144s # { 1144s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1144s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1144s # #else 1144s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1144s # #endif 1144s # 1144s # g_mutex_init (&skeleton->priv->lock); 1144s # skeleton->priv->context = g_main_context_ref_thread_default (); 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1144s # { 1144s # GObjectClass *gobject_class; 1144s # GDBusInterfaceSkeletonClass *skeleton_class; 1144s # 1144s # gobject_class = G_OBJECT_CLASS (klass); 1144s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1144s # 1144s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1144s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1144s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1144s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1144s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1144s # 1144s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1144s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1144s # #endif 1144s # } 1144s # 1144s # static void 1144s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1144s # { 1144s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1144s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1144s # } 1144s # 1144s # /** 1144s # * org_project_signaling_iface_skeleton_new: 1144s # * 1144s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1144s # * 1144s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1144s # */ 1144s # OrgProjectSignalingIface * 1144s # org_project_signaling_iface_skeleton_new (void) 1144s # { 1144s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1144s # } 1144s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1144s # tmpdir: /tmp/tmpprvghpxt 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmpprvghpxt/tmp32a97vya.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprvghpxt/tmp32a97vya.xml', '--generate-docbook', 'test'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: 1144s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1144s # tmpdir: /tmp/tmp9i7unk8t 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmp9i7unk8t/tmpusf6z_9l.xml: 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9i7unk8t/tmpusf6z_9l.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1144s # tmpdir: /tmp/tmpzvrgkz9q 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmpzvrgkz9q/tmpvk_j44fz.xml: 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzvrgkz9q/tmpvk_j44fz.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifndef __STDOUT__ 1144s # #define __STDOUT__ 1144s # 1144s # #include 1144s # 1144s # G_BEGIN_DECLS 1144s # 1144s # 1144s # G_END_DECLS 1144s # 1144s # #endif /* __STDOUT__ */ 1144s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1144s # tmpdir: /tmp/tmpb9hbpe46 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmpb9hbpe46/tmpoqd_r9vr.xml: 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb9hbpe46/tmpoqd_r9vr.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1144s # tmpdir: /tmp/tmp2f98_7f9 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmp2f98_7f9/tmpn0utvvhr.xml: 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2f98_7f9/tmpn0utvvhr.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifndef __STDOUT__ 1144s # #define __STDOUT__ 1144s # 1144s # #include 1144s # 1144s # G_BEGIN_DECLS 1144s # 1144s # 1144s # G_END_DECLS 1144s # 1144s # #endif /* __STDOUT__ */ 1144s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1144s # tmpdir: /tmp/tmp7zn8g7ip 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmp7zn8g7ip/tmp17ni_cbj.xml: 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7zn8g7ip/tmp17ni_cbj.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifndef __STDOUT__ 1144s # #define __STDOUT__ 1144s # 1144s # #include 1144s # 1144s # G_BEGIN_DECLS 1144s # 1144s # 1144s # G_END_DECLS 1144s # 1144s # #endif /* __STDOUT__ */ 1144s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1144s # tmpdir: /tmp/tmpmu3dluza 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmpmu3dluza/tmp0z2w_qq8.xml: 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmu3dluza/tmp0z2w_qq8.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1144s # tmpdir: /tmp/tmp5vq3e1z_ 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmp5vq3e1z_/tmp7zot4q_c.xml: 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5vq3e1z_/tmp7zot4q_c.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifndef __STDOUT__ 1144s # #define __STDOUT__ 1144s # 1144s # #include 1144s # 1144s # G_BEGIN_DECLS 1144s # 1144s # 1144s # G_END_DECLS 1144s # 1144s # #endif /* __STDOUT__ */ 1144s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1144s # tmpdir: /tmp/tmpwgw1ims6 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmpwgw1ims6/tmpknksaw_6.xml: 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwgw1ims6/tmpknksaw_6.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1144s # tmpdir: /tmp/tmpsq_n4p71 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmpsq_n4p71/tmpuonhvydq.xml: 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsq_n4p71/tmpuonhvydq.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: /* 1144s # * This file is generated by gdbus-codegen, do not modify it. 1144s # * 1144s # * The license of this code is the same as for the D-Bus interface description 1144s # * it was derived from. Note that it links to GLib, so must comply with the 1144s # * LGPL linking clauses. 1144s # */ 1144s # 1144s # #ifndef __STDOUT__ 1144s # #define __STDOUT__ 1144s # 1144s # #include 1144s # 1144s # G_BEGIN_DECLS 1144s # 1144s # 1144s # G_END_DECLS 1144s # 1144s # #endif /* __STDOUT__ */ 1144s ok 35 __main__.TestCodegen.test_help 1144s # tmpdir: /tmp/tmpy0w2mt1e 1144s # codegen: /usr/bin/gdbus-codegen 1144s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1144s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1144s # [--c-generate-autocleanup {none,objects,all}] 1144s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1144s # [--generate-rst OUTFILES] [--pragma-once] 1144s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1144s # [--glib-min-required VERSION] 1144s # [--glib-max-allowed VERSION] 1144s # [--symbol-decorator SYMBOL_DECORATOR] 1144s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1144s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1144s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1144s # [--output FILE | --output-directory OUTDIR] 1144s # FILE [FILE ...] 1144s # 1144s # D-Bus code and documentation generator 1144s # 1144s # positional arguments: 1144s # FILE D-Bus introspection XML file 1144s # 1144s # options: 1144s # -h, --help show this help message and exit 1144s # --interface-prefix PREFIX 1144s # String to strip from D-Bus interface names for code 1144s # and docs 1144s # --c-namespace NAMESPACE 1144s # The namespace to use for generated C code 1144s # --c-generate-object-manager 1144s # Generate a GDBusObjectManagerClient subclass when 1144s # generating C code 1144s # --c-generate-autocleanup {none,objects,all} 1144s # Generate autocleanup support 1144s # --generate-docbook OUTFILES 1144s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1144s # --generate-md OUTFILES 1144s # Generate Markdown in OUTFILES-org.Project.IFace.md 1144s # --generate-rst OUTFILES 1144s # Generate reStructuredText in OUTFILES- 1144s # org.Project.IFace.rst 1144s # --pragma-once Use "pragma once" as the inclusion guard 1144s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1144s # Add annotation (may be used several times) 1144s # --glib-min-required VERSION 1144s # Minimum version of GLib to be supported by the 1144s # outputted code (default: 2.30) 1144s # --glib-max-allowed VERSION 1144s # Maximum version of GLib to be used by the outputted 1144s # code (default: current GLib version) 1144s # --symbol-decorator SYMBOL_DECORATOR 1144s # Macro used to decorate a symbol in the outputted 1144s # header, possibly to export symbols 1144s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1144s # Additional header required for decorator specified by 1144s # --symbol-decorator 1144s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1144s # Additional define required for decorator specified by 1144s # --symbol-decorator 1144s # --generate-c-code OUTFILES 1144s # Generate C code in OUTFILES.[ch] 1144s # --header Generate C headers 1144s # --body Generate C code 1144s # --interface-info-header 1144s # Generate GDBusInterfaceInfo C header 1144s # --interface-info-body 1144s # Generate GDBusInterfaceInfo C code 1144s # --output FILE Write output into the specified file 1144s # --output-directory OUTDIR 1144s # Location to output generated files 1144s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1144s # tmpdir: /tmp/tmp260u6kap 1144s # codegen: /usr/bin/gdbus-codegen 1144s # /tmp/tmp260u6kap/tmpe5u_1pem.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp260u6kap/tmpe5u_1pem.xml', '--generate-rst', 'test'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: 1144s # /tmp/tmp260u6kap/tmp3mf01fw6.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp260u6kap/tmp3mf01fw6.xml', '--generate-md', 'test'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: 1144s # /tmp/tmp260u6kap/tmpazrffchx.xml: 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # 1144s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp260u6kap/tmpazrffchx.xml', '--generate-docbook', 'test'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1144s # Output: 1144s ok 37 __main__.TestCodegen.test_no_args 1144s # tmpdir: /tmp/tmpumybr6ov 1144s # codegen: /usr/bin/gdbus-codegen 1144s # Running: ['/usr/bin/gdbus-codegen'] 1144s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1145s ok 38 __main__.TestCodegen.test_reproducible 1145s # tmpdir: /tmp/tmpwz09t3wk 1145s # codegen: /usr/bin/gdbus-codegen 1145s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwz09t3wk/tmpf406s09e1.xml', '/tmp/tmpwz09t3wk/tmpxwy7ikh72.xml', '--output', '-', '--header'] 1145s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1145s # Output: /* 1145s # * This file is generated by gdbus-codegen, do not modify it. 1145s # * 1145s # * The license of this code is the same as for the D-Bus interface description 1145s # * it was derived from. Note that it links to GLib, so must comply with the 1145s # * LGPL linking clauses. 1145s # */ 1145s # 1145s # #ifndef __STDOUT__ 1145s # #define __STDOUT__ 1145s # 1145s # #include 1145s # 1145s # G_BEGIN_DECLS 1145s # 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # /* Declarations for com.acme.Coyote */ 1145s # 1145s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1145s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1145s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1145s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1145s # 1145s # struct _ComAcmeCoyote; 1145s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1145s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1145s # 1145s # struct _ComAcmeCoyoteIface 1145s # { 1145s # GTypeInterface parent_iface; 1145s # 1145s # 1145s # 1145s # gboolean (*handle_attack) ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # gboolean (*handle_run) ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # gboolean (*handle_sleep) ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1145s # 1145s # void (*surprised) ( 1145s # ComAcmeCoyote *object); 1145s # 1145s # }; 1145s # 1145s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1145s # 1145s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1145s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1145s # 1145s # 1145s # /* D-Bus method call completion functions: */ 1145s # void com_acme_coyote_complete_run ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # void com_acme_coyote_complete_sleep ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # void com_acme_coyote_complete_attack ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # 1145s # 1145s # /* D-Bus signal emissions functions: */ 1145s # void com_acme_coyote_emit_surprised ( 1145s # ComAcmeCoyote *object); 1145s # 1145s # 1145s # 1145s # /* D-Bus method calls: */ 1145s # void com_acme_coyote_call_run ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean com_acme_coyote_call_run_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean com_acme_coyote_call_run_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void com_acme_coyote_call_sleep ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean com_acme_coyote_call_sleep_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean com_acme_coyote_call_sleep_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void com_acme_coyote_call_attack ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean com_acme_coyote_call_attack_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean com_acme_coyote_call_attack_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # 1145s # /* D-Bus property accessors: */ 1145s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1145s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1145s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1145s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1145s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1145s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1145s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1145s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1145s # 1145s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1145s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1145s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1145s # 1145s # struct _ComAcmeCoyoteProxy 1145s # { 1145s # /*< private >*/ 1145s # GDBusProxy parent_instance; 1145s # ComAcmeCoyoteProxyPrivate *priv; 1145s # }; 1145s # 1145s # struct _ComAcmeCoyoteProxyClass 1145s # { 1145s # GDBusProxyClass parent_class; 1145s # }; 1145s # 1145s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1145s # #endif 1145s # 1145s # void com_acme_coyote_proxy_new ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void com_acme_coyote_proxy_new_for_bus ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1145s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1145s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1145s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1145s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1145s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1145s # 1145s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1145s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1145s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1145s # 1145s # struct _ComAcmeCoyoteSkeleton 1145s # { 1145s # /*< private >*/ 1145s # GDBusInterfaceSkeleton parent_instance; 1145s # ComAcmeCoyoteSkeletonPrivate *priv; 1145s # }; 1145s # 1145s # struct _ComAcmeCoyoteSkeletonClass 1145s # { 1145s # GDBusInterfaceSkeletonClass parent_class; 1145s # }; 1145s # 1145s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1145s # #endif 1145s # 1145s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1145s # 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # /* Declarations for org.project.Bar.Frobnicator */ 1145s # 1145s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1145s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1145s # 1145s # struct _OrgProjectBarFrobnicator; 1145s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1145s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1145s # 1145s # struct _OrgProjectBarFrobnicatorIface 1145s # { 1145s # GTypeInterface parent_iface; 1145s # 1145s # gboolean (*handle_random_method) ( 1145s # OrgProjectBarFrobnicator *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # }; 1145s # 1145s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1145s # 1145s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1145s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1145s # 1145s # 1145s # /* D-Bus method call completion functions: */ 1145s # void org_project_bar_frobnicator_complete_random_method ( 1145s # OrgProjectBarFrobnicator *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # 1145s # 1145s # /* D-Bus method calls: */ 1145s # void org_project_bar_frobnicator_call_random_method ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1145s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1145s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1145s # 1145s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1145s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1145s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1145s # 1145s # struct _OrgProjectBarFrobnicatorProxy 1145s # { 1145s # /*< private >*/ 1145s # GDBusProxy parent_instance; 1145s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1145s # }; 1145s # 1145s # struct _OrgProjectBarFrobnicatorProxyClass 1145s # { 1145s # GDBusProxyClass parent_class; 1145s # }; 1145s # 1145s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1145s # #endif 1145s # 1145s # void org_project_bar_frobnicator_proxy_new ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1145s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1145s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1145s # 1145s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1145s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1145s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1145s # 1145s # struct _OrgProjectBarFrobnicatorSkeleton 1145s # { 1145s # /*< private >*/ 1145s # GDBusInterfaceSkeleton parent_instance; 1145s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1145s # }; 1145s # 1145s # struct _OrgProjectBarFrobnicatorSkeletonClass 1145s # { 1145s # GDBusInterfaceSkeletonClass parent_class; 1145s # }; 1145s # 1145s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1145s # #endif 1145s # 1145s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1145s # 1145s # 1145s # G_END_DECLS 1145s # 1145s # #endif /* __STDOUT__ */ 1145s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwz09t3wk/tmpxwy7ikh72.xml', '/tmp/tmpwz09t3wk/tmpf406s09e1.xml', '--output', '-', '--header'] 1145s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1145s # Output: /* 1145s # * This file is generated by gdbus-codegen, do not modify it. 1145s # * 1145s # * The license of this code is the same as for the D-Bus interface description 1145s # * it was derived from. Note that it links to GLib, so must comply with the 1145s # * LGPL linking clauses. 1145s # */ 1145s # 1145s # #ifndef __STDOUT__ 1145s # #define __STDOUT__ 1145s # 1145s # #include 1145s # 1145s # G_BEGIN_DECLS 1145s # 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # /* Declarations for com.acme.Coyote */ 1145s # 1145s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1145s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1145s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1145s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1145s # 1145s # struct _ComAcmeCoyote; 1145s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1145s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1145s # 1145s # struct _ComAcmeCoyoteIface 1145s # { 1145s # GTypeInterface parent_iface; 1145s # 1145s # 1145s # 1145s # gboolean (*handle_attack) ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # gboolean (*handle_run) ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # gboolean (*handle_sleep) ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1145s # 1145s # void (*surprised) ( 1145s # ComAcmeCoyote *object); 1145s # 1145s # }; 1145s # 1145s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1145s # 1145s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1145s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1145s # 1145s # 1145s # /* D-Bus method call completion functions: */ 1145s # void com_acme_coyote_complete_run ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # void com_acme_coyote_complete_sleep ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # void com_acme_coyote_complete_attack ( 1145s # ComAcmeCoyote *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # 1145s # 1145s # /* D-Bus signal emissions functions: */ 1145s # void com_acme_coyote_emit_surprised ( 1145s # ComAcmeCoyote *object); 1145s # 1145s # 1145s # 1145s # /* D-Bus method calls: */ 1145s # void com_acme_coyote_call_run ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean com_acme_coyote_call_run_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean com_acme_coyote_call_run_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void com_acme_coyote_call_sleep ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean com_acme_coyote_call_sleep_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean com_acme_coyote_call_sleep_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void com_acme_coyote_call_attack ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean com_acme_coyote_call_attack_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean com_acme_coyote_call_attack_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # 1145s # /* D-Bus property accessors: */ 1145s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1145s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1145s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1145s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1145s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1145s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1145s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1145s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1145s # 1145s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1145s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1145s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1145s # 1145s # struct _ComAcmeCoyoteProxy 1145s # { 1145s # /*< private >*/ 1145s # GDBusProxy parent_instance; 1145s # ComAcmeCoyoteProxyPrivate *priv; 1145s # }; 1145s # 1145s # struct _ComAcmeCoyoteProxyClass 1145s # { 1145s # GDBusProxyClass parent_class; 1145s # }; 1145s # 1145s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1145s # #endif 1145s # 1145s # void com_acme_coyote_proxy_new ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void com_acme_coyote_proxy_new_for_bus ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1145s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1145s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1145s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1145s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1145s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1145s # 1145s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1145s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1145s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1145s # 1145s # struct _ComAcmeCoyoteSkeleton 1145s # { 1145s # /*< private >*/ 1145s # GDBusInterfaceSkeleton parent_instance; 1145s # ComAcmeCoyoteSkeletonPrivate *priv; 1145s # }; 1145s # 1145s # struct _ComAcmeCoyoteSkeletonClass 1145s # { 1145s # GDBusInterfaceSkeletonClass parent_class; 1145s # }; 1145s # 1145s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1145s # #endif 1145s # 1145s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1145s # 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # /* Declarations for org.project.Bar.Frobnicator */ 1145s # 1145s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1145s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1145s # 1145s # struct _OrgProjectBarFrobnicator; 1145s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1145s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1145s # 1145s # struct _OrgProjectBarFrobnicatorIface 1145s # { 1145s # GTypeInterface parent_iface; 1145s # 1145s # gboolean (*handle_random_method) ( 1145s # OrgProjectBarFrobnicator *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # }; 1145s # 1145s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1145s # 1145s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1145s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1145s # 1145s # 1145s # /* D-Bus method call completion functions: */ 1145s # void org_project_bar_frobnicator_complete_random_method ( 1145s # OrgProjectBarFrobnicator *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # 1145s # 1145s # /* D-Bus method calls: */ 1145s # void org_project_bar_frobnicator_call_random_method ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1145s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1145s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1145s # 1145s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1145s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1145s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1145s # 1145s # struct _OrgProjectBarFrobnicatorProxy 1145s # { 1145s # /*< private >*/ 1145s # GDBusProxy parent_instance; 1145s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1145s # }; 1145s # 1145s # struct _OrgProjectBarFrobnicatorProxyClass 1145s # { 1145s # GDBusProxyClass parent_class; 1145s # }; 1145s # 1145s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1145s # #endif 1145s # 1145s # void org_project_bar_frobnicator_proxy_new ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1145s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1145s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1145s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1145s # 1145s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1145s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1145s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1145s # 1145s # struct _OrgProjectBarFrobnicatorSkeleton 1145s # { 1145s # /*< private >*/ 1145s # GDBusInterfaceSkeleton parent_instance; 1145s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1145s # }; 1145s # 1145s # struct _OrgProjectBarFrobnicatorSkeletonClass 1145s # { 1145s # GDBusInterfaceSkeletonClass parent_class; 1145s # }; 1145s # 1145s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1145s # #endif 1145s # 1145s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1145s # 1145s # 1145s # G_END_DECLS 1145s # 1145s # #endif /* __STDOUT__ */ 1145s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwz09t3wk/tmpf406s09e1.xml', '/tmp/tmpwz09t3wk/tmpxwy7ikh72.xml', '--output', '-', '--body'] 1145s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1145s # Output: /* 1145s # * This file is generated by gdbus-codegen, do not modify it. 1145s # * 1145s # * The license of this code is the same as for the D-Bus interface description 1145s # * it was derived from. Note that it links to GLib, so must comply with the 1145s # * LGPL linking clauses. 1145s # */ 1145s # 1145s # #ifdef HAVE_CONFIG_H 1145s # # include "config.h" 1145s # #endif 1145s # 1145s # #include 1145s # #ifdef G_OS_UNIX 1145s # # include 1145s # #endif 1145s # 1145s # #ifdef G_ENABLE_DEBUG 1145s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1145s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1145s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1145s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1145s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1145s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1145s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1145s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1145s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1145s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1145s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1145s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1145s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1145s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1145s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1145s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1145s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1145s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1145s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1145s # #else /* !G_ENABLE_DEBUG */ 1145s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1145s # * Do not access GValues directly in your code. Instead, use the 1145s # * g_value_get_*() functions 1145s # */ 1145s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1145s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1145s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1145s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1145s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1145s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1145s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1145s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1145s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1145s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1145s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1145s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1145s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1145s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1145s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1145s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1145s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1145s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1145s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1145s # #endif /* !G_ENABLE_DEBUG */ 1145s # 1145s # typedef struct 1145s # { 1145s # GDBusArgInfo parent_struct; 1145s # gboolean use_gvariant; 1145s # } _ExtendedGDBusArgInfo; 1145s # 1145s # typedef struct 1145s # { 1145s # GDBusMethodInfo parent_struct; 1145s # const gchar *signal_name; 1145s # gboolean pass_fdlist; 1145s # } _ExtendedGDBusMethodInfo; 1145s # 1145s # typedef struct 1145s # { 1145s # GDBusSignalInfo parent_struct; 1145s # const gchar *signal_name; 1145s # } _ExtendedGDBusSignalInfo; 1145s # 1145s # typedef struct 1145s # { 1145s # GDBusPropertyInfo parent_struct; 1145s # const gchar *hyphen_name; 1145s # guint use_gvariant : 1; 1145s # guint emits_changed_signal : 1; 1145s # } _ExtendedGDBusPropertyInfo; 1145s # 1145s # typedef struct 1145s # { 1145s # GDBusInterfaceInfo parent_struct; 1145s # const gchar *hyphen_name; 1145s # } _ExtendedGDBusInterfaceInfo; 1145s # 1145s # typedef struct 1145s # { 1145s # const _ExtendedGDBusPropertyInfo *info; 1145s # guint prop_id; 1145s # GValue orig_value; /* the value before the change */ 1145s # } ChangedProperty; 1145s # 1145s # static void 1145s # _changed_property_free (ChangedProperty *data) 1145s # { 1145s # g_value_unset (&data->orig_value); 1145s # g_free (data); 1145s # } 1145s # 1145s # static gboolean 1145s # _g_strv_equal0 (gchar **a, gchar **b) 1145s # { 1145s # gboolean ret = FALSE; 1145s # guint n; 1145s # if (a == NULL && b == NULL) 1145s # { 1145s # ret = TRUE; 1145s # goto out; 1145s # } 1145s # if (a == NULL || b == NULL) 1145s # goto out; 1145s # if (g_strv_length (a) != g_strv_length (b)) 1145s # goto out; 1145s # for (n = 0; a[n] != NULL; n++) 1145s # if (g_strcmp0 (a[n], b[n]) != 0) 1145s # goto out; 1145s # ret = TRUE; 1145s # out: 1145s # return ret; 1145s # } 1145s # 1145s # static gboolean 1145s # _g_variant_equal0 (GVariant *a, GVariant *b) 1145s # { 1145s # gboolean ret = FALSE; 1145s # if (a == NULL && b == NULL) 1145s # { 1145s # ret = TRUE; 1145s # goto out; 1145s # } 1145s # if (a == NULL || b == NULL) 1145s # goto out; 1145s # ret = g_variant_equal (a, b); 1145s # out: 1145s # return ret; 1145s # } 1145s # 1145s # G_GNUC_UNUSED static gboolean 1145s # _g_value_equal (const GValue *a, const GValue *b) 1145s # { 1145s # gboolean ret = FALSE; 1145s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1145s # switch (G_VALUE_TYPE (a)) 1145s # { 1145s # case G_TYPE_BOOLEAN: 1145s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1145s # break; 1145s # case G_TYPE_UCHAR: 1145s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1145s # break; 1145s # case G_TYPE_INT: 1145s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1145s # break; 1145s # case G_TYPE_UINT: 1145s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1145s # break; 1145s # case G_TYPE_INT64: 1145s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1145s # break; 1145s # case G_TYPE_UINT64: 1145s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1145s # break; 1145s # case G_TYPE_DOUBLE: 1145s # { 1145s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1145s # gdouble da = g_value_get_double (a); 1145s # gdouble db = g_value_get_double (b); 1145s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1145s # } 1145s # break; 1145s # case G_TYPE_STRING: 1145s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1145s # break; 1145s # case G_TYPE_VARIANT: 1145s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1145s # break; 1145s # default: 1145s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1145s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1145s # else 1145s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1145s # break; 1145s # } 1145s # return ret; 1145s # } 1145s # 1145s # static void 1145s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint G_GNUC_UNUSED, 1145s # void *marshal_data) 1145s # { 1145s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1145s # (void *data1, 1145s # GDBusMethodInvocation *arg_method_invocation, 1145s # void *data2); 1145s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1145s # GCClosure *cc = (GCClosure*) closure; 1145s # void *data1, *data2; 1145s # gboolean v_return; 1145s # 1145s # g_return_if_fail (return_value != NULL); 1145s # g_return_if_fail (n_param_values == 2); 1145s # 1145s # if (G_CCLOSURE_SWAP_DATA (closure)) 1145s # { 1145s # data1 = closure->data; 1145s # data2 = g_value_peek_pointer (param_values + 0); 1145s # } 1145s # else 1145s # { 1145s # data1 = g_value_peek_pointer (param_values + 0); 1145s # data2 = closure->data; 1145s # } 1145s # 1145s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1145s # (marshal_data ? marshal_data : cc->callback); 1145s # 1145s # v_return = 1145s # callback (data1, 1145s # g_marshal_value_peek_object (param_values + 1), 1145s # data2); 1145s # 1145s # g_value_set_boolean (return_value, v_return); 1145s # } 1145s # 1145s # /* ------------------------------------------------------------------------ 1145s # * Code for interface com.acme.Coyote 1145s # * ------------------------------------------------------------------------ 1145s # */ 1145s # 1145s # /** 1145s # * SECTION:ComAcmeCoyote 1145s # * @title: ComAcmeCoyote 1145s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1145s # * 1145s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1145s # */ 1145s # 1145s # enum 1145s # { 1145s # _COM_ACME_COYOTE_SURPRISED, 1145s # }; 1145s # 1145s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1145s # 1145s # /* ---- Introspection data for com.acme.Coyote ---- */ 1145s # 1145s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "Run", 1145s # NULL, 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "handle-run", 1145s # FALSE 1145s # }; 1145s # 1145s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "Sleep", 1145s # NULL, 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "handle-sleep", 1145s # FALSE 1145s # }; 1145s # 1145s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "Attack", 1145s # NULL, 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "handle-attack", 1145s # FALSE 1145s # }; 1145s # 1145s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1145s # { 1145s # &_com_acme_coyote_method_info_run.parent_struct, 1145s # &_com_acme_coyote_method_info_sleep.parent_struct, 1145s # &_com_acme_coyote_method_info_attack.parent_struct, 1145s # NULL 1145s # }; 1145s # 1145s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "Surprised", 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "surprised" 1145s # }; 1145s # 1145s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1145s # { 1145s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1145s # NULL 1145s # }; 1145s # 1145s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "Mood", 1145s # (gchar *) "s", 1145s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1145s # NULL 1145s # }, 1145s # "mood", 1145s # FALSE, 1145s # TRUE 1145s # }; 1145s # 1145s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1145s # { 1145s # &_com_acme_coyote_property_info_mood.parent_struct, 1145s # NULL 1145s # }; 1145s # 1145s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "com.acme.Coyote", 1145s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1145s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1145s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1145s # NULL 1145s # }, 1145s # "com-acme-coyote", 1145s # }; 1145s # 1145s # 1145s # /** 1145s # * com_acme_coyote_interface_info: 1145s # * 1145s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1145s # * 1145s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1145s # */ 1145s # GDBusInterfaceInfo * 1145s # com_acme_coyote_interface_info (void) 1145s # { 1145s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_override_properties: 1145s # * @klass: The class structure for a #GObject derived class. 1145s # * @property_id_begin: The property id to assign to the first overridden property. 1145s # * 1145s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1145s # * The properties are overridden in the order they are defined. 1145s # * 1145s # * Returns: The last property id. 1145s # */ 1145s # guint 1145s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1145s # { 1145s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1145s # return property_id_begin - 1; 1145s # } 1145s # 1145s # 1145s # inline static void 1145s # com_acme_coyote_signal_marshal_surprised ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint, 1145s # void *marshal_data) 1145s # { 1145s # g_cclosure_marshal_VOID__VOID (closure, 1145s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1145s # } 1145s # 1145s # inline static void 1145s # com_acme_coyote_method_marshal_run ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint, 1145s # void *marshal_data) 1145s # { 1145s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1145s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1145s # } 1145s # 1145s # inline static void 1145s # com_acme_coyote_method_marshal_sleep ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint, 1145s # void *marshal_data) 1145s # { 1145s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1145s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1145s # } 1145s # 1145s # inline static void 1145s # com_acme_coyote_method_marshal_attack ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint, 1145s # void *marshal_data) 1145s # { 1145s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1145s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1145s # } 1145s # 1145s # 1145s # /** 1145s # * ComAcmeCoyote: 1145s # * 1145s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1145s # */ 1145s # 1145s # /** 1145s # * ComAcmeCoyoteIface: 1145s # * @parent_iface: The parent interface. 1145s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1145s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1145s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1145s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1145s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1145s # * 1145s # * Virtual table for the D-Bus interface com.acme.Coyote. 1145s # */ 1145s # 1145s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1145s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1145s # 1145s # static void 1145s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1145s # { 1145s # /* GObject signals for incoming D-Bus method calls: */ 1145s # /** 1145s # * ComAcmeCoyote::handle-run: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: A #GDBusMethodInvocation. 1145s # * 1145s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1145s # * 1145s # * 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. 1145s # * 1145s # * 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. 1145s # */ 1145s # g_signal_new ("handle-run", 1145s # G_TYPE_FROM_INTERFACE (iface), 1145s # G_SIGNAL_RUN_LAST, 1145s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1145s # g_signal_accumulator_true_handled, 1145s # NULL, 1145s # com_acme_coyote_method_marshal_run, 1145s # G_TYPE_BOOLEAN, 1145s # 1, 1145s # G_TYPE_DBUS_METHOD_INVOCATION); 1145s # 1145s # /** 1145s # * ComAcmeCoyote::handle-sleep: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: A #GDBusMethodInvocation. 1145s # * 1145s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1145s # * 1145s # * 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. 1145s # * 1145s # * 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. 1145s # */ 1145s # g_signal_new ("handle-sleep", 1145s # G_TYPE_FROM_INTERFACE (iface), 1145s # G_SIGNAL_RUN_LAST, 1145s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1145s # g_signal_accumulator_true_handled, 1145s # NULL, 1145s # com_acme_coyote_method_marshal_sleep, 1145s # G_TYPE_BOOLEAN, 1145s # 1, 1145s # G_TYPE_DBUS_METHOD_INVOCATION); 1145s # 1145s # /** 1145s # * ComAcmeCoyote::handle-attack: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: A #GDBusMethodInvocation. 1145s # * 1145s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1145s # * 1145s # * 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. 1145s # * 1145s # * 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. 1145s # */ 1145s # g_signal_new ("handle-attack", 1145s # G_TYPE_FROM_INTERFACE (iface), 1145s # G_SIGNAL_RUN_LAST, 1145s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1145s # g_signal_accumulator_true_handled, 1145s # NULL, 1145s # com_acme_coyote_method_marshal_attack, 1145s # G_TYPE_BOOLEAN, 1145s # 1, 1145s # G_TYPE_DBUS_METHOD_INVOCATION); 1145s # 1145s # /* GObject signals for received D-Bus signals: */ 1145s # /** 1145s # * ComAcmeCoyote::surprised: 1145s # * @object: A #ComAcmeCoyote. 1145s # * 1145s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1145s # * 1145s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1145s # */ 1145s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1145s # g_signal_new ("surprised", 1145s # G_TYPE_FROM_INTERFACE (iface), 1145s # G_SIGNAL_RUN_LAST, 1145s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1145s # NULL, 1145s # NULL, 1145s # com_acme_coyote_signal_marshal_surprised, 1145s # G_TYPE_NONE, 1145s # 0); 1145s # 1145s # /* GObject properties for D-Bus properties: */ 1145s # /** 1145s # * ComAcmeCoyote:mood: 1145s # * 1145s # * Represents the D-Bus property "Mood". 1145s # * 1145s # * 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. 1145s # */ 1145s # g_object_interface_install_property (iface, 1145s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_get_mood: (skip) 1145s # * @object: A #ComAcmeCoyote. 1145s # * 1145s # * Gets the value of the "Mood" D-Bus property. 1145s # * 1145s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1145s # * 1145s # * 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. 1145s # * 1145s # * 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. 1145s # */ 1145s # const gchar * 1145s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1145s # { 1145s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1145s # 1145s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_dup_mood: (skip) 1145s # * @object: A #ComAcmeCoyote. 1145s # * 1145s # * Gets a copy of the "Mood" D-Bus property. 1145s # * 1145s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1145s # * 1145s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1145s # */ 1145s # gchar * 1145s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1145s # { 1145s # gchar *value; 1145s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1145s # return value; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_set_mood: (skip) 1145s # * @object: A #ComAcmeCoyote. 1145s # * @value: The value to set. 1145s # * 1145s # * Sets the "Mood" D-Bus property to @value. 1145s # * 1145s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1145s # */ 1145s # void 1145s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1145s # { 1145s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_emit_surprised: 1145s # * @object: A #ComAcmeCoyote. 1145s # * 1145s # * Emits the "Surprised" D-Bus signal. 1145s # */ 1145s # void 1145s # com_acme_coyote_emit_surprised ( 1145s # ComAcmeCoyote *object) 1145s # { 1145s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_run: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1145s # * 1145s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1145s # */ 1145s # void 1145s # com_acme_coyote_call_run ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1145s # "Run", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # callback, 1145s # user_data); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_run_finish: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Finishes an operation started with com_acme_coyote_call_run(). 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_run_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_run_sync: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1145s # * 1145s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_run_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1145s # "Run", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_sleep: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1145s # * 1145s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1145s # */ 1145s # void 1145s # com_acme_coyote_call_sleep ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1145s # "Sleep", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # callback, 1145s # user_data); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_sleep_finish: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_sleep_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_sleep_sync: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1145s # * 1145s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_sleep_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1145s # "Sleep", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_attack: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1145s # * 1145s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1145s # */ 1145s # void 1145s # com_acme_coyote_call_attack ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1145s # "Attack", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # callback, 1145s # user_data); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_attack_finish: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Finishes an operation started with com_acme_coyote_call_attack(). 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_attack_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_attack_sync: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1145s # * 1145s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_attack_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1145s # "Attack", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_complete_run: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1145s # * 1145s # * 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. 1145s # * 1145s # * This method will free @invocation, you cannot use it afterwards. 1145s # */ 1145s # void 1145s # com_acme_coyote_complete_run ( 1145s # ComAcmeCoyote *object G_GNUC_UNUSED, 1145s # GDBusMethodInvocation *invocation) 1145s # { 1145s # g_dbus_method_invocation_return_value (invocation, 1145s # g_variant_new ("()")); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_complete_sleep: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1145s # * 1145s # * 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. 1145s # * 1145s # * This method will free @invocation, you cannot use it afterwards. 1145s # */ 1145s # void 1145s # com_acme_coyote_complete_sleep ( 1145s # ComAcmeCoyote *object G_GNUC_UNUSED, 1145s # GDBusMethodInvocation *invocation) 1145s # { 1145s # g_dbus_method_invocation_return_value (invocation, 1145s # g_variant_new ("()")); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_complete_attack: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1145s # * 1145s # * 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. 1145s # * 1145s # * This method will free @invocation, you cannot use it afterwards. 1145s # */ 1145s # void 1145s # com_acme_coyote_complete_attack ( 1145s # ComAcmeCoyote *object G_GNUC_UNUSED, 1145s # GDBusMethodInvocation *invocation) 1145s # { 1145s # g_dbus_method_invocation_return_value (invocation, 1145s # g_variant_new ("()")); 1145s # } 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # 1145s # /** 1145s # * ComAcmeCoyoteProxy: 1145s # * 1145s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1145s # */ 1145s # 1145s # /** 1145s # * ComAcmeCoyoteProxyClass: 1145s # * @parent_class: The parent class. 1145s # * 1145s # * Class structure for #ComAcmeCoyoteProxy. 1145s # */ 1145s # 1145s # struct _ComAcmeCoyoteProxyPrivate 1145s # { 1145s # GData *qdata; 1145s # }; 1145s # 1145s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1145s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1145s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1145s # 1145s # #else 1145s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1145s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1145s # 1145s # #endif 1145s # static void 1145s # com_acme_coyote_proxy_finalize (GObject *object) 1145s # { 1145s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1145s # g_datalist_clear (&proxy->priv->qdata); 1145s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_get_property (GObject *object, 1145s # guint prop_id, 1145s # GValue *value, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # const _ExtendedGDBusPropertyInfo *info; 1145s # GVariant *variant; 1145s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1145s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1145s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1145s # if (info->use_gvariant) 1145s # { 1145s # g_value_set_variant (value, variant); 1145s # } 1145s # else 1145s # { 1145s # if (variant != NULL) 1145s # g_dbus_gvariant_to_gvalue (variant, value); 1145s # } 1145s # if (variant != NULL) 1145s # g_variant_unref (variant); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1145s # GAsyncResult *res, 1145s # gpointer user_data) 1145s # { 1145s # const _ExtendedGDBusPropertyInfo *info = user_data; 1145s # GError *error; 1145s # GVariant *_ret; 1145s # error = NULL; 1145s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1145s # if (!_ret) 1145s # { 1145s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1145s # info->parent_struct.name, 1145s # error->message, g_quark_to_string (error->domain), error->code); 1145s # g_error_free (error); 1145s # } 1145s # else 1145s # { 1145s # g_variant_unref (_ret); 1145s # } 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_set_property (GObject *object, 1145s # guint prop_id, 1145s # const GValue *value, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # const _ExtendedGDBusPropertyInfo *info; 1145s # GVariant *variant; 1145s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1145s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1145s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1145s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1145s # "org.freedesktop.DBus.Properties.Set", 1145s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1145s # g_variant_unref (variant); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1145s # const gchar *sender_name G_GNUC_UNUSED, 1145s # const gchar *signal_name, 1145s # GVariant *parameters) 1145s # { 1145s # _ExtendedGDBusSignalInfo *info; 1145s # GVariantIter iter; 1145s # GVariant *child; 1145s # GValue *paramv; 1145s # gsize num_params; 1145s # gsize n; 1145s # guint signal_id; 1145s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1145s # if (info == NULL) 1145s # return; 1145s # num_params = g_variant_n_children (parameters); 1145s # paramv = g_new0 (GValue, num_params + 1); 1145s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1145s # g_value_set_object (¶mv[0], proxy); 1145s # g_variant_iter_init (&iter, parameters); 1145s # n = 1; 1145s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1145s # { 1145s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1145s # if (arg_info->use_gvariant) 1145s # { 1145s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1145s # g_value_set_variant (¶mv[n], child); 1145s # n++; 1145s # } 1145s # else 1145s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1145s # g_variant_unref (child); 1145s # } 1145s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1145s # g_signal_emitv (paramv, signal_id, 0, NULL); 1145s # for (n = 0; n < num_params + 1; n++) 1145s # g_value_unset (¶mv[n]); 1145s # g_free (paramv); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1145s # GVariant *changed_properties, 1145s # const gchar *const *invalidated_properties) 1145s # { 1145s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1145s # guint n; 1145s # const gchar *key; 1145s # GVariantIter *iter; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # g_variant_get (changed_properties, "a{sv}", &iter); 1145s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1145s # { 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1145s # g_datalist_remove_data (&proxy->priv->qdata, key); 1145s # if (info != NULL) 1145s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1145s # } 1145s # g_variant_iter_free (iter); 1145s # for (n = 0; invalidated_properties[n] != NULL; n++) 1145s # { 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1145s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1145s # if (info != NULL) 1145s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1145s # } 1145s # } 1145s # 1145s # static const gchar * 1145s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1145s # { 1145s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1145s # GVariant *variant; 1145s # const gchar *value = NULL; 1145s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1145s # if (variant != NULL) 1145s # { 1145s # value = g_variant_get_string (variant, NULL); 1145s # g_variant_unref (variant); 1145s # } 1145s # return value; 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1145s # { 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1145s # #else 1145s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1145s # #endif 1145s # 1145s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1145s # { 1145s # GObjectClass *gobject_class; 1145s # GDBusProxyClass *proxy_class; 1145s # 1145s # gobject_class = G_OBJECT_CLASS (klass); 1145s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1145s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1145s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1145s # 1145s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1145s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1145s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1145s # 1145s # com_acme_coyote_override_properties (gobject_class, 1); 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1145s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1145s # #endif 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1145s # { 1145s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new: 1145s # * @connection: A #GDBusConnection. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1145s # * 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1145s # * 1145s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1145s # */ 1145s # void 1145s # com_acme_coyote_proxy_new ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # 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); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new_finish: 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1145s # * 1145s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # ComAcmeCoyote * 1145s # com_acme_coyote_proxy_new_finish ( 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GObject *ret; 1145s # GObject *source_object; 1145s # source_object = g_async_result_get_source_object (res); 1145s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1145s # g_object_unref (source_object); 1145s # if (ret != NULL) 1145s # return COM_ACME_COYOTE (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new_sync: 1145s # * @connection: A #GDBusConnection. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1145s # * 1145s # * The calling thread is blocked until a reply is received. 1145s # * 1145s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1145s # * 1145s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # ComAcmeCoyote * 1145s # com_acme_coyote_proxy_new_sync ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GInitable *ret; 1145s # 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); 1145s # if (ret != NULL) 1145s # return COM_ACME_COYOTE (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new_for_bus: 1145s # * @bus_type: A #GBusType. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: A bus name (well-known or unique). 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1145s # * 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1145s # * 1145s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1145s # */ 1145s # void 1145s # com_acme_coyote_proxy_new_for_bus ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # 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); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new_for_bus_finish: 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1145s # * 1145s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # ComAcmeCoyote * 1145s # com_acme_coyote_proxy_new_for_bus_finish ( 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GObject *ret; 1145s # GObject *source_object; 1145s # source_object = g_async_result_get_source_object (res); 1145s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1145s # g_object_unref (source_object); 1145s # if (ret != NULL) 1145s # return COM_ACME_COYOTE (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new_for_bus_sync: 1145s # * @bus_type: A #GBusType. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: A bus name (well-known or unique). 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1145s # * 1145s # * The calling thread is blocked until a reply is received. 1145s # * 1145s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1145s # * 1145s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # ComAcmeCoyote * 1145s # com_acme_coyote_proxy_new_for_bus_sync ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GInitable *ret; 1145s # 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); 1145s # if (ret != NULL) 1145s # return COM_ACME_COYOTE (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # 1145s # /** 1145s # * ComAcmeCoyoteSkeleton: 1145s # * 1145s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1145s # */ 1145s # 1145s # /** 1145s # * ComAcmeCoyoteSkeletonClass: 1145s # * @parent_class: The parent class. 1145s # * 1145s # * Class structure for #ComAcmeCoyoteSkeleton. 1145s # */ 1145s # 1145s # struct _ComAcmeCoyoteSkeletonPrivate 1145s # { 1145s # GValue *properties; 1145s # GList *changed_properties; 1145s # GSource *changed_properties_idle_source; 1145s # GMainContext *context; 1145s # GMutex lock; 1145s # }; 1145s # 1145s # static void 1145s # _com_acme_coyote_skeleton_handle_method_call ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name, 1145s # const gchar *method_name, 1145s # GVariant *parameters, 1145s # GDBusMethodInvocation *invocation, 1145s # gpointer user_data) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1145s # _ExtendedGDBusMethodInfo *info; 1145s # GVariantIter iter; 1145s # GVariant *child; 1145s # GValue *paramv; 1145s # gsize num_params; 1145s # guint num_extra; 1145s # gsize n; 1145s # guint signal_id; 1145s # GValue return_value = G_VALUE_INIT; 1145s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1145s # g_assert (info != NULL); 1145s # num_params = g_variant_n_children (parameters); 1145s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1145s # n = 0; 1145s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1145s # g_value_set_object (¶mv[n++], skeleton); 1145s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1145s # g_value_set_object (¶mv[n++], invocation); 1145s # if (info->pass_fdlist) 1145s # { 1145s # #ifdef G_OS_UNIX 1145s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1145s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1145s # #else 1145s # g_assert_not_reached (); 1145s # #endif 1145s # } 1145s # g_variant_iter_init (&iter, parameters); 1145s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1145s # { 1145s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1145s # if (arg_info->use_gvariant) 1145s # { 1145s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1145s # g_value_set_variant (¶mv[n], child); 1145s # n++; 1145s # } 1145s # else 1145s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1145s # g_variant_unref (child); 1145s # } 1145s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1145s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1145s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1145s # if (!g_value_get_boolean (&return_value)) 1145s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1145s # g_value_unset (&return_value); 1145s # for (n = 0; n < num_params + num_extra; n++) 1145s # g_value_unset (¶mv[n]); 1145s # g_free (paramv); 1145s # } 1145s # 1145s # static GVariant * 1145s # _com_acme_coyote_skeleton_handle_get_property ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name G_GNUC_UNUSED, 1145s # const gchar *property_name, 1145s # GError **error, 1145s # gpointer user_data) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1145s # GValue value = G_VALUE_INIT; 1145s # GParamSpec *pspec; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # GVariant *ret; 1145s # ret = NULL; 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1145s # g_assert (info != NULL); 1145s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1145s # if (pspec == NULL) 1145s # { 1145s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1145s # } 1145s # else 1145s # { 1145s # g_value_init (&value, pspec->value_type); 1145s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1145s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1145s # g_value_unset (&value); 1145s # } 1145s # return ret; 1145s # } 1145s # 1145s # static gboolean 1145s # _com_acme_coyote_skeleton_handle_set_property ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name G_GNUC_UNUSED, 1145s # const gchar *property_name, 1145s # GVariant *variant, 1145s # GError **error, 1145s # gpointer user_data) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1145s # GValue value = G_VALUE_INIT; 1145s # GParamSpec *pspec; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # gboolean ret; 1145s # ret = FALSE; 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1145s # g_assert (info != NULL); 1145s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1145s # if (pspec == NULL) 1145s # { 1145s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1145s # } 1145s # else 1145s # { 1145s # if (info->use_gvariant) 1145s # g_value_set_variant (&value, variant); 1145s # else 1145s # g_dbus_gvariant_to_gvalue (variant, &value); 1145s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1145s # g_value_unset (&value); 1145s # ret = TRUE; 1145s # } 1145s # return ret; 1145s # } 1145s # 1145s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1145s # { 1145s # _com_acme_coyote_skeleton_handle_method_call, 1145s # _com_acme_coyote_skeleton_handle_get_property, 1145s # _com_acme_coyote_skeleton_handle_set_property, 1145s # {NULL} 1145s # }; 1145s # 1145s # static GDBusInterfaceInfo * 1145s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1145s # { 1145s # return com_acme_coyote_interface_info (); 1145s # } 1145s # 1145s # static GDBusInterfaceVTable * 1145s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1145s # { 1145s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1145s # } 1145s # 1145s # static GVariant * 1145s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1145s # 1145s # GVariantBuilder builder; 1145s # guint n; 1145s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1145s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1145s # goto out; 1145s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1145s # { 1145s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1145s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1145s # { 1145s # GVariant *value; 1145s # 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); 1145s # if (value != NULL) 1145s # { 1145s # g_variant_take_ref (value); 1145s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1145s # g_variant_unref (value); 1145s # } 1145s # } 1145s # } 1145s # out: 1145s # return g_variant_builder_end (&builder); 1145s # } 1145s # 1145s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1145s # gboolean emit_changed = FALSE; 1145s # 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # if (skeleton->priv->changed_properties_idle_source != NULL) 1145s # { 1145s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1145s # skeleton->priv->changed_properties_idle_source = NULL; 1145s # emit_changed = TRUE; 1145s # } 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # 1145s # if (emit_changed) 1145s # _com_acme_coyote_emit_changed (skeleton); 1145s # } 1145s # 1145s # static void 1145s # _com_acme_coyote_on_signal_surprised ( 1145s # ComAcmeCoyote *object) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # 1145s # GList *connections, *l; 1145s # GVariant *signal_variant; 1145s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1145s # 1145s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1145s # for (l = connections; l != NULL; l = l->next) 1145s # { 1145s # GDBusConnection *connection = l->data; 1145s # g_dbus_connection_emit_signal (connection, 1145s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1145s # signal_variant, NULL); 1145s # } 1145s # g_variant_unref (signal_variant); 1145s # g_list_free_full (connections, g_object_unref); 1145s # } 1145s # 1145s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1145s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1145s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1145s # 1145s # #else 1145s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1145s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1145s # 1145s # #endif 1145s # static void 1145s # com_acme_coyote_skeleton_finalize (GObject *object) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # guint n; 1145s # for (n = 0; n < 1; n++) 1145s # g_value_unset (&skeleton->priv->properties[n]); 1145s # g_free (skeleton->priv->properties); 1145s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1145s # if (skeleton->priv->changed_properties_idle_source != NULL) 1145s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1145s # g_main_context_unref (skeleton->priv->context); 1145s # g_mutex_clear (&skeleton->priv->lock); 1145s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_get_property (GObject *object, 1145s # guint prop_id, 1145s # GValue *value, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # } 1145s # 1145s # static gboolean 1145s # _com_acme_coyote_emit_changed (gpointer user_data) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1145s # GList *l; 1145s # GVariantBuilder builder; 1145s # GVariantBuilder invalidated_builder; 1145s # guint num_changes; 1145s # 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1145s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1145s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1145s # { 1145s # ChangedProperty *cp = l->data; 1145s # GVariant *variant; 1145s # const GValue *cur_value; 1145s # 1145s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1145s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1145s # { 1145s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1145s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1145s # g_variant_unref (variant); 1145s # num_changes++; 1145s # } 1145s # } 1145s # if (num_changes > 0) 1145s # { 1145s # GList *connections, *ll; 1145s # GVariant *signal_variant; 1145s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1145s # &builder, &invalidated_builder)); 1145s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1145s # for (ll = connections; ll != NULL; ll = ll->next) 1145s # { 1145s # GDBusConnection *connection = ll->data; 1145s # 1145s # g_dbus_connection_emit_signal (connection, 1145s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1145s # "org.freedesktop.DBus.Properties", 1145s # "PropertiesChanged", 1145s # signal_variant, 1145s # NULL); 1145s # } 1145s # g_variant_unref (signal_variant); 1145s # g_list_free_full (connections, g_object_unref); 1145s # } 1145s # else 1145s # { 1145s # g_variant_builder_clear (&builder); 1145s # g_variant_builder_clear (&invalidated_builder); 1145s # } 1145s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1145s # skeleton->priv->changed_properties = NULL; 1145s # skeleton->priv->changed_properties_idle_source = NULL; 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # return FALSE; 1145s # } 1145s # 1145s # static void 1145s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1145s # { 1145s # ChangedProperty *cp; 1145s # GList *l; 1145s # cp = NULL; 1145s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1145s # { 1145s # ChangedProperty *i_cp = l->data; 1145s # if (i_cp->info == info) 1145s # { 1145s # cp = i_cp; 1145s # break; 1145s # } 1145s # } 1145s # if (cp == NULL) 1145s # { 1145s # cp = g_new0 (ChangedProperty, 1); 1145s # cp->prop_id = prop_id; 1145s # cp->info = info; 1145s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1145s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1145s # g_value_copy (orig_value, &cp->orig_value); 1145s # } 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_notify (GObject *object, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # if (skeleton->priv->changed_properties != NULL && 1145s # skeleton->priv->changed_properties_idle_source == NULL) 1145s # { 1145s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1145s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1145s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1145s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1145s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1145s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1145s # } 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_set_property (GObject *object, 1145s # guint prop_id, 1145s # const GValue *value, 1145s # GParamSpec *pspec) 1145s # { 1145s # const _ExtendedGDBusPropertyInfo *info; 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1145s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # g_object_freeze_notify (object); 1145s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1145s # { 1145s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1145s # info->emits_changed_signal) 1145s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1145s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1145s # g_object_notify_by_pspec (object, pspec); 1145s # } 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # g_object_thaw_notify (object); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1145s # { 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1145s # #else 1145s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1145s # #endif 1145s # 1145s # g_mutex_init (&skeleton->priv->lock); 1145s # skeleton->priv->context = g_main_context_ref_thread_default (); 1145s # skeleton->priv->properties = g_new0 (GValue, 1); 1145s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1145s # } 1145s # 1145s # static const gchar * 1145s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # const gchar *value; 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # return value; 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1145s # { 1145s # GObjectClass *gobject_class; 1145s # GDBusInterfaceSkeletonClass *skeleton_class; 1145s # 1145s # gobject_class = G_OBJECT_CLASS (klass); 1145s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1145s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1145s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1145s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1145s # 1145s # 1145s # com_acme_coyote_override_properties (gobject_class, 1); 1145s # 1145s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1145s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1145s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1145s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1145s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1145s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1145s # #endif 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1145s # { 1145s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1145s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_skeleton_new: 1145s # * 1145s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1145s # * 1145s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1145s # */ 1145s # ComAcmeCoyote * 1145s # com_acme_coyote_skeleton_new (void) 1145s # { 1145s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1145s # } 1145s # 1145s # /* ------------------------------------------------------------------------ 1145s # * Code for interface org.project.Bar.Frobnicator 1145s # * ------------------------------------------------------------------------ 1145s # */ 1145s # 1145s # /** 1145s # * SECTION:OrgProjectBarFrobnicator 1145s # * @title: OrgProjectBarFrobnicator 1145s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1145s # * 1145s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1145s # */ 1145s # 1145s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1145s # 1145s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "RandomMethod", 1145s # NULL, 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "handle-random-method", 1145s # FALSE 1145s # }; 1145s # 1145s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1145s # { 1145s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1145s # NULL 1145s # }; 1145s # 1145s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "org.project.Bar.Frobnicator", 1145s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1145s # NULL, 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "org-project-bar-frobnicator", 1145s # }; 1145s # 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_interface_info: 1145s # * 1145s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1145s # * 1145s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1145s # */ 1145s # GDBusInterfaceInfo * 1145s # org_project_bar_frobnicator_interface_info (void) 1145s # { 1145s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_override_properties: 1145s # * @klass: The class structure for a #GObject derived class. 1145s # * @property_id_begin: The property id to assign to the first overridden property. 1145s # * 1145s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1145s # * The properties are overridden in the order they are defined. 1145s # * 1145s # * Returns: The last property id. 1145s # */ 1145s # guint 1145s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1145s # { 1145s # return property_id_begin - 1; 1145s # } 1145s # 1145s # 1145s # inline static void 1145s # org_project_bar_frobnicator_method_marshal_random_method ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint, 1145s # void *marshal_data) 1145s # { 1145s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1145s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1145s # } 1145s # 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicator: 1145s # * 1145s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1145s # */ 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicatorIface: 1145s # * @parent_iface: The parent interface. 1145s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1145s # * 1145s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1145s # */ 1145s # 1145s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1145s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1145s # { 1145s # /* GObject signals for incoming D-Bus method calls: */ 1145s # /** 1145s # * OrgProjectBarFrobnicator::handle-random-method: 1145s # * @object: A #OrgProjectBarFrobnicator. 1145s # * @invocation: A #GDBusMethodInvocation. 1145s # * 1145s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1145s # * 1145s # * 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. 1145s # * 1145s # * 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. 1145s # */ 1145s # g_signal_new ("handle-random-method", 1145s # G_TYPE_FROM_INTERFACE (iface), 1145s # G_SIGNAL_RUN_LAST, 1145s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1145s # g_signal_accumulator_true_handled, 1145s # NULL, 1145s # org_project_bar_frobnicator_method_marshal_random_method, 1145s # G_TYPE_BOOLEAN, 1145s # 1, 1145s # G_TYPE_DBUS_METHOD_INVOCATION); 1145s # 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_call_random_method: 1145s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1145s # * 1145s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1145s # */ 1145s # void 1145s # org_project_bar_frobnicator_call_random_method ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1145s # "RandomMethod", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # callback, 1145s # user_data); 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_call_random_method_finish: 1145s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # org_project_bar_frobnicator_call_random_method_finish ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_call_random_method_sync: 1145s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1145s # * 1145s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # org_project_bar_frobnicator_call_random_method_sync ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1145s # "RandomMethod", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_complete_random_method: 1145s # * @object: A #OrgProjectBarFrobnicator. 1145s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1145s # * 1145s # * 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. 1145s # * 1145s # * This method will free @invocation, you cannot use it afterwards. 1145s # */ 1145s # void 1145s # org_project_bar_frobnicator_complete_random_method ( 1145s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1145s # GDBusMethodInvocation *invocation) 1145s # { 1145s # g_dbus_method_invocation_return_value (invocation, 1145s # g_variant_new ("()")); 1145s # } 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicatorProxy: 1145s # * 1145s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1145s # */ 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicatorProxyClass: 1145s # * @parent_class: The parent class. 1145s # * 1145s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1145s # */ 1145s # 1145s # struct _OrgProjectBarFrobnicatorProxyPrivate 1145s # { 1145s # GData *qdata; 1145s # }; 1145s # 1145s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1145s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1145s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1145s # 1145s # #else 1145s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1145s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1145s # 1145s # #endif 1145s # static void 1145s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1145s # { 1145s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1145s # g_datalist_clear (&proxy->priv->qdata); 1145s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1145s # guint prop_id G_GNUC_UNUSED, 1145s # GValue *value G_GNUC_UNUSED, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1145s # guint prop_id G_GNUC_UNUSED, 1145s # const GValue *value G_GNUC_UNUSED, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1145s # const gchar *sender_name G_GNUC_UNUSED, 1145s # const gchar *signal_name, 1145s # GVariant *parameters) 1145s # { 1145s # _ExtendedGDBusSignalInfo *info; 1145s # GVariantIter iter; 1145s # GVariant *child; 1145s # GValue *paramv; 1145s # gsize num_params; 1145s # gsize n; 1145s # guint signal_id; 1145s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1145s # if (info == NULL) 1145s # return; 1145s # num_params = g_variant_n_children (parameters); 1145s # paramv = g_new0 (GValue, num_params + 1); 1145s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1145s # g_value_set_object (¶mv[0], proxy); 1145s # g_variant_iter_init (&iter, parameters); 1145s # n = 1; 1145s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1145s # { 1145s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1145s # if (arg_info->use_gvariant) 1145s # { 1145s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1145s # g_value_set_variant (¶mv[n], child); 1145s # n++; 1145s # } 1145s # else 1145s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1145s # g_variant_unref (child); 1145s # } 1145s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1145s # g_signal_emitv (paramv, signal_id, 0, NULL); 1145s # for (n = 0; n < num_params + 1; n++) 1145s # g_value_unset (¶mv[n]); 1145s # g_free (paramv); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1145s # GVariant *changed_properties, 1145s # const gchar *const *invalidated_properties) 1145s # { 1145s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1145s # guint n; 1145s # const gchar *key; 1145s # GVariantIter *iter; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # g_variant_get (changed_properties, "a{sv}", &iter); 1145s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1145s # { 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1145s # g_datalist_remove_data (&proxy->priv->qdata, key); 1145s # if (info != NULL) 1145s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1145s # } 1145s # g_variant_iter_free (iter); 1145s # for (n = 0; invalidated_properties[n] != NULL; n++) 1145s # { 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1145s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1145s # if (info != NULL) 1145s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1145s # } 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1145s # { 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1145s # #else 1145s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1145s # #endif 1145s # 1145s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1145s # { 1145s # GObjectClass *gobject_class; 1145s # GDBusProxyClass *proxy_class; 1145s # 1145s # gobject_class = G_OBJECT_CLASS (klass); 1145s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1145s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1145s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1145s # 1145s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1145s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1145s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1145s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1145s # #endif 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1145s # { 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new: 1145s # * @connection: A #GDBusConnection. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1145s # * 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1145s # * 1145s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1145s # */ 1145s # void 1145s # org_project_bar_frobnicator_proxy_new ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # 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); 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new_finish: 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1145s # * 1145s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # OrgProjectBarFrobnicator * 1145s # org_project_bar_frobnicator_proxy_new_finish ( 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GObject *ret; 1145s # GObject *source_object; 1145s # source_object = g_async_result_get_source_object (res); 1145s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1145s # g_object_unref (source_object); 1145s # if (ret != NULL) 1145s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new_sync: 1145s # * @connection: A #GDBusConnection. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1145s # * 1145s # * The calling thread is blocked until a reply is received. 1145s # * 1145s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1145s # * 1145s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # OrgProjectBarFrobnicator * 1145s # org_project_bar_frobnicator_proxy_new_sync ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GInitable *ret; 1145s # 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); 1145s # if (ret != NULL) 1145s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new_for_bus: 1145s # * @bus_type: A #GBusType. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: A bus name (well-known or unique). 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1145s # * 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1145s # * 1145s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1145s # */ 1145s # void 1145s # org_project_bar_frobnicator_proxy_new_for_bus ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # 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); 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1145s # * 1145s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # OrgProjectBarFrobnicator * 1145s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GObject *ret; 1145s # GObject *source_object; 1145s # source_object = g_async_result_get_source_object (res); 1145s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1145s # g_object_unref (source_object); 1145s # if (ret != NULL) 1145s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1145s # * @bus_type: A #GBusType. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: A bus name (well-known or unique). 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1145s # * 1145s # * The calling thread is blocked until a reply is received. 1145s # * 1145s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1145s # * 1145s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # OrgProjectBarFrobnicator * 1145s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GInitable *ret; 1145s # 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); 1145s # if (ret != NULL) 1145s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicatorSkeleton: 1145s # * 1145s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1145s # */ 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicatorSkeletonClass: 1145s # * @parent_class: The parent class. 1145s # * 1145s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1145s # */ 1145s # 1145s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1145s # { 1145s # GValue *properties; 1145s # GList *changed_properties; 1145s # GSource *changed_properties_idle_source; 1145s # GMainContext *context; 1145s # GMutex lock; 1145s # }; 1145s # 1145s # static void 1145s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name, 1145s # const gchar *method_name, 1145s # GVariant *parameters, 1145s # GDBusMethodInvocation *invocation, 1145s # gpointer user_data) 1145s # { 1145s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1145s # _ExtendedGDBusMethodInfo *info; 1145s # GVariantIter iter; 1145s # GVariant *child; 1145s # GValue *paramv; 1145s # gsize num_params; 1145s # guint num_extra; 1145s # gsize n; 1145s # guint signal_id; 1145s # GValue return_value = G_VALUE_INIT; 1145s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1145s # g_assert (info != NULL); 1145s # num_params = g_variant_n_children (parameters); 1145s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1145s # n = 0; 1145s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1145s # g_value_set_object (¶mv[n++], skeleton); 1145s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1145s # g_value_set_object (¶mv[n++], invocation); 1145s # if (info->pass_fdlist) 1145s # { 1145s # #ifdef G_OS_UNIX 1145s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1145s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1145s # #else 1145s # g_assert_not_reached (); 1145s # #endif 1145s # } 1145s # g_variant_iter_init (&iter, parameters); 1145s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1145s # { 1145s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1145s # if (arg_info->use_gvariant) 1145s # { 1145s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1145s # g_value_set_variant (¶mv[n], child); 1145s # n++; 1145s # } 1145s # else 1145s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1145s # g_variant_unref (child); 1145s # } 1145s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1145s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1145s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1145s # if (!g_value_get_boolean (&return_value)) 1145s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1145s # g_value_unset (&return_value); 1145s # for (n = 0; n < num_params + num_extra; n++) 1145s # g_value_unset (¶mv[n]); 1145s # g_free (paramv); 1145s # } 1145s # 1145s # static GVariant * 1145s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name G_GNUC_UNUSED, 1145s # const gchar *property_name, 1145s # GError **error, 1145s # gpointer user_data) 1145s # { 1145s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1145s # GValue value = G_VALUE_INIT; 1145s # GParamSpec *pspec; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # GVariant *ret; 1145s # ret = NULL; 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1145s # g_assert (info != NULL); 1145s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1145s # if (pspec == NULL) 1145s # { 1145s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1145s # } 1145s # else 1145s # { 1145s # g_value_init (&value, pspec->value_type); 1145s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1145s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1145s # g_value_unset (&value); 1145s # } 1145s # return ret; 1145s # } 1145s # 1145s # static gboolean 1145s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name G_GNUC_UNUSED, 1145s # const gchar *property_name, 1145s # GVariant *variant, 1145s # GError **error, 1145s # gpointer user_data) 1145s # { 1145s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1145s # GValue value = G_VALUE_INIT; 1145s # GParamSpec *pspec; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # gboolean ret; 1145s # ret = FALSE; 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1145s # g_assert (info != NULL); 1145s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1145s # if (pspec == NULL) 1145s # { 1145s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1145s # } 1145s # else 1145s # { 1145s # if (info->use_gvariant) 1145s # g_value_set_variant (&value, variant); 1145s # else 1145s # g_dbus_gvariant_to_gvalue (variant, &value); 1145s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1145s # g_value_unset (&value); 1145s # ret = TRUE; 1145s # } 1145s # return ret; 1145s # } 1145s # 1145s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1145s # { 1145s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1145s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1145s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1145s # {NULL} 1145s # }; 1145s # 1145s # static GDBusInterfaceInfo * 1145s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1145s # { 1145s # return org_project_bar_frobnicator_interface_info (); 1145s # } 1145s # 1145s # static GDBusInterfaceVTable * 1145s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1145s # { 1145s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1145s # } 1145s # 1145s # static GVariant * 1145s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1145s # { 1145s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1145s # 1145s # GVariantBuilder builder; 1145s # guint n; 1145s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1145s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1145s # goto out; 1145s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1145s # { 1145s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1145s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1145s # { 1145s # GVariant *value; 1145s # 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); 1145s # if (value != NULL) 1145s # { 1145s # g_variant_take_ref (value); 1145s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1145s # g_variant_unref (value); 1145s # } 1145s # } 1145s # } 1145s # out: 1145s # return g_variant_builder_end (&builder); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1145s # { 1145s # } 1145s # 1145s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1145s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1145s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1145s # 1145s # #else 1145s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1145s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1145s # 1145s # #endif 1145s # static void 1145s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1145s # { 1145s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1145s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1145s # if (skeleton->priv->changed_properties_idle_source != NULL) 1145s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1145s # g_main_context_unref (skeleton->priv->context); 1145s # g_mutex_clear (&skeleton->priv->lock); 1145s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1145s # { 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1145s # #else 1145s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1145s # #endif 1145s # 1145s # g_mutex_init (&skeleton->priv->lock); 1145s # skeleton->priv->context = g_main_context_ref_thread_default (); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1145s # { 1145s # GObjectClass *gobject_class; 1145s # GDBusInterfaceSkeletonClass *skeleton_class; 1145s # 1145s # gobject_class = G_OBJECT_CLASS (klass); 1145s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1145s # 1145s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1145s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1145s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1145s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1145s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1145s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1145s # #endif 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1145s # { 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_skeleton_new: 1145s # * 1145s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1145s # * 1145s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1145s # */ 1145s # OrgProjectBarFrobnicator * 1145s # org_project_bar_frobnicator_skeleton_new (void) 1145s # { 1145s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1145s # } 1145s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwz09t3wk/tmpxwy7ikh72.xml', '/tmp/tmpwz09t3wk/tmpf406s09e1.xml', '--output', '-', '--body'] 1145s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1145s # Output: /* 1145s # * This file is generated by gdbus-codegen, do not modify it. 1145s # * 1145s # * The license of this code is the same as for the D-Bus interface description 1145s # * it was derived from. Note that it links to GLib, so must comply with the 1145s # * LGPL linking clauses. 1145s # */ 1145s # 1145s # #ifdef HAVE_CONFIG_H 1145s # # include "config.h" 1145s # #endif 1145s # 1145s # #include 1145s # #ifdef G_OS_UNIX 1145s # # include 1145s # #endif 1145s # 1145s # #ifdef G_ENABLE_DEBUG 1145s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1145s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1145s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1145s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1145s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1145s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1145s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1145s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1145s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1145s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1145s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1145s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1145s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1145s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1145s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1145s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1145s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1145s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1145s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1145s # #else /* !G_ENABLE_DEBUG */ 1145s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1145s # * Do not access GValues directly in your code. Instead, use the 1145s # * g_value_get_*() functions 1145s # */ 1145s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1145s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1145s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1145s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1145s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1145s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1145s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1145s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1145s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1145s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1145s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1145s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1145s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1145s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1145s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1145s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1145s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1145s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1145s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1145s # #endif /* !G_ENABLE_DEBUG */ 1145s # 1145s # typedef struct 1145s # { 1145s # GDBusArgInfo parent_struct; 1145s # gboolean use_gvariant; 1145s # } _ExtendedGDBusArgInfo; 1145s # 1145s # typedef struct 1145s # { 1145s # GDBusMethodInfo parent_struct; 1145s # const gchar *signal_name; 1145s # gboolean pass_fdlist; 1145s # } _ExtendedGDBusMethodInfo; 1145s # 1145s # typedef struct 1145s # { 1145s # GDBusSignalInfo parent_struct; 1145s # const gchar *signal_name; 1145s # } _ExtendedGDBusSignalInfo; 1145s # 1145s # typedef struct 1145s # { 1145s # GDBusPropertyInfo parent_struct; 1145s # const gchar *hyphen_name; 1145s # guint use_gvariant : 1; 1145s # guint emits_changed_signal : 1; 1145s # } _ExtendedGDBusPropertyInfo; 1145s # 1145s # typedef struct 1145s # { 1145s # GDBusInterfaceInfo parent_struct; 1145s # const gchar *hyphen_name; 1145s # } _ExtendedGDBusInterfaceInfo; 1145s # 1145s # typedef struct 1145s # { 1145s # const _ExtendedGDBusPropertyInfo *info; 1145s # guint prop_id; 1145s # GValue orig_value; /* the value before the change */ 1145s # } ChangedProperty; 1145s # 1145s # static void 1145s # _changed_property_free (ChangedProperty *data) 1145s # { 1145s # g_value_unset (&data->orig_value); 1145s # g_free (data); 1145s # } 1145s # 1145s # static gboolean 1145s # _g_strv_equal0 (gchar **a, gchar **b) 1145s # { 1145s # gboolean ret = FALSE; 1145s # guint n; 1145s # if (a == NULL && b == NULL) 1145s # { 1145s # ret = TRUE; 1145s # goto out; 1145s # } 1145s # if (a == NULL || b == NULL) 1145s # goto out; 1145s # if (g_strv_length (a) != g_strv_length (b)) 1145s # goto out; 1145s # for (n = 0; a[n] != NULL; n++) 1145s # if (g_strcmp0 (a[n], b[n]) != 0) 1145s # goto out; 1145s # ret = TRUE; 1145s # out: 1145s # return ret; 1145s # } 1145s # 1145s # static gboolean 1145s # _g_variant_equal0 (GVariant *a, GVariant *b) 1145s # { 1145s # gboolean ret = FALSE; 1145s # if (a == NULL && b == NULL) 1145s # { 1145s # ret = TRUE; 1145s # goto out; 1145s # } 1145s # if (a == NULL || b == NULL) 1145s # goto out; 1145s # ret = g_variant_equal (a, b); 1145s # out: 1145s # return ret; 1145s # } 1145s # 1145s # G_GNUC_UNUSED static gboolean 1145s # _g_value_equal (const GValue *a, const GValue *b) 1145s # { 1145s # gboolean ret = FALSE; 1145s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1145s # switch (G_VALUE_TYPE (a)) 1145s # { 1145s # case G_TYPE_BOOLEAN: 1145s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1145s # break; 1145s # case G_TYPE_UCHAR: 1145s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1145s # break; 1145s # case G_TYPE_INT: 1145s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1145s # break; 1145s # case G_TYPE_UINT: 1145s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1145s # break; 1145s # case G_TYPE_INT64: 1145s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1145s # break; 1145s # case G_TYPE_UINT64: 1145s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1145s # break; 1145s # case G_TYPE_DOUBLE: 1145s # { 1145s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1145s # gdouble da = g_value_get_double (a); 1145s # gdouble db = g_value_get_double (b); 1145s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1145s # } 1145s # break; 1145s # case G_TYPE_STRING: 1145s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1145s # break; 1145s # case G_TYPE_VARIANT: 1145s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1145s # break; 1145s # default: 1145s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1145s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1145s # else 1145s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1145s # break; 1145s # } 1145s # return ret; 1145s # } 1145s # 1145s # static void 1145s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint G_GNUC_UNUSED, 1145s # void *marshal_data) 1145s # { 1145s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1145s # (void *data1, 1145s # GDBusMethodInvocation *arg_method_invocation, 1145s # void *data2); 1145s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1145s # GCClosure *cc = (GCClosure*) closure; 1145s # void *data1, *data2; 1145s # gboolean v_return; 1145s # 1145s # g_return_if_fail (return_value != NULL); 1145s # g_return_if_fail (n_param_values == 2); 1145s # 1145s # if (G_CCLOSURE_SWAP_DATA (closure)) 1145s # { 1145s # data1 = closure->data; 1145s # data2 = g_value_peek_pointer (param_values + 0); 1145s # } 1145s # else 1145s # { 1145s # data1 = g_value_peek_pointer (param_values + 0); 1145s # data2 = closure->data; 1145s # } 1145s # 1145s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1145s # (marshal_data ? marshal_data : cc->callback); 1145s # 1145s # v_return = 1145s # callback (data1, 1145s # g_marshal_value_peek_object (param_values + 1), 1145s # data2); 1145s # 1145s # g_value_set_boolean (return_value, v_return); 1145s # } 1145s # 1145s # /* ------------------------------------------------------------------------ 1145s # * Code for interface com.acme.Coyote 1145s # * ------------------------------------------------------------------------ 1145s # */ 1145s # 1145s # /** 1145s # * SECTION:ComAcmeCoyote 1145s # * @title: ComAcmeCoyote 1145s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1145s # * 1145s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1145s # */ 1145s # 1145s # enum 1145s # { 1145s # _COM_ACME_COYOTE_SURPRISED, 1145s # }; 1145s # 1145s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1145s # 1145s # /* ---- Introspection data for com.acme.Coyote ---- */ 1145s # 1145s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "Run", 1145s # NULL, 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "handle-run", 1145s # FALSE 1145s # }; 1145s # 1145s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "Sleep", 1145s # NULL, 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "handle-sleep", 1145s # FALSE 1145s # }; 1145s # 1145s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "Attack", 1145s # NULL, 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "handle-attack", 1145s # FALSE 1145s # }; 1145s # 1145s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1145s # { 1145s # &_com_acme_coyote_method_info_run.parent_struct, 1145s # &_com_acme_coyote_method_info_sleep.parent_struct, 1145s # &_com_acme_coyote_method_info_attack.parent_struct, 1145s # NULL 1145s # }; 1145s # 1145s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "Surprised", 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "surprised" 1145s # }; 1145s # 1145s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1145s # { 1145s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1145s # NULL 1145s # }; 1145s # 1145s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "Mood", 1145s # (gchar *) "s", 1145s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1145s # NULL 1145s # }, 1145s # "mood", 1145s # FALSE, 1145s # TRUE 1145s # }; 1145s # 1145s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1145s # { 1145s # &_com_acme_coyote_property_info_mood.parent_struct, 1145s # NULL 1145s # }; 1145s # 1145s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "com.acme.Coyote", 1145s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1145s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1145s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1145s # NULL 1145s # }, 1145s # "com-acme-coyote", 1145s # }; 1145s # 1145s # 1145s # /** 1145s # * com_acme_coyote_interface_info: 1145s # * 1145s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1145s # * 1145s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1145s # */ 1145s # GDBusInterfaceInfo * 1145s # com_acme_coyote_interface_info (void) 1145s # { 1145s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_override_properties: 1145s # * @klass: The class structure for a #GObject derived class. 1145s # * @property_id_begin: The property id to assign to the first overridden property. 1145s # * 1145s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1145s # * The properties are overridden in the order they are defined. 1145s # * 1145s # * Returns: The last property id. 1145s # */ 1145s # guint 1145s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1145s # { 1145s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1145s # return property_id_begin - 1; 1145s # } 1145s # 1145s # 1145s # inline static void 1145s # com_acme_coyote_signal_marshal_surprised ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint, 1145s # void *marshal_data) 1145s # { 1145s # g_cclosure_marshal_VOID__VOID (closure, 1145s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1145s # } 1145s # 1145s # inline static void 1145s # com_acme_coyote_method_marshal_run ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint, 1145s # void *marshal_data) 1145s # { 1145s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1145s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1145s # } 1145s # 1145s # inline static void 1145s # com_acme_coyote_method_marshal_sleep ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint, 1145s # void *marshal_data) 1145s # { 1145s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1145s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1145s # } 1145s # 1145s # inline static void 1145s # com_acme_coyote_method_marshal_attack ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint, 1145s # void *marshal_data) 1145s # { 1145s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1145s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1145s # } 1145s # 1145s # 1145s # /** 1145s # * ComAcmeCoyote: 1145s # * 1145s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1145s # */ 1145s # 1145s # /** 1145s # * ComAcmeCoyoteIface: 1145s # * @parent_iface: The parent interface. 1145s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1145s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1145s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1145s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1145s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1145s # * 1145s # * Virtual table for the D-Bus interface com.acme.Coyote. 1145s # */ 1145s # 1145s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1145s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1145s # 1145s # static void 1145s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1145s # { 1145s # /* GObject signals for incoming D-Bus method calls: */ 1145s # /** 1145s # * ComAcmeCoyote::handle-run: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: A #GDBusMethodInvocation. 1145s # * 1145s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1145s # * 1145s # * 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. 1145s # * 1145s # * 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. 1145s # */ 1145s # g_signal_new ("handle-run", 1145s # G_TYPE_FROM_INTERFACE (iface), 1145s # G_SIGNAL_RUN_LAST, 1145s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1145s # g_signal_accumulator_true_handled, 1145s # NULL, 1145s # com_acme_coyote_method_marshal_run, 1145s # G_TYPE_BOOLEAN, 1145s # 1, 1145s # G_TYPE_DBUS_METHOD_INVOCATION); 1145s # 1145s # /** 1145s # * ComAcmeCoyote::handle-sleep: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: A #GDBusMethodInvocation. 1145s # * 1145s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1145s # * 1145s # * 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. 1145s # * 1145s # * 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. 1145s # */ 1145s # g_signal_new ("handle-sleep", 1145s # G_TYPE_FROM_INTERFACE (iface), 1145s # G_SIGNAL_RUN_LAST, 1145s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1145s # g_signal_accumulator_true_handled, 1145s # NULL, 1145s # com_acme_coyote_method_marshal_sleep, 1145s # G_TYPE_BOOLEAN, 1145s # 1, 1145s # G_TYPE_DBUS_METHOD_INVOCATION); 1145s # 1145s # /** 1145s # * ComAcmeCoyote::handle-attack: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: A #GDBusMethodInvocation. 1145s # * 1145s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1145s # * 1145s # * 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. 1145s # * 1145s # * 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. 1145s # */ 1145s # g_signal_new ("handle-attack", 1145s # G_TYPE_FROM_INTERFACE (iface), 1145s # G_SIGNAL_RUN_LAST, 1145s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1145s # g_signal_accumulator_true_handled, 1145s # NULL, 1145s # com_acme_coyote_method_marshal_attack, 1145s # G_TYPE_BOOLEAN, 1145s # 1, 1145s # G_TYPE_DBUS_METHOD_INVOCATION); 1145s # 1145s # /* GObject signals for received D-Bus signals: */ 1145s # /** 1145s # * ComAcmeCoyote::surprised: 1145s # * @object: A #ComAcmeCoyote. 1145s # * 1145s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1145s # * 1145s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1145s # */ 1145s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1145s # g_signal_new ("surprised", 1145s # G_TYPE_FROM_INTERFACE (iface), 1145s # G_SIGNAL_RUN_LAST, 1145s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1145s # NULL, 1145s # NULL, 1145s # com_acme_coyote_signal_marshal_surprised, 1145s # G_TYPE_NONE, 1145s # 0); 1145s # 1145s # /* GObject properties for D-Bus properties: */ 1145s # /** 1145s # * ComAcmeCoyote:mood: 1145s # * 1145s # * Represents the D-Bus property "Mood". 1145s # * 1145s # * 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. 1145s # */ 1145s # g_object_interface_install_property (iface, 1145s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_get_mood: (skip) 1145s # * @object: A #ComAcmeCoyote. 1145s # * 1145s # * Gets the value of the "Mood" D-Bus property. 1145s # * 1145s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1145s # * 1145s # * 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. 1145s # * 1145s # * 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. 1145s # */ 1145s # const gchar * 1145s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1145s # { 1145s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1145s # 1145s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_dup_mood: (skip) 1145s # * @object: A #ComAcmeCoyote. 1145s # * 1145s # * Gets a copy of the "Mood" D-Bus property. 1145s # * 1145s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1145s # * 1145s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1145s # */ 1145s # gchar * 1145s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1145s # { 1145s # gchar *value; 1145s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1145s # return value; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_set_mood: (skip) 1145s # * @object: A #ComAcmeCoyote. 1145s # * @value: The value to set. 1145s # * 1145s # * Sets the "Mood" D-Bus property to @value. 1145s # * 1145s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1145s # */ 1145s # void 1145s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1145s # { 1145s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_emit_surprised: 1145s # * @object: A #ComAcmeCoyote. 1145s # * 1145s # * Emits the "Surprised" D-Bus signal. 1145s # */ 1145s # void 1145s # com_acme_coyote_emit_surprised ( 1145s # ComAcmeCoyote *object) 1145s # { 1145s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_run: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1145s # * 1145s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1145s # */ 1145s # void 1145s # com_acme_coyote_call_run ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1145s # "Run", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # callback, 1145s # user_data); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_run_finish: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Finishes an operation started with com_acme_coyote_call_run(). 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_run_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_run_sync: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1145s # * 1145s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_run_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1145s # "Run", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_sleep: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1145s # * 1145s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1145s # */ 1145s # void 1145s # com_acme_coyote_call_sleep ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1145s # "Sleep", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # callback, 1145s # user_data); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_sleep_finish: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_sleep_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_sleep_sync: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1145s # * 1145s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_sleep_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1145s # "Sleep", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_attack: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1145s # * 1145s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1145s # */ 1145s # void 1145s # com_acme_coyote_call_attack ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1145s # "Attack", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # callback, 1145s # user_data); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_attack_finish: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Finishes an operation started with com_acme_coyote_call_attack(). 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_attack_finish ( 1145s # ComAcmeCoyote *proxy, 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_call_attack_sync: 1145s # * @proxy: A #ComAcmeCoyoteProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1145s # * 1145s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # com_acme_coyote_call_attack_sync ( 1145s # ComAcmeCoyote *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1145s # "Attack", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_complete_run: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1145s # * 1145s # * 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. 1145s # * 1145s # * This method will free @invocation, you cannot use it afterwards. 1145s # */ 1145s # void 1145s # com_acme_coyote_complete_run ( 1145s # ComAcmeCoyote *object G_GNUC_UNUSED, 1145s # GDBusMethodInvocation *invocation) 1145s # { 1145s # g_dbus_method_invocation_return_value (invocation, 1145s # g_variant_new ("()")); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_complete_sleep: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1145s # * 1145s # * 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. 1145s # * 1145s # * This method will free @invocation, you cannot use it afterwards. 1145s # */ 1145s # void 1145s # com_acme_coyote_complete_sleep ( 1145s # ComAcmeCoyote *object G_GNUC_UNUSED, 1145s # GDBusMethodInvocation *invocation) 1145s # { 1145s # g_dbus_method_invocation_return_value (invocation, 1145s # g_variant_new ("()")); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_complete_attack: 1145s # * @object: A #ComAcmeCoyote. 1145s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1145s # * 1145s # * 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. 1145s # * 1145s # * This method will free @invocation, you cannot use it afterwards. 1145s # */ 1145s # void 1145s # com_acme_coyote_complete_attack ( 1145s # ComAcmeCoyote *object G_GNUC_UNUSED, 1145s # GDBusMethodInvocation *invocation) 1145s # { 1145s # g_dbus_method_invocation_return_value (invocation, 1145s # g_variant_new ("()")); 1145s # } 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # 1145s # /** 1145s # * ComAcmeCoyoteProxy: 1145s # * 1145s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1145s # */ 1145s # 1145s # /** 1145s # * ComAcmeCoyoteProxyClass: 1145s # * @parent_class: The parent class. 1145s # * 1145s # * Class structure for #ComAcmeCoyoteProxy. 1145s # */ 1145s # 1145s # struct _ComAcmeCoyoteProxyPrivate 1145s # { 1145s # GData *qdata; 1145s # }; 1145s # 1145s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1145s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1145s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1145s # 1145s # #else 1145s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1145s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1145s # 1145s # #endif 1145s # static void 1145s # com_acme_coyote_proxy_finalize (GObject *object) 1145s # { 1145s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1145s # g_datalist_clear (&proxy->priv->qdata); 1145s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_get_property (GObject *object, 1145s # guint prop_id, 1145s # GValue *value, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # const _ExtendedGDBusPropertyInfo *info; 1145s # GVariant *variant; 1145s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1145s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1145s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1145s # if (info->use_gvariant) 1145s # { 1145s # g_value_set_variant (value, variant); 1145s # } 1145s # else 1145s # { 1145s # if (variant != NULL) 1145s # g_dbus_gvariant_to_gvalue (variant, value); 1145s # } 1145s # if (variant != NULL) 1145s # g_variant_unref (variant); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1145s # GAsyncResult *res, 1145s # gpointer user_data) 1145s # { 1145s # const _ExtendedGDBusPropertyInfo *info = user_data; 1145s # GError *error; 1145s # GVariant *_ret; 1145s # error = NULL; 1145s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1145s # if (!_ret) 1145s # { 1145s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1145s # info->parent_struct.name, 1145s # error->message, g_quark_to_string (error->domain), error->code); 1145s # g_error_free (error); 1145s # } 1145s # else 1145s # { 1145s # g_variant_unref (_ret); 1145s # } 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_set_property (GObject *object, 1145s # guint prop_id, 1145s # const GValue *value, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # const _ExtendedGDBusPropertyInfo *info; 1145s # GVariant *variant; 1145s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1145s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1145s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1145s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1145s # "org.freedesktop.DBus.Properties.Set", 1145s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1145s # g_variant_unref (variant); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1145s # const gchar *sender_name G_GNUC_UNUSED, 1145s # const gchar *signal_name, 1145s # GVariant *parameters) 1145s # { 1145s # _ExtendedGDBusSignalInfo *info; 1145s # GVariantIter iter; 1145s # GVariant *child; 1145s # GValue *paramv; 1145s # gsize num_params; 1145s # gsize n; 1145s # guint signal_id; 1145s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1145s # if (info == NULL) 1145s # return; 1145s # num_params = g_variant_n_children (parameters); 1145s # paramv = g_new0 (GValue, num_params + 1); 1145s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1145s # g_value_set_object (¶mv[0], proxy); 1145s # g_variant_iter_init (&iter, parameters); 1145s # n = 1; 1145s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1145s # { 1145s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1145s # if (arg_info->use_gvariant) 1145s # { 1145s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1145s # g_value_set_variant (¶mv[n], child); 1145s # n++; 1145s # } 1145s # else 1145s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1145s # g_variant_unref (child); 1145s # } 1145s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1145s # g_signal_emitv (paramv, signal_id, 0, NULL); 1145s # for (n = 0; n < num_params + 1; n++) 1145s # g_value_unset (¶mv[n]); 1145s # g_free (paramv); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1145s # GVariant *changed_properties, 1145s # const gchar *const *invalidated_properties) 1145s # { 1145s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1145s # guint n; 1145s # const gchar *key; 1145s # GVariantIter *iter; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # g_variant_get (changed_properties, "a{sv}", &iter); 1145s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1145s # { 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1145s # g_datalist_remove_data (&proxy->priv->qdata, key); 1145s # if (info != NULL) 1145s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1145s # } 1145s # g_variant_iter_free (iter); 1145s # for (n = 0; invalidated_properties[n] != NULL; n++) 1145s # { 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1145s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1145s # if (info != NULL) 1145s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1145s # } 1145s # } 1145s # 1145s # static const gchar * 1145s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1145s # { 1145s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1145s # GVariant *variant; 1145s # const gchar *value = NULL; 1145s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1145s # if (variant != NULL) 1145s # { 1145s # value = g_variant_get_string (variant, NULL); 1145s # g_variant_unref (variant); 1145s # } 1145s # return value; 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1145s # { 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1145s # #else 1145s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1145s # #endif 1145s # 1145s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1145s # { 1145s # GObjectClass *gobject_class; 1145s # GDBusProxyClass *proxy_class; 1145s # 1145s # gobject_class = G_OBJECT_CLASS (klass); 1145s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1145s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1145s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1145s # 1145s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1145s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1145s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1145s # 1145s # com_acme_coyote_override_properties (gobject_class, 1); 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1145s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1145s # #endif 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1145s # { 1145s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new: 1145s # * @connection: A #GDBusConnection. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1145s # * 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1145s # * 1145s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1145s # */ 1145s # void 1145s # com_acme_coyote_proxy_new ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # 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); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new_finish: 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1145s # * 1145s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # ComAcmeCoyote * 1145s # com_acme_coyote_proxy_new_finish ( 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GObject *ret; 1145s # GObject *source_object; 1145s # source_object = g_async_result_get_source_object (res); 1145s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1145s # g_object_unref (source_object); 1145s # if (ret != NULL) 1145s # return COM_ACME_COYOTE (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new_sync: 1145s # * @connection: A #GDBusConnection. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1145s # * 1145s # * The calling thread is blocked until a reply is received. 1145s # * 1145s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1145s # * 1145s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # ComAcmeCoyote * 1145s # com_acme_coyote_proxy_new_sync ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GInitable *ret; 1145s # 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); 1145s # if (ret != NULL) 1145s # return COM_ACME_COYOTE (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new_for_bus: 1145s # * @bus_type: A #GBusType. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: A bus name (well-known or unique). 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1145s # * 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1145s # * 1145s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1145s # */ 1145s # void 1145s # com_acme_coyote_proxy_new_for_bus ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # 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); 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new_for_bus_finish: 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1145s # * 1145s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # ComAcmeCoyote * 1145s # com_acme_coyote_proxy_new_for_bus_finish ( 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GObject *ret; 1145s # GObject *source_object; 1145s # source_object = g_async_result_get_source_object (res); 1145s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1145s # g_object_unref (source_object); 1145s # if (ret != NULL) 1145s # return COM_ACME_COYOTE (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_proxy_new_for_bus_sync: 1145s # * @bus_type: A #GBusType. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: A bus name (well-known or unique). 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1145s # * 1145s # * The calling thread is blocked until a reply is received. 1145s # * 1145s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1145s # * 1145s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # ComAcmeCoyote * 1145s # com_acme_coyote_proxy_new_for_bus_sync ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GInitable *ret; 1145s # 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); 1145s # if (ret != NULL) 1145s # return COM_ACME_COYOTE (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # 1145s # /** 1145s # * ComAcmeCoyoteSkeleton: 1145s # * 1145s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1145s # */ 1145s # 1145s # /** 1145s # * ComAcmeCoyoteSkeletonClass: 1145s # * @parent_class: The parent class. 1145s # * 1145s # * Class structure for #ComAcmeCoyoteSkeleton. 1145s # */ 1145s # 1145s # struct _ComAcmeCoyoteSkeletonPrivate 1145s # { 1145s # GValue *properties; 1145s # GList *changed_properties; 1145s # GSource *changed_properties_idle_source; 1145s # GMainContext *context; 1145s # GMutex lock; 1145s # }; 1145s # 1145s # static void 1145s # _com_acme_coyote_skeleton_handle_method_call ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name, 1145s # const gchar *method_name, 1145s # GVariant *parameters, 1145s # GDBusMethodInvocation *invocation, 1145s # gpointer user_data) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1145s # _ExtendedGDBusMethodInfo *info; 1145s # GVariantIter iter; 1145s # GVariant *child; 1145s # GValue *paramv; 1145s # gsize num_params; 1145s # guint num_extra; 1145s # gsize n; 1145s # guint signal_id; 1145s # GValue return_value = G_VALUE_INIT; 1145s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1145s # g_assert (info != NULL); 1145s # num_params = g_variant_n_children (parameters); 1145s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1145s # n = 0; 1145s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1145s # g_value_set_object (¶mv[n++], skeleton); 1145s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1145s # g_value_set_object (¶mv[n++], invocation); 1145s # if (info->pass_fdlist) 1145s # { 1145s # #ifdef G_OS_UNIX 1145s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1145s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1145s # #else 1145s # g_assert_not_reached (); 1145s # #endif 1145s # } 1145s # g_variant_iter_init (&iter, parameters); 1145s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1145s # { 1145s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1145s # if (arg_info->use_gvariant) 1145s # { 1145s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1145s # g_value_set_variant (¶mv[n], child); 1145s # n++; 1145s # } 1145s # else 1145s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1145s # g_variant_unref (child); 1145s # } 1145s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1145s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1145s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1145s # if (!g_value_get_boolean (&return_value)) 1145s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1145s # g_value_unset (&return_value); 1145s # for (n = 0; n < num_params + num_extra; n++) 1145s # g_value_unset (¶mv[n]); 1145s # g_free (paramv); 1145s # } 1145s # 1145s # static GVariant * 1145s # _com_acme_coyote_skeleton_handle_get_property ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name G_GNUC_UNUSED, 1145s # const gchar *property_name, 1145s # GError **error, 1145s # gpointer user_data) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1145s # GValue value = G_VALUE_INIT; 1145s # GParamSpec *pspec; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # GVariant *ret; 1145s # ret = NULL; 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1145s # g_assert (info != NULL); 1145s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1145s # if (pspec == NULL) 1145s # { 1145s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1145s # } 1145s # else 1145s # { 1145s # g_value_init (&value, pspec->value_type); 1145s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1145s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1145s # g_value_unset (&value); 1145s # } 1145s # return ret; 1145s # } 1145s # 1145s # static gboolean 1145s # _com_acme_coyote_skeleton_handle_set_property ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name G_GNUC_UNUSED, 1145s # const gchar *property_name, 1145s # GVariant *variant, 1145s # GError **error, 1145s # gpointer user_data) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1145s # GValue value = G_VALUE_INIT; 1145s # GParamSpec *pspec; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # gboolean ret; 1145s # ret = FALSE; 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1145s # g_assert (info != NULL); 1145s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1145s # if (pspec == NULL) 1145s # { 1145s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1145s # } 1145s # else 1145s # { 1145s # if (info->use_gvariant) 1145s # g_value_set_variant (&value, variant); 1145s # else 1145s # g_dbus_gvariant_to_gvalue (variant, &value); 1145s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1145s # g_value_unset (&value); 1145s # ret = TRUE; 1145s # } 1145s # return ret; 1145s # } 1145s # 1145s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1145s # { 1145s # _com_acme_coyote_skeleton_handle_method_call, 1145s # _com_acme_coyote_skeleton_handle_get_property, 1145s # _com_acme_coyote_skeleton_handle_set_property, 1145s # {NULL} 1145s # }; 1145s # 1145s # static GDBusInterfaceInfo * 1145s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1145s # { 1145s # return com_acme_coyote_interface_info (); 1145s # } 1145s # 1145s # static GDBusInterfaceVTable * 1145s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1145s # { 1145s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1145s # } 1145s # 1145s # static GVariant * 1145s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1145s # 1145s # GVariantBuilder builder; 1145s # guint n; 1145s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1145s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1145s # goto out; 1145s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1145s # { 1145s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1145s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1145s # { 1145s # GVariant *value; 1145s # 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); 1145s # if (value != NULL) 1145s # { 1145s # g_variant_take_ref (value); 1145s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1145s # g_variant_unref (value); 1145s # } 1145s # } 1145s # } 1145s # out: 1145s # return g_variant_builder_end (&builder); 1145s # } 1145s # 1145s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1145s # gboolean emit_changed = FALSE; 1145s # 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # if (skeleton->priv->changed_properties_idle_source != NULL) 1145s # { 1145s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1145s # skeleton->priv->changed_properties_idle_source = NULL; 1145s # emit_changed = TRUE; 1145s # } 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # 1145s # if (emit_changed) 1145s # _com_acme_coyote_emit_changed (skeleton); 1145s # } 1145s # 1145s # static void 1145s # _com_acme_coyote_on_signal_surprised ( 1145s # ComAcmeCoyote *object) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # 1145s # GList *connections, *l; 1145s # GVariant *signal_variant; 1145s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1145s # 1145s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1145s # for (l = connections; l != NULL; l = l->next) 1145s # { 1145s # GDBusConnection *connection = l->data; 1145s # g_dbus_connection_emit_signal (connection, 1145s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1145s # signal_variant, NULL); 1145s # } 1145s # g_variant_unref (signal_variant); 1145s # g_list_free_full (connections, g_object_unref); 1145s # } 1145s # 1145s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1145s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1145s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1145s # 1145s # #else 1145s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1145s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1145s # 1145s # #endif 1145s # static void 1145s # com_acme_coyote_skeleton_finalize (GObject *object) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # guint n; 1145s # for (n = 0; n < 1; n++) 1145s # g_value_unset (&skeleton->priv->properties[n]); 1145s # g_free (skeleton->priv->properties); 1145s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1145s # if (skeleton->priv->changed_properties_idle_source != NULL) 1145s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1145s # g_main_context_unref (skeleton->priv->context); 1145s # g_mutex_clear (&skeleton->priv->lock); 1145s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_get_property (GObject *object, 1145s # guint prop_id, 1145s # GValue *value, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # } 1145s # 1145s # static gboolean 1145s # _com_acme_coyote_emit_changed (gpointer user_data) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1145s # GList *l; 1145s # GVariantBuilder builder; 1145s # GVariantBuilder invalidated_builder; 1145s # guint num_changes; 1145s # 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1145s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1145s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1145s # { 1145s # ChangedProperty *cp = l->data; 1145s # GVariant *variant; 1145s # const GValue *cur_value; 1145s # 1145s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1145s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1145s # { 1145s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1145s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1145s # g_variant_unref (variant); 1145s # num_changes++; 1145s # } 1145s # } 1145s # if (num_changes > 0) 1145s # { 1145s # GList *connections, *ll; 1145s # GVariant *signal_variant; 1145s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1145s # &builder, &invalidated_builder)); 1145s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1145s # for (ll = connections; ll != NULL; ll = ll->next) 1145s # { 1145s # GDBusConnection *connection = ll->data; 1145s # 1145s # g_dbus_connection_emit_signal (connection, 1145s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1145s # "org.freedesktop.DBus.Properties", 1145s # "PropertiesChanged", 1145s # signal_variant, 1145s # NULL); 1145s # } 1145s # g_variant_unref (signal_variant); 1145s # g_list_free_full (connections, g_object_unref); 1145s # } 1145s # else 1145s # { 1145s # g_variant_builder_clear (&builder); 1145s # g_variant_builder_clear (&invalidated_builder); 1145s # } 1145s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1145s # skeleton->priv->changed_properties = NULL; 1145s # skeleton->priv->changed_properties_idle_source = NULL; 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # return FALSE; 1145s # } 1145s # 1145s # static void 1145s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1145s # { 1145s # ChangedProperty *cp; 1145s # GList *l; 1145s # cp = NULL; 1145s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1145s # { 1145s # ChangedProperty *i_cp = l->data; 1145s # if (i_cp->info == info) 1145s # { 1145s # cp = i_cp; 1145s # break; 1145s # } 1145s # } 1145s # if (cp == NULL) 1145s # { 1145s # cp = g_new0 (ChangedProperty, 1); 1145s # cp->prop_id = prop_id; 1145s # cp->info = info; 1145s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1145s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1145s # g_value_copy (orig_value, &cp->orig_value); 1145s # } 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_notify (GObject *object, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # if (skeleton->priv->changed_properties != NULL && 1145s # skeleton->priv->changed_properties_idle_source == NULL) 1145s # { 1145s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1145s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1145s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1145s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1145s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1145s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1145s # } 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_set_property (GObject *object, 1145s # guint prop_id, 1145s # const GValue *value, 1145s # GParamSpec *pspec) 1145s # { 1145s # const _ExtendedGDBusPropertyInfo *info; 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1145s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # g_object_freeze_notify (object); 1145s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1145s # { 1145s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1145s # info->emits_changed_signal) 1145s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1145s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1145s # g_object_notify_by_pspec (object, pspec); 1145s # } 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # g_object_thaw_notify (object); 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1145s # { 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1145s # #else 1145s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1145s # #endif 1145s # 1145s # g_mutex_init (&skeleton->priv->lock); 1145s # skeleton->priv->context = g_main_context_ref_thread_default (); 1145s # skeleton->priv->properties = g_new0 (GValue, 1); 1145s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1145s # } 1145s # 1145s # static const gchar * 1145s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1145s # { 1145s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1145s # const gchar *value; 1145s # g_mutex_lock (&skeleton->priv->lock); 1145s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1145s # g_mutex_unlock (&skeleton->priv->lock); 1145s # return value; 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1145s # { 1145s # GObjectClass *gobject_class; 1145s # GDBusInterfaceSkeletonClass *skeleton_class; 1145s # 1145s # gobject_class = G_OBJECT_CLASS (klass); 1145s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1145s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1145s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1145s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1145s # 1145s # 1145s # com_acme_coyote_override_properties (gobject_class, 1); 1145s # 1145s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1145s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1145s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1145s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1145s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1145s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1145s # #endif 1145s # } 1145s # 1145s # static void 1145s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1145s # { 1145s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1145s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1145s # } 1145s # 1145s # /** 1145s # * com_acme_coyote_skeleton_new: 1145s # * 1145s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1145s # * 1145s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1145s # */ 1145s # ComAcmeCoyote * 1145s # com_acme_coyote_skeleton_new (void) 1145s # { 1145s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1145s # } 1145s # 1145s # /* ------------------------------------------------------------------------ 1145s # * Code for interface org.project.Bar.Frobnicator 1145s # * ------------------------------------------------------------------------ 1145s # */ 1145s # 1145s # /** 1145s # * SECTION:OrgProjectBarFrobnicator 1145s # * @title: OrgProjectBarFrobnicator 1145s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1145s # * 1145s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1145s # */ 1145s # 1145s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1145s # 1145s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "RandomMethod", 1145s # NULL, 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "handle-random-method", 1145s # FALSE 1145s # }; 1145s # 1145s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1145s # { 1145s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1145s # NULL 1145s # }; 1145s # 1145s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1145s # { 1145s # { 1145s # -1, 1145s # (gchar *) "org.project.Bar.Frobnicator", 1145s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1145s # NULL, 1145s # NULL, 1145s # NULL 1145s # }, 1145s # "org-project-bar-frobnicator", 1145s # }; 1145s # 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_interface_info: 1145s # * 1145s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1145s # * 1145s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1145s # */ 1145s # GDBusInterfaceInfo * 1145s # org_project_bar_frobnicator_interface_info (void) 1145s # { 1145s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_override_properties: 1145s # * @klass: The class structure for a #GObject derived class. 1145s # * @property_id_begin: The property id to assign to the first overridden property. 1145s # * 1145s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1145s # * The properties are overridden in the order they are defined. 1145s # * 1145s # * Returns: The last property id. 1145s # */ 1145s # guint 1145s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1145s # { 1145s # return property_id_begin - 1; 1145s # } 1145s # 1145s # 1145s # inline static void 1145s # org_project_bar_frobnicator_method_marshal_random_method ( 1145s # GClosure *closure, 1145s # GValue *return_value, 1145s # unsigned int n_param_values, 1145s # const GValue *param_values, 1145s # void *invocation_hint, 1145s # void *marshal_data) 1145s # { 1145s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1145s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1145s # } 1145s # 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicator: 1145s # * 1145s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1145s # */ 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicatorIface: 1145s # * @parent_iface: The parent interface. 1145s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1145s # * 1145s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1145s # */ 1145s # 1145s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1145s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1145s # { 1145s # /* GObject signals for incoming D-Bus method calls: */ 1145s # /** 1145s # * OrgProjectBarFrobnicator::handle-random-method: 1145s # * @object: A #OrgProjectBarFrobnicator. 1145s # * @invocation: A #GDBusMethodInvocation. 1145s # * 1145s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1145s # * 1145s # * 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. 1145s # * 1145s # * 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. 1145s # */ 1145s # g_signal_new ("handle-random-method", 1145s # G_TYPE_FROM_INTERFACE (iface), 1145s # G_SIGNAL_RUN_LAST, 1145s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1145s # g_signal_accumulator_true_handled, 1145s # NULL, 1145s # org_project_bar_frobnicator_method_marshal_random_method, 1145s # G_TYPE_BOOLEAN, 1145s # 1, 1145s # G_TYPE_DBUS_METHOD_INVOCATION); 1145s # 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_call_random_method: 1145s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1145s # * 1145s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1145s # */ 1145s # void 1145s # org_project_bar_frobnicator_call_random_method ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1145s # "RandomMethod", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # callback, 1145s # user_data); 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_call_random_method_finish: 1145s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # org_project_bar_frobnicator_call_random_method_finish ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_call_random_method_sync: 1145s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL. 1145s # * 1145s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1145s # * 1145s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1145s # * 1145s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1145s # */ 1145s # gboolean 1145s # org_project_bar_frobnicator_call_random_method_sync ( 1145s # OrgProjectBarFrobnicator *proxy, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GVariant *_ret; 1145s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1145s # "RandomMethod", 1145s # g_variant_new ("()"), 1145s # G_DBUS_CALL_FLAGS_NONE, 1145s # -1, 1145s # cancellable, 1145s # error); 1145s # if (_ret == NULL) 1145s # goto _out; 1145s # g_variant_get (_ret, 1145s # "()"); 1145s # g_variant_unref (_ret); 1145s # _out: 1145s # return _ret != NULL; 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_complete_random_method: 1145s # * @object: A #OrgProjectBarFrobnicator. 1145s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1145s # * 1145s # * 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. 1145s # * 1145s # * This method will free @invocation, you cannot use it afterwards. 1145s # */ 1145s # void 1145s # org_project_bar_frobnicator_complete_random_method ( 1145s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1145s # GDBusMethodInvocation *invocation) 1145s # { 1145s # g_dbus_method_invocation_return_value (invocation, 1145s # g_variant_new ("()")); 1145s # } 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicatorProxy: 1145s # * 1145s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1145s # */ 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicatorProxyClass: 1145s # * @parent_class: The parent class. 1145s # * 1145s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1145s # */ 1145s # 1145s # struct _OrgProjectBarFrobnicatorProxyPrivate 1145s # { 1145s # GData *qdata; 1145s # }; 1145s # 1145s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1145s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1145s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1145s # 1145s # #else 1145s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1145s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1145s # 1145s # #endif 1145s # static void 1145s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1145s # { 1145s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1145s # g_datalist_clear (&proxy->priv->qdata); 1145s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1145s # guint prop_id G_GNUC_UNUSED, 1145s # GValue *value G_GNUC_UNUSED, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1145s # guint prop_id G_GNUC_UNUSED, 1145s # const GValue *value G_GNUC_UNUSED, 1145s # GParamSpec *pspec G_GNUC_UNUSED) 1145s # { 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1145s # const gchar *sender_name G_GNUC_UNUSED, 1145s # const gchar *signal_name, 1145s # GVariant *parameters) 1145s # { 1145s # _ExtendedGDBusSignalInfo *info; 1145s # GVariantIter iter; 1145s # GVariant *child; 1145s # GValue *paramv; 1145s # gsize num_params; 1145s # gsize n; 1145s # guint signal_id; 1145s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1145s # if (info == NULL) 1145s # return; 1145s # num_params = g_variant_n_children (parameters); 1145s # paramv = g_new0 (GValue, num_params + 1); 1145s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1145s # g_value_set_object (¶mv[0], proxy); 1145s # g_variant_iter_init (&iter, parameters); 1145s # n = 1; 1145s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1145s # { 1145s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1145s # if (arg_info->use_gvariant) 1145s # { 1145s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1145s # g_value_set_variant (¶mv[n], child); 1145s # n++; 1145s # } 1145s # else 1145s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1145s # g_variant_unref (child); 1145s # } 1145s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1145s # g_signal_emitv (paramv, signal_id, 0, NULL); 1145s # for (n = 0; n < num_params + 1; n++) 1145s # g_value_unset (¶mv[n]); 1145s # g_free (paramv); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1145s # GVariant *changed_properties, 1145s # const gchar *const *invalidated_properties) 1145s # { 1145s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1145s # guint n; 1145s # const gchar *key; 1145s # GVariantIter *iter; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # g_variant_get (changed_properties, "a{sv}", &iter); 1145s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1145s # { 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1145s # g_datalist_remove_data (&proxy->priv->qdata, key); 1145s # if (info != NULL) 1145s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1145s # } 1145s # g_variant_iter_free (iter); 1145s # for (n = 0; invalidated_properties[n] != NULL; n++) 1145s # { 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1145s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1145s # if (info != NULL) 1145s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1145s # } 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1145s # { 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1145s # #else 1145s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1145s # #endif 1145s # 1145s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1145s # { 1145s # GObjectClass *gobject_class; 1145s # GDBusProxyClass *proxy_class; 1145s # 1145s # gobject_class = G_OBJECT_CLASS (klass); 1145s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1145s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1145s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1145s # 1145s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1145s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1145s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1145s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1145s # #endif 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1145s # { 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new: 1145s # * @connection: A #GDBusConnection. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1145s # * 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1145s # * 1145s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1145s # */ 1145s # void 1145s # org_project_bar_frobnicator_proxy_new ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # 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); 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new_finish: 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1145s # * 1145s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # OrgProjectBarFrobnicator * 1145s # org_project_bar_frobnicator_proxy_new_finish ( 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GObject *ret; 1145s # GObject *source_object; 1145s # source_object = g_async_result_get_source_object (res); 1145s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1145s # g_object_unref (source_object); 1145s # if (ret != NULL) 1145s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new_sync: 1145s # * @connection: A #GDBusConnection. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1145s # * 1145s # * The calling thread is blocked until a reply is received. 1145s # * 1145s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1145s # * 1145s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # OrgProjectBarFrobnicator * 1145s # org_project_bar_frobnicator_proxy_new_sync ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GInitable *ret; 1145s # 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); 1145s # if (ret != NULL) 1145s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new_for_bus: 1145s # * @bus_type: A #GBusType. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: A bus name (well-known or unique). 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1145s # * @user_data: User data to pass to @callback. 1145s # * 1145s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1145s # * 1145s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1145s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1145s # * 1145s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1145s # */ 1145s # void 1145s # org_project_bar_frobnicator_proxy_new_for_bus ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data) 1145s # { 1145s # 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); 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1145s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1145s # * 1145s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # OrgProjectBarFrobnicator * 1145s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1145s # GAsyncResult *res, 1145s # GError **error) 1145s # { 1145s # GObject *ret; 1145s # GObject *source_object; 1145s # source_object = g_async_result_get_source_object (res); 1145s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1145s # g_object_unref (source_object); 1145s # if (ret != NULL) 1145s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1145s # * @bus_type: A #GBusType. 1145s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1145s # * @name: A bus name (well-known or unique). 1145s # * @object_path: An object path. 1145s # * @cancellable: (nullable): A #GCancellable or %NULL. 1145s # * @error: Return location for error or %NULL 1145s # * 1145s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1145s # * 1145s # * The calling thread is blocked until a reply is received. 1145s # * 1145s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1145s # * 1145s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1145s # */ 1145s # OrgProjectBarFrobnicator * 1145s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error) 1145s # { 1145s # GInitable *ret; 1145s # 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); 1145s # if (ret != NULL) 1145s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1145s # else 1145s # return NULL; 1145s # } 1145s # 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicatorSkeleton: 1145s # * 1145s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1145s # */ 1145s # 1145s # /** 1145s # * OrgProjectBarFrobnicatorSkeletonClass: 1145s # * @parent_class: The parent class. 1145s # * 1145s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1145s # */ 1145s # 1145s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1145s # { 1145s # GValue *properties; 1145s # GList *changed_properties; 1145s # GSource *changed_properties_idle_source; 1145s # GMainContext *context; 1145s # GMutex lock; 1145s # }; 1145s # 1145s # static void 1145s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name, 1145s # const gchar *method_name, 1145s # GVariant *parameters, 1145s # GDBusMethodInvocation *invocation, 1145s # gpointer user_data) 1145s # { 1145s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1145s # _ExtendedGDBusMethodInfo *info; 1145s # GVariantIter iter; 1145s # GVariant *child; 1145s # GValue *paramv; 1145s # gsize num_params; 1145s # guint num_extra; 1145s # gsize n; 1145s # guint signal_id; 1145s # GValue return_value = G_VALUE_INIT; 1145s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1145s # g_assert (info != NULL); 1145s # num_params = g_variant_n_children (parameters); 1145s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1145s # n = 0; 1145s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1145s # g_value_set_object (¶mv[n++], skeleton); 1145s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1145s # g_value_set_object (¶mv[n++], invocation); 1145s # if (info->pass_fdlist) 1145s # { 1145s # #ifdef G_OS_UNIX 1145s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1145s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1145s # #else 1145s # g_assert_not_reached (); 1145s # #endif 1145s # } 1145s # g_variant_iter_init (&iter, parameters); 1145s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1145s # { 1145s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1145s # if (arg_info->use_gvariant) 1145s # { 1145s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1145s # g_value_set_variant (¶mv[n], child); 1145s # n++; 1145s # } 1145s # else 1145s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1145s # g_variant_unref (child); 1145s # } 1145s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1145s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1145s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1145s # if (!g_value_get_boolean (&return_value)) 1145s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1145s # g_value_unset (&return_value); 1145s # for (n = 0; n < num_params + num_extra; n++) 1145s # g_value_unset (¶mv[n]); 1145s # g_free (paramv); 1145s # } 1145s # 1145s # static GVariant * 1145s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name G_GNUC_UNUSED, 1145s # const gchar *property_name, 1145s # GError **error, 1145s # gpointer user_data) 1145s # { 1145s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1145s # GValue value = G_VALUE_INIT; 1145s # GParamSpec *pspec; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # GVariant *ret; 1145s # ret = NULL; 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1145s # g_assert (info != NULL); 1145s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1145s # if (pspec == NULL) 1145s # { 1145s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1145s # } 1145s # else 1145s # { 1145s # g_value_init (&value, pspec->value_type); 1145s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1145s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1145s # g_value_unset (&value); 1145s # } 1145s # return ret; 1145s # } 1145s # 1145s # static gboolean 1145s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1145s # GDBusConnection *connection G_GNUC_UNUSED, 1145s # const gchar *sender G_GNUC_UNUSED, 1145s # const gchar *object_path G_GNUC_UNUSED, 1145s # const gchar *interface_name G_GNUC_UNUSED, 1145s # const gchar *property_name, 1145s # GVariant *variant, 1145s # GError **error, 1145s # gpointer user_data) 1145s # { 1145s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1145s # GValue value = G_VALUE_INIT; 1145s # GParamSpec *pspec; 1145s # _ExtendedGDBusPropertyInfo *info; 1145s # gboolean ret; 1145s # ret = FALSE; 1145s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1145s # g_assert (info != NULL); 1145s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1145s # if (pspec == NULL) 1145s # { 1145s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1145s # } 1145s # else 1145s # { 1145s # if (info->use_gvariant) 1145s # g_value_set_variant (&value, variant); 1145s # else 1145s # g_dbus_gvariant_to_gvalue (variant, &value); 1145s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1145s # g_value_unset (&value); 1145s # ret = TRUE; 1145s # } 1145s # return ret; 1145s # } 1145s # 1145s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1145s # { 1145s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1145s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1145s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1145s # {NULL} 1145s # }; 1145s # 1145s # static GDBusInterfaceInfo * 1145s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1145s # { 1145s # return org_project_bar_frobnicator_interface_info (); 1145s # } 1145s # 1145s # static GDBusInterfaceVTable * 1145s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1145s # { 1145s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1145s # } 1145s # 1145s # static GVariant * 1145s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1145s # { 1145s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1145s # 1145s # GVariantBuilder builder; 1145s # guint n; 1145s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1145s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1145s # goto out; 1145s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1145s # { 1145s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1145s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1145s # { 1145s # GVariant *value; 1145s # 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); 1145s # if (value != NULL) 1145s # { 1145s # g_variant_take_ref (value); 1145s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1145s # g_variant_unref (value); 1145s # } 1145s # } 1145s # } 1145s # out: 1145s # return g_variant_builder_end (&builder); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1145s # { 1145s # } 1145s # 1145s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1145s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1145s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1145s # 1145s # #else 1145s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1145s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1145s # 1145s # #endif 1145s # static void 1145s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1145s # { 1145s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1145s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1145s # if (skeleton->priv->changed_properties_idle_source != NULL) 1145s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1145s # g_main_context_unref (skeleton->priv->context); 1145s # g_mutex_clear (&skeleton->priv->lock); 1145s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1145s # { 1145s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1145s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1145s # #else 1145s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1145s # #endif 1145s # 1145s # g_mutex_init (&skeleton->priv->lock); 1145s # skeleton->priv->context = g_main_context_ref_thread_default (); 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1145s # { 1145s # GObjectClass *gobject_class; 1145s # GDBusInterfaceSkeletonClass *skeleton_class; 1145s # 1145s # gobject_class = G_OBJECT_CLASS (klass); 1145s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1145s # 1145s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1145s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1145s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1145s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1145s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1145s # 1145s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1145s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1145s # #endif 1145s # } 1145s # 1145s # static void 1145s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1145s # { 1145s # } 1145s # 1145s # /** 1145s # * org_project_bar_frobnicator_skeleton_new: 1145s # * 1145s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1145s # * 1145s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1145s # */ 1145s # OrgProjectBarFrobnicator * 1145s # org_project_bar_frobnicator_skeleton_new (void) 1145s # { 1145s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1145s # } 1145s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1145s # tmpdir: /tmp/tmpphn3cabb 1145s # codegen: /usr/bin/gdbus-codegen 1145s # /tmp/tmpphn3cabb/tmp3yz2bh3e.xml: 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpphn3cabb/tmp3yz2bh3e.xml', '--output', '-', '--header'] 1145s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1145s # Output: /* 1145s # * This file is generated by gdbus-codegen, do not modify it. 1145s # * 1145s # * The license of this code is the same as for the D-Bus interface description 1145s # * it was derived from. Note that it links to GLib, so must comply with the 1145s # * LGPL linking clauses. 1145s # */ 1145s # 1145s # #ifndef __STDOUT__ 1145s # #define __STDOUT__ 1145s # 1145s # #include 1145s # 1145s # G_BEGIN_DECLS 1145s # 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # /* Declarations for FDPassing */ 1145s # 1145s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1145s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1145s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1145s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1145s # 1145s # struct _FDPassing; 1145s # typedef struct _FDPassing FDPassing; 1145s # typedef struct _FDPassingIface FDPassingIface; 1145s # 1145s # struct _FDPassingIface 1145s # { 1145s # GTypeInterface parent_iface; 1145s # 1145s # gboolean (*handle_hello_fd) ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GUnixFDList *fd_list, 1145s # const gchar *arg_greeting); 1145s # 1145s # gboolean (*handle_no_annotation) ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GVariant *arg_greeting, 1145s # const gchar *arg_greeting_locale); 1145s # 1145s # gboolean (*handle_no_annotation_nested) ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GVariant *arg_files); 1145s # 1145s # }; 1145s # 1145s # GType fdpassing_get_type (void) G_GNUC_CONST; 1145s # 1145s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1145s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1145s # 1145s # 1145s # /* D-Bus method call completion functions: */ 1145s # void fdpassing_complete_hello_fd ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GUnixFDList *fd_list, 1145s # const gchar *response); 1145s # 1145s # void fdpassing_complete_no_annotation ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GVariant *response, 1145s # const gchar *response_locale); 1145s # 1145s # void fdpassing_complete_no_annotation_nested ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # 1145s # 1145s # /* D-Bus method calls: */ 1145s # void fdpassing_call_hello_fd ( 1145s # FDPassing *proxy, 1145s # const gchar *arg_greeting, 1145s # GUnixFDList *fd_list, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean fdpassing_call_hello_fd_finish ( 1145s # FDPassing *proxy, 1145s # gchar **out_response, 1145s # GUnixFDList **out_fd_list, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean fdpassing_call_hello_fd_sync ( 1145s # FDPassing *proxy, 1145s # const gchar *arg_greeting, 1145s # GUnixFDList *fd_list, 1145s # gchar **out_response, 1145s # GUnixFDList **out_fd_list, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void fdpassing_call_no_annotation ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_greeting, 1145s # const gchar *arg_greeting_locale, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean fdpassing_call_no_annotation_finish ( 1145s # FDPassing *proxy, 1145s # GVariant **out_response, 1145s # gchar **out_response_locale, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean fdpassing_call_no_annotation_sync ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_greeting, 1145s # const gchar *arg_greeting_locale, 1145s # GVariant **out_response, 1145s # gchar **out_response_locale, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void fdpassing_call_no_annotation_nested ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_files, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean fdpassing_call_no_annotation_nested_finish ( 1145s # FDPassing *proxy, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean fdpassing_call_no_annotation_nested_sync ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_files, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1145s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1145s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1145s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1145s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1145s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1145s # 1145s # typedef struct _FDPassingProxy FDPassingProxy; 1145s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1145s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1145s # 1145s # struct _FDPassingProxy 1145s # { 1145s # /*< private >*/ 1145s # GDBusProxy parent_instance; 1145s # FDPassingProxyPrivate *priv; 1145s # }; 1145s # 1145s # struct _FDPassingProxyClass 1145s # { 1145s # GDBusProxyClass parent_class; 1145s # }; 1145s # 1145s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1145s # #endif 1145s # 1145s # void fdpassing_proxy_new ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # FDPassing *fdpassing_proxy_new_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # FDPassing *fdpassing_proxy_new_sync ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void fdpassing_proxy_new_for_bus ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1145s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1145s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1145s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1145s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1145s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1145s # 1145s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1145s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1145s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1145s # 1145s # struct _FDPassingSkeleton 1145s # { 1145s # /*< private >*/ 1145s # GDBusInterfaceSkeleton parent_instance; 1145s # FDPassingSkeletonPrivate *priv; 1145s # }; 1145s # 1145s # struct _FDPassingSkeletonClass 1145s # { 1145s # GDBusInterfaceSkeletonClass parent_class; 1145s # }; 1145s # 1145s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1145s # #endif 1145s # 1145s # FDPassing *fdpassing_skeleton_new (void); 1145s # 1145s # 1145s # G_END_DECLS 1145s # 1145s # #endif /* __STDOUT__ */ 1145s # /tmp/tmpphn3cabb/tmpqu7blecj.xml: 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpphn3cabb/tmpqu7blecj.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1145s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1145s # Output: /* 1145s # * This file is generated by gdbus-codegen, do not modify it. 1145s # * 1145s # * The license of this code is the same as for the D-Bus interface description 1145s # * it was derived from. Note that it links to GLib, so must comply with the 1145s # * LGPL linking clauses. 1145s # */ 1145s # 1145s # #ifndef __STDOUT__ 1145s # #define __STDOUT__ 1145s # 1145s # #include 1145s # 1145s # G_BEGIN_DECLS 1145s # 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # /* Declarations for FDPassing */ 1145s # 1145s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1145s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1145s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1145s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1145s # 1145s # struct _FDPassing; 1145s # typedef struct _FDPassing FDPassing; 1145s # typedef struct _FDPassingIface FDPassingIface; 1145s # 1145s # struct _FDPassingIface 1145s # { 1145s # GTypeInterface parent_iface; 1145s # 1145s # gboolean (*handle_hello_fd) ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GUnixFDList *fd_list, 1145s # const gchar *arg_greeting); 1145s # 1145s # gboolean (*handle_no_annotation) ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GVariant *arg_greeting, 1145s # const gchar *arg_greeting_locale); 1145s # 1145s # gboolean (*handle_no_annotation_nested) ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GVariant *arg_files); 1145s # 1145s # }; 1145s # 1145s # GType fdpassing_get_type (void) G_GNUC_CONST; 1145s # 1145s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1145s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1145s # 1145s # 1145s # /* D-Bus method call completion functions: */ 1145s # void fdpassing_complete_hello_fd ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GUnixFDList *fd_list, 1145s # const gchar *response); 1145s # 1145s # void fdpassing_complete_no_annotation ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GVariant *response, 1145s # const gchar *response_locale); 1145s # 1145s # void fdpassing_complete_no_annotation_nested ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation); 1145s # 1145s # 1145s # 1145s # /* D-Bus method calls: */ 1145s # void fdpassing_call_hello_fd ( 1145s # FDPassing *proxy, 1145s # const gchar *arg_greeting, 1145s # GUnixFDList *fd_list, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean fdpassing_call_hello_fd_finish ( 1145s # FDPassing *proxy, 1145s # gchar **out_response, 1145s # GUnixFDList **out_fd_list, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean fdpassing_call_hello_fd_sync ( 1145s # FDPassing *proxy, 1145s # const gchar *arg_greeting, 1145s # GUnixFDList *fd_list, 1145s # gchar **out_response, 1145s # GUnixFDList **out_fd_list, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void fdpassing_call_no_annotation ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_greeting, 1145s # const gchar *arg_greeting_locale, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean fdpassing_call_no_annotation_finish ( 1145s # FDPassing *proxy, 1145s # GVariant **out_response, 1145s # gchar **out_response_locale, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean fdpassing_call_no_annotation_sync ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_greeting, 1145s # const gchar *arg_greeting_locale, 1145s # GVariant **out_response, 1145s # gchar **out_response_locale, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void fdpassing_call_no_annotation_nested ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_files, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean fdpassing_call_no_annotation_nested_finish ( 1145s # FDPassing *proxy, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean fdpassing_call_no_annotation_nested_sync ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_files, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1145s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1145s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1145s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1145s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1145s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1145s # 1145s # typedef struct _FDPassingProxy FDPassingProxy; 1145s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1145s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1145s # 1145s # struct _FDPassingProxy 1145s # { 1145s # /*< private >*/ 1145s # GDBusProxy parent_instance; 1145s # FDPassingProxyPrivate *priv; 1145s # }; 1145s # 1145s # struct _FDPassingProxyClass 1145s # { 1145s # GDBusProxyClass parent_class; 1145s # }; 1145s # 1145s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1145s # #endif 1145s # 1145s # void fdpassing_proxy_new ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # FDPassing *fdpassing_proxy_new_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # FDPassing *fdpassing_proxy_new_sync ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void fdpassing_proxy_new_for_bus ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1145s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1145s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1145s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1145s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1145s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1145s # 1145s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1145s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1145s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1145s # 1145s # struct _FDPassingSkeleton 1145s # { 1145s # /*< private >*/ 1145s # GDBusInterfaceSkeleton parent_instance; 1145s # FDPassingSkeletonPrivate *priv; 1145s # }; 1145s # 1145s # struct _FDPassingSkeletonClass 1145s # { 1145s # GDBusInterfaceSkeletonClass parent_class; 1145s # }; 1145s # 1145s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1145s # #endif 1145s # 1145s # FDPassing *fdpassing_skeleton_new (void); 1145s # 1145s # 1145s # G_END_DECLS 1145s # 1145s # #endif /* __STDOUT__ */ 1145s # /tmp/tmpphn3cabb/tmpnloxcht0.xml: 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # 1145s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpphn3cabb/tmpnloxcht0.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1145s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1145s # Output: /* 1145s # * This file is generated by gdbus-codegen, do not modify it. 1145s # * 1145s # * The license of this code is the same as for the D-Bus interface description 1145s # * it was derived from. Note that it links to GLib, so must comply with the 1145s # * LGPL linking clauses. 1145s # */ 1145s # 1145s # #ifndef __STDOUT__ 1145s # #define __STDOUT__ 1145s # 1145s # #include 1145s # 1145s # G_BEGIN_DECLS 1145s # 1145s # 1145s # /* ------------------------------------------------------------------------ */ 1145s # /* Declarations for FDPassing */ 1145s # 1145s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1145s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1145s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1145s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1145s # 1145s # struct _FDPassing; 1145s # typedef struct _FDPassing FDPassing; 1145s # typedef struct _FDPassingIface FDPassingIface; 1145s # 1145s # struct _FDPassingIface 1145s # { 1145s # GTypeInterface parent_iface; 1145s # 1145s # gboolean (*handle_hello_fd) ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GUnixFDList *fd_list, 1145s # const gchar *arg_greeting); 1145s # 1145s # gboolean (*handle_no_annotation) ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GUnixFDList *fd_list, 1145s # GVariant *arg_greeting, 1145s # const gchar *arg_greeting_locale); 1145s # 1145s # gboolean (*handle_no_annotation_nested) ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GUnixFDList *fd_list, 1145s # GVariant *arg_files); 1145s # 1145s # }; 1145s # 1145s # GType fdpassing_get_type (void) G_GNUC_CONST; 1145s # 1145s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1145s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1145s # 1145s # 1145s # /* D-Bus method call completion functions: */ 1145s # void fdpassing_complete_hello_fd ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GUnixFDList *fd_list, 1145s # const gchar *response); 1145s # 1145s # void fdpassing_complete_no_annotation ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GUnixFDList *fd_list, 1145s # GVariant *response, 1145s # const gchar *response_locale); 1145s # 1145s # void fdpassing_complete_no_annotation_nested ( 1145s # FDPassing *object, 1145s # GDBusMethodInvocation *invocation, 1145s # GUnixFDList *fd_list); 1145s # 1145s # 1145s # 1145s # /* D-Bus method calls: */ 1145s # void fdpassing_call_hello_fd ( 1145s # FDPassing *proxy, 1145s # const gchar *arg_greeting, 1145s # GDBusCallFlags call_flags, 1145s # gint timeout_msec, 1145s # GUnixFDList *fd_list, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean fdpassing_call_hello_fd_finish ( 1145s # FDPassing *proxy, 1145s # gchar **out_response, 1145s # GUnixFDList **out_fd_list, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean fdpassing_call_hello_fd_sync ( 1145s # FDPassing *proxy, 1145s # const gchar *arg_greeting, 1145s # GDBusCallFlags call_flags, 1145s # gint timeout_msec, 1145s # GUnixFDList *fd_list, 1145s # gchar **out_response, 1145s # GUnixFDList **out_fd_list, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void fdpassing_call_no_annotation ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_greeting, 1145s # const gchar *arg_greeting_locale, 1145s # GDBusCallFlags call_flags, 1145s # gint timeout_msec, 1145s # GUnixFDList *fd_list, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean fdpassing_call_no_annotation_finish ( 1145s # FDPassing *proxy, 1145s # GVariant **out_response, 1145s # gchar **out_response_locale, 1145s # GUnixFDList **out_fd_list, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean fdpassing_call_no_annotation_sync ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_greeting, 1145s # const gchar *arg_greeting_locale, 1145s # GDBusCallFlags call_flags, 1145s # gint timeout_msec, 1145s # GUnixFDList *fd_list, 1145s # GVariant **out_response, 1145s # gchar **out_response_locale, 1145s # GUnixFDList **out_fd_list, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void fdpassing_call_no_annotation_nested ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_files, 1145s # GDBusCallFlags call_flags, 1145s # gint timeout_msec, 1145s # GUnixFDList *fd_list, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # 1145s # gboolean fdpassing_call_no_annotation_nested_finish ( 1145s # FDPassing *proxy, 1145s # GUnixFDList **out_fd_list, 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # 1145s # gboolean fdpassing_call_no_annotation_nested_sync ( 1145s # FDPassing *proxy, 1145s # GVariant *arg_files, 1145s # GDBusCallFlags call_flags, 1145s # gint timeout_msec, 1145s # GUnixFDList *fd_list, 1145s # GUnixFDList **out_fd_list, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1145s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1145s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1145s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1145s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1145s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1145s # 1145s # typedef struct _FDPassingProxy FDPassingProxy; 1145s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1145s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1145s # 1145s # struct _FDPassingProxy 1145s # { 1145s # /*< private >*/ 1145s # GDBusProxy parent_instance; 1145s # FDPassingProxyPrivate *priv; 1145s # }; 1145s # 1145s # struct _FDPassingProxyClass 1145s # { 1145s # GDBusProxyClass parent_class; 1145s # }; 1145s # 1145s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1145s # #endif 1145s # 1145s # void fdpassing_proxy_new ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # FDPassing *fdpassing_proxy_new_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # FDPassing *fdpassing_proxy_new_sync ( 1145s # GDBusConnection *connection, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # void fdpassing_proxy_new_for_bus ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GAsyncReadyCallback callback, 1145s # gpointer user_data); 1145s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1145s # GAsyncResult *res, 1145s # GError **error); 1145s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1145s # GBusType bus_type, 1145s # GDBusProxyFlags flags, 1145s # const gchar *name, 1145s # const gchar *object_path, 1145s # GCancellable *cancellable, 1145s # GError **error); 1145s # 1145s # 1145s # /* ---- */ 1145s # 1145s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1145s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1145s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1145s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1145s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1145s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1145s # 1145s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1145s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1145s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1145s # 1145s # struct _FDPassingSkeleton 1145s # { 1145s # /*< private >*/ 1145s # GDBusInterfaceSkeleton parent_instance; 1145s # FDPassingSkeletonPrivate *priv; 1145s # }; 1145s # 1145s # struct _FDPassingSkeletonClass 1145s # { 1145s # GDBusInterfaceSkeletonClass parent_class; 1145s # }; 1145s # 1145s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1145s # 1145s # #if GLIB_CHECK_VERSION(2, 44, 0) 1145s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1145s # #endif 1145s # 1145s # FDPassing *fdpassing_skeleton_new (void); 1145s # 1145s # 1145s # G_END_DECLS 1145s # 1145s # #endif /* __STDOUT__ */ 1145s 1..39 1145s ok - glib/codegen.py.test 1145s # Running test: glib/socket-service.test 1145s TAP version 14 1145s # random seed: R02S18c51858aee658ecb54c6aaac8b0d195 1145s 1..4 1145s # Start of socket-service tests 1145s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1145s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5777d2c5b370 and GSocketClientAsyncConnectData 0x5777d2c53620 1145s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1145s ok 1 /socket-service/start-stop 1145s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5777d2c5ced0 and GSocketClientAsyncConnectData 0x5777d2c5cc70 1145s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1145s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1145s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5777d2c5d3e0 for GSocketClientAsyncConnectData 0x5777d2c53620 1145s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1145s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1145s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1145s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1145s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1145s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5777d2c5e260 for GSocketClientAsyncConnectData 0x5777d2c5cc70 1145s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1145s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1145s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1145s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1145s ok 2 /socket-service/read_write_async 1145s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5777d2c60fb0 and GSocketClientAsyncConnectData 0x5777d2c5e9d0 1145s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1145s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1145s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5777d2c5f190 for GSocketClientAsyncConnectData 0x5777d2c5e9d0 1145s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1145s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1145s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1145s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1145s ok 3 /socket-service/read_writev_async 1145s # Start of threaded tests 1145s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1145s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5777d2c62710 and GSocketClientAsyncConnectData 0x5777d2c5ed50 1145s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1145s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1145s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5777d2c62940 for GSocketClientAsyncConnectData 0x5777d2c5ed50 1145s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1145s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1145s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1145s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1145s ok 4 /socket-service/threaded/712570 1145s # End of threaded tests 1145s # End of socket-service tests 1145s ok - glib/socket-service.test 1145s # Running test: glib/markup-subparser.test 1145s TAP version 14 1145s # random seed: R02S4874270fb05d6979f2da5b8758f018d4 1145s 1..14 1145s # Start of glib tests 1145s # Start of markup tests 1145s # Start of subparser tests 1145s # Start of success tests 1145s ok 1 /glib/markup/subparser/success/0 1145s ok 2 /glib/markup/subparser/success/1 1145s ok 3 /glib/markup/subparser/success/2 1145s ok 4 /glib/markup/subparser/success/3 1145s ok 5 /glib/markup/subparser/success/4 1145s ok 6 /glib/markup/subparser/success/5 1145s ok 7 /glib/markup/subparser/success/6 1145s # End of success tests 1145s # Start of failure tests 1145s ok 8 /glib/markup/subparser/failure/0 1145s ok 9 /glib/markup/subparser/failure/1 1145s ok 10 /glib/markup/subparser/failure/2 1145s ok 11 /glib/markup/subparser/failure/3 1145s ok 12 /glib/markup/subparser/failure/4 1145s ok 13 /glib/markup/subparser/failure/5 1145s ok 14 /glib/markup/subparser/failure/6 1145s # End of failure tests 1145s # End of subparser tests 1145s # End of markup tests 1145s # End of glib tests 1145s ok - glib/markup-subparser.test 1145s # Running test: glib/data-input-stream.test 1145s TAP version 14 1145s # random seed: R02S4f94538c9b6c5fc908fc2a03149bcbd3 1145s 1..10 1145s # Start of data-input-stream tests 1145s ok 1 /data-input-stream/basic 1145s ok 2 /data-input-stream/read-lines-LF 1145s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1145s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1145s ok 5 /data-input-stream/read-lines-CR 1145s ok 6 /data-input-stream/read-lines-CR-LF 1145s ok 7 /data-input-stream/read-lines-any 1145s ok 8 /data-input-stream/read-until 1145s ok 9 /data-input-stream/read-upto 1145s ok 10 /data-input-stream/read-int 1145s # End of data-input-stream tests 1145s ok - glib/data-input-stream.test 1145s # Running test: glib/flags.test 1145s TAP version 14 1145s # random seed: R02S89de0676d40ec446db607963bcb5cecd 1145s 1..1 1145s # Start of gobject tests 1145s # Start of flags tests 1145s ok 1 /gobject/flags/validate 1145s # End of flags tests 1145s # End of gobject tests 1145s ok - glib/flags.test 1145s # Running test: glib/types.test 1145s TAP version 14 1145s # random seed: R02Scbbeb5ad2d3d152381e9d97c38cfd4ef 1145s 1..1 1145s # Start of types tests 1145s ok 1 /types/basic_types 1145s # End of types tests 1145s ok - glib/types.test 1145s # Running test: glib/sequence.test 1145s TAP version 14 1145s # random seed: R02Se1726a108a49ed69073193be41f74044 1145s 1..16 1145s # Start of sequence tests 1145s ok 1 /sequence/out-of-range-jump 1145s ok 2 /sequence/iter-move 1145s ok 3 /sequence/insert-sorted-non-pointer 1145s ok 4 /sequence/stable-sort 1145s ok 5 /sequence/is_empty 1145s # Start of random tests 1145s ok 6 /sequence/random/seed:825541564 1146s ok 7 /sequence/random/seed:801678400 1146s ok 8 /sequence/random/seed:1477639090 1147s # Executing: glib/sequence.test 1147s ok 9 /sequence/random/seed:3369132895 1147s ok 10 /sequence/random/seed:1192944867 1148s ok 11 /sequence/random/seed:770458294 1148s ok 12 /sequence/random/seed:1099575817 1149s ok 13 /sequence/random/seed:590523467 1149s ok 14 /sequence/random/seed:3583571454 1149s ok 15 /sequence/random/seed:579241222 1150s ok 16 /sequence/random/seed:1327707031 1150s # End of random tests 1150s # End of sequence tests 1150s ok - glib/sequence.test 1150s # Running test: glib/mapping.test 1150s TAP version 14 1150s # random seed: R02S8659450d36b725409f6816c65ed032fd 1150s 1..3 1150s # Start of mapping tests 1150s # test_mapping: ok 1150s ok 1 /mapping/flags 1150s ok 2 /mapping/private 1150s # test_child_private: child spawned 1150s # Subtest: /usr/libexec/installed-tests/glib/mapping 1150s # random seed: R02S087f01b69605a20097d3f4dc5a3b36ca 1150s # test_child_private: received first child signal 1150s # test_child_private: received parent signal 1150s # Child exited with status 0 1150s # test_child_private: received second child signal 1150s ok 3 /mapping/private-child 1150s # End of mapping tests 1150s ok - glib/mapping.test 1150s # Running test: glib/spawn-test.test 1150s TAP version 14 1150s # random seed: R02S62f9c6268d9f565301927746a3b6775c 1150s 1..2 1150s # Start of spawn tests 1150s ok 1 /spawn/basics 1150s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1150s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1150s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1150s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1150s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1150s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1150s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1150s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1150s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1150s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1150s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1150s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1150s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1150s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1150s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1150s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1150s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1150s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1150s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1150s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1150s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1150s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1150s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1150s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1150s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1150s # Fetching GSpawn result with stdin open, stdout open, stderr open 1150s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1150s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1150s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1150s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1150s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1150s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1150s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1150s ok 2 /spawn/stdio-overwrite 1150s # End of spawn tests 1150s ok - glib/spawn-test.test 1150s # Running test: glib/macros.test 1150s TAP version 14 1150s # random seed: R02S06b9c504a3aadb7de47f62d7f4119749 1150s 1..3 1150s # Start of alignof tests 1150s ok 1 /alignof/fallback 1150s # End of alignof tests 1150s # Start of assert tests 1150s ok 2 /assert/static 1150s # End of assert tests 1150s # Start of struct tests 1150s ok 3 /struct/sizeof_member 1150s # End of struct tests 1150s ok - glib/macros.test 1150s # Running test: glib/cxx.test 1150s TAP version 14 1150s # random seed: R02S2e0aec1260d52f1b4a351c0875597a91 1150s 1..2 1150s # Start of gtask tests 1150s # 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. 1150s ok 1 /gtask/name 1150s # Start of name tests 1150s # 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. 1150s ok 2 /gtask/name/macro-wrapper 1150s # End of name tests 1150s # End of gtask tests 1150s ok - glib/cxx.test 1150s # Running test: glib/private.test 1150s TAP version 14 1150s # random seed: R02S3139ac309174fb7b65b395df2b834c98 1150s 1..8 1150s # Start of thread tests 1150s ok 1 /thread/private1 1151s ok 2 /thread/private2 1151s # slow test /thread/private2 executed in 1.08 secs 1151s ok 3 /thread/private3 1151s ok 4 /thread/staticprivate1 1151s ok 5 /thread/staticprivate2 1151s ok 6 /thread/staticprivate3 1152s # Executing: glib/private.test 1152s ok 7 /thread/staticprivate4 1152s # slow test /thread/staticprivate4 executed in 1.08 secs 1152s ok 8 /thread/staticprivate5 1152s # End of thread tests 1152s ok - glib/private.test 1152s # Running test: glib/socket-listener.test 1152s TAP version 14 1152s # random seed: R02Sf56106401249d35057da066e7f1f2cd0 1152s 1..1 1152s # Start of socket-listener tests 1152s ok 1 /socket-listener/event-signal 1152s # End of socket-listener tests 1152s ok - glib/socket-listener.test 1152s # Running test: glib/mkenums.py.test 1152s TAP version 13 1152s ok 1 __main__.TestMkenums.test_available_in 1152s # tmpdir: /tmp/tmpu00p_591 1152s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1152s # /tmp/tmpu00p_591/tmp19mf1xby.h: 1152s # typedef enum { 1152s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1152s # } GDBusServerFlags; 1152s # 1152s # /tmp/tmpu00p_591/tmpyqd0e_tx.template: 1152s # /*** BEGIN file-header ***/ 1152s # file-header 1152s # /*** END file-header ***/ 1152s # 1152s # /*** BEGIN file-production ***/ 1152s # file-production 1152s # filename: @filename@ 1152s # basename: @basename@ 1152s # /*** END file-production ***/ 1152s # 1152s # /*** BEGIN enumeration-production ***/ 1152s # enumeration-production 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END enumeration-production ***/ 1152s # 1152s # /*** BEGIN value-header ***/ 1152s # value-header 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-header ***/ 1152s # 1152s # /*** BEGIN value-production ***/ 1152s # value-production 1152s # VALUENAME: @VALUENAME@ 1152s # valuenick: @valuenick@ 1152s # valuenum: @valuenum@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-production ***/ 1152s # 1152s # /*** BEGIN value-tail ***/ 1152s # value-tail 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-tail ***/ 1152s # 1152s # /*** BEGIN comment ***/ 1152s # comment 1152s # comment: @comment@ 1152s # /*** END comment ***/ 1152s # 1152s # /*** BEGIN file-tail ***/ 1152s # file-tail 1152s # /*** END file-tail ***/ 1152s # 1152s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpu00p_591/tmpyqd0e_tx.template', '/tmp/tmpu00p_591/tmp19mf1xby.h'] 1152s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: comment 1152s # 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. 1152s # 1152s # 1152s # file-header 1152s # file-production 1152s # filename: /tmp/tmpu00p_591/tmp19mf1xby.h 1152s # basename: tmp19mf1xby.h 1152s # enumeration-production 1152s # EnumName: GDBusServerFlags 1152s # enum_name: g_dbus_server_flags 1152s # ENUMNAME: G_DBUS_SERVER_FLAGS 1152s # ENUMSHORT: DBUS_SERVER_FLAGS 1152s # ENUMPREFIX: G 1152s # enumsince: 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # value-header 1152s # EnumName: GDBusServerFlags 1152s # enum_name: g_dbus_server_flags 1152s # ENUMNAME: G_DBUS_SERVER_FLAGS 1152s # ENUMSHORT: DBUS_SERVER_FLAGS 1152s # ENUMPREFIX: G 1152s # enumsince: 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # value-production 1152s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1152s # valuenick: user 1152s # valuenum: 4 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # value-tail 1152s # EnumName: GDBusServerFlags 1152s # enum_name: g_dbus_server_flags 1152s # ENUMNAME: G_DBUS_SERVER_FLAGS 1152s # ENUMSHORT: DBUS_SERVER_FLAGS 1152s # ENUMPREFIX: G 1152s # enumsince: 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # file-tail 1152s # 1152s # comment 1152s # comment: Generated data ends here 1152s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1152s # tmpdir: /tmp/tmpl_vnww5r 1152s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1152s # /tmp/tmpl_vnww5r/tmp6c6dlrbg.h: 1152s # typedef enum { 1152s # ENUM_VALUE_WITH_COMMA = ',', 1152s # } TestCommaEnum; 1152s # 1152s # /tmp/tmpl_vnww5r/tmpcwbz5h32.template: 1152s # /*** BEGIN file-header ***/ 1152s # file-header 1152s # /*** END file-header ***/ 1152s # 1152s # /*** BEGIN file-production ***/ 1152s # file-production 1152s # filename: @filename@ 1152s # basename: @basename@ 1152s # /*** END file-production ***/ 1152s # 1152s # /*** BEGIN enumeration-production ***/ 1152s # enumeration-production 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END enumeration-production ***/ 1152s # 1152s # /*** BEGIN value-header ***/ 1152s # value-header 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-header ***/ 1152s # 1152s # /*** BEGIN value-production ***/ 1152s # value-production 1152s # VALUENAME: @VALUENAME@ 1152s # valuenick: @valuenick@ 1152s # valuenum: @valuenum@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-production ***/ 1152s # 1152s # /*** BEGIN value-tail ***/ 1152s # value-tail 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-tail ***/ 1152s # 1152s # /*** BEGIN comment ***/ 1152s # comment 1152s # comment: @comment@ 1152s # /*** END comment ***/ 1152s # 1152s # /*** BEGIN file-tail ***/ 1152s # file-tail 1152s # /*** END file-tail ***/ 1152s # 1152s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpl_vnww5r/tmpcwbz5h32.template', '/tmp/tmpl_vnww5r/tmp6c6dlrbg.h'] 1152s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: comment 1152s # 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. 1152s # 1152s # 1152s # file-header 1152s # file-production 1152s # filename: /tmp/tmpl_vnww5r/tmp6c6dlrbg.h 1152s # basename: tmp6c6dlrbg.h 1152s # enumeration-production 1152s # EnumName: TestCommaEnum 1152s # enum_name: test_comma_enum 1152s # ENUMNAME: TEST_COMMA_ENUM 1152s # ENUMSHORT: COMMA_ENUM 1152s # ENUMPREFIX: TEST 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-header 1152s # EnumName: TestCommaEnum 1152s # enum_name: test_comma_enum 1152s # ENUMNAME: TEST_COMMA_ENUM 1152s # ENUMSHORT: COMMA_ENUM 1152s # ENUMPREFIX: TEST 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-production 1152s # VALUENAME: ENUM_VALUE_WITH_COMMA 1152s # valuenick: comma 1152s # valuenum: 44 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-tail 1152s # EnumName: TestCommaEnum 1152s # enum_name: test_comma_enum 1152s # ENUMNAME: TEST_COMMA_ENUM 1152s # ENUMSHORT: COMMA_ENUM 1152s # ENUMPREFIX: TEST 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # file-tail 1152s # 1152s # comment 1152s # comment: Generated data ends here 1152s ok 3 __main__.TestMkenums.test_deprecated_in 1152s # tmpdir: /tmp/tmpcpnu4ht_ 1152s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1152s # /tmp/tmpcpnu4ht_/tmpq2iofvzl.h: 1152s # typedef enum { 1152s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1152s # } GDBusServerFlags; 1152s # 1152s # /tmp/tmpcpnu4ht_/tmppglvmekg.template: 1152s # /*** BEGIN file-header ***/ 1152s # file-header 1152s # /*** END file-header ***/ 1152s # 1152s # /*** BEGIN file-production ***/ 1152s # file-production 1152s # filename: @filename@ 1152s # basename: @basename@ 1152s # /*** END file-production ***/ 1152s # 1152s # /*** BEGIN enumeration-production ***/ 1152s # enumeration-production 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END enumeration-production ***/ 1152s # 1152s # /*** BEGIN value-header ***/ 1152s # value-header 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-header ***/ 1152s # 1152s # /*** BEGIN value-production ***/ 1152s # value-production 1152s # VALUENAME: @VALUENAME@ 1152s # valuenick: @valuenick@ 1152s # valuenum: @valuenum@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-production ***/ 1152s # 1152s # /*** BEGIN value-tail ***/ 1152s # value-tail 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-tail ***/ 1152s # 1152s # /*** BEGIN comment ***/ 1152s # comment 1152s # comment: @comment@ 1152s # /*** END comment ***/ 1152s # 1152s # /*** BEGIN file-tail ***/ 1152s # file-tail 1152s # /*** END file-tail ***/ 1152s # 1152s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcpnu4ht_/tmppglvmekg.template', '/tmp/tmpcpnu4ht_/tmpq2iofvzl.h'] 1152s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: comment 1152s # 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. 1152s # 1152s # 1152s # file-header 1152s # file-production 1152s # filename: /tmp/tmpcpnu4ht_/tmpq2iofvzl.h 1152s # basename: tmpq2iofvzl.h 1152s # enumeration-production 1152s # EnumName: GDBusServerFlags 1152s # enum_name: g_dbus_server_flags 1152s # ENUMNAME: G_DBUS_SERVER_FLAGS 1152s # ENUMSHORT: DBUS_SERVER_FLAGS 1152s # ENUMPREFIX: G 1152s # enumsince: 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # value-header 1152s # EnumName: GDBusServerFlags 1152s # enum_name: g_dbus_server_flags 1152s # ENUMNAME: G_DBUS_SERVER_FLAGS 1152s # ENUMSHORT: DBUS_SERVER_FLAGS 1152s # ENUMPREFIX: G 1152s # enumsince: 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # value-production 1152s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1152s # valuenick: user 1152s # valuenum: 4 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # value-tail 1152s # EnumName: GDBusServerFlags 1152s # enum_name: g_dbus_server_flags 1152s # ENUMNAME: G_DBUS_SERVER_FLAGS 1152s # ENUMSHORT: DBUS_SERVER_FLAGS 1152s # ENUMPREFIX: G 1152s # enumsince: 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # file-tail 1152s # 1152s # comment 1152s # comment: Generated data ends here 1152s ok 4 __main__.TestMkenums.test_deprecated_in_for 1152s # tmpdir: /tmp/tmpokpa45rf 1152s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1152s # /tmp/tmpokpa45rf/tmpbgf1o5yg.h: 1152s # typedef enum { 1152s # 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) 1152s # } GDBusServerFlags; 1152s # 1152s # /tmp/tmpokpa45rf/tmpsbxz4qe1.template: 1152s # /*** BEGIN file-header ***/ 1152s # file-header 1152s # /*** END file-header ***/ 1152s # 1152s # /*** BEGIN file-production ***/ 1152s # file-production 1152s # filename: @filename@ 1152s # basename: @basename@ 1152s # /*** END file-production ***/ 1152s # 1152s # /*** BEGIN enumeration-production ***/ 1152s # enumeration-production 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END enumeration-production ***/ 1152s # 1152s # /*** BEGIN value-header ***/ 1152s # value-header 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-header ***/ 1152s # 1152s # /*** BEGIN value-production ***/ 1152s # value-production 1152s # VALUENAME: @VALUENAME@ 1152s # valuenick: @valuenick@ 1152s # valuenum: @valuenum@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-production ***/ 1152s # 1152s # /*** BEGIN value-tail ***/ 1152s # value-tail 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-tail ***/ 1152s # 1152s # /*** BEGIN comment ***/ 1152s # comment 1152s # comment: @comment@ 1152s # /*** END comment ***/ 1152s # 1152s # /*** BEGIN file-tail ***/ 1152s # file-tail 1152s # /*** END file-tail ***/ 1152s # 1152s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpokpa45rf/tmpsbxz4qe1.template', '/tmp/tmpokpa45rf/tmpbgf1o5yg.h'] 1152s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: comment 1152s # 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. 1152s # 1152s # 1152s # file-header 1152s # file-production 1152s # filename: /tmp/tmpokpa45rf/tmpbgf1o5yg.h 1152s # basename: tmpbgf1o5yg.h 1152s # enumeration-production 1152s # EnumName: GDBusServerFlags 1152s # enum_name: g_dbus_server_flags 1152s # ENUMNAME: G_DBUS_SERVER_FLAGS 1152s # ENUMSHORT: DBUS_SERVER_FLAGS 1152s # ENUMPREFIX: G 1152s # enumsince: 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # value-header 1152s # EnumName: GDBusServerFlags 1152s # enum_name: g_dbus_server_flags 1152s # ENUMNAME: G_DBUS_SERVER_FLAGS 1152s # ENUMSHORT: DBUS_SERVER_FLAGS 1152s # ENUMPREFIX: G 1152s # enumsince: 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # value-production 1152s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1152s # valuenick: user 1152s # valuenum: 4 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # value-tail 1152s # EnumName: GDBusServerFlags 1152s # enum_name: g_dbus_server_flags 1152s # ENUMNAME: G_DBUS_SERVER_FLAGS 1152s # ENUMSHORT: DBUS_SERVER_FLAGS 1152s # ENUMPREFIX: G 1152s # enumsince: 1152s # type: flags 1152s # Type: Flags 1152s # TYPE: FLAGS 1152s # file-tail 1152s # 1152s # comment 1152s # comment: Generated data ends here 1152s ok 5 __main__.TestMkenums.test_empty_header 1152s # tmpdir: /tmp/tmp724gldvo 1152s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1152s # /tmp/tmp724gldvo/tmpv9lj_u4h.h: 1152s # /tmp/tmp724gldvo/tmp4a_f2lph.template: 1152s # /*** BEGIN file-header ***/ 1152s # file-header 1152s # /*** END file-header ***/ 1152s # 1152s # /*** BEGIN file-production ***/ 1152s # file-production 1152s # filename: @filename@ 1152s # basename: @basename@ 1152s # /*** END file-production ***/ 1152s # 1152s # /*** BEGIN enumeration-production ***/ 1152s # enumeration-production 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END enumeration-production ***/ 1152s # 1152s # /*** BEGIN value-header ***/ 1152s # value-header 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-header ***/ 1152s # 1152s # /*** BEGIN value-production ***/ 1152s # value-production 1152s # VALUENAME: @VALUENAME@ 1152s # valuenick: @valuenick@ 1152s # valuenum: @valuenum@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-production ***/ 1152s # 1152s # /*** BEGIN value-tail ***/ 1152s # value-tail 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-tail ***/ 1152s # 1152s # /*** BEGIN comment ***/ 1152s # comment 1152s # comment: @comment@ 1152s # /*** END comment ***/ 1152s # 1152s # /*** BEGIN file-tail ***/ 1152s # file-tail 1152s # /*** END file-tail ***/ 1152s # 1152s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp724gldvo/tmp4a_f2lph.template', '/tmp/tmp724gldvo/tmpv9lj_u4h.h'] 1152s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: comment 1152s # 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. 1152s # 1152s # 1152s # file-header 1152s # file-tail 1152s # 1152s # comment 1152s # comment: Generated data ends here 1152s ok 6 __main__.TestMkenums.test_empty_template 1152s # tmpdir: /tmp/tmp2lwf1yqm 1152s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1152s # /tmp/tmp2lwf1yqm/tmpzx436ull.template: 1152s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2lwf1yqm/tmpzx436ull.template'] 1152s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # 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. */ 1152s # 1152s # 1152s # /* Generated data ends here */ 1152s ok 7 __main__.TestMkenums.test_enum_name 1152s # tmpdir: /tmp/tmp61q9vsop 1152s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1152s # /tmp/tmp61q9vsop/tmpdeh_srq4.h: 1152s # typedef enum _SomeEnumIdentifier { 1152s # ENUM_VALUE 1152s # } SomeEnumIdentifier; 1152s # 1152s # /tmp/tmp61q9vsop/tmpme8_hc1h.template: 1152s # /*** BEGIN file-header ***/ 1152s # file-header 1152s # /*** END file-header ***/ 1152s # 1152s # /*** BEGIN file-production ***/ 1152s # file-production 1152s # filename: @filename@ 1152s # basename: @basename@ 1152s # /*** END file-production ***/ 1152s # 1152s # /*** BEGIN enumeration-production ***/ 1152s # enumeration-production 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END enumeration-production ***/ 1152s # 1152s # /*** BEGIN value-header ***/ 1152s # value-header 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-header ***/ 1152s # 1152s # /*** BEGIN value-production ***/ 1152s # value-production 1152s # VALUENAME: @VALUENAME@ 1152s # valuenick: @valuenick@ 1152s # valuenum: @valuenum@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-production ***/ 1152s # 1152s # /*** BEGIN value-tail ***/ 1152s # value-tail 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-tail ***/ 1152s # 1152s # /*** BEGIN comment ***/ 1152s # comment 1152s # comment: @comment@ 1152s # /*** END comment ***/ 1152s # 1152s # /*** BEGIN file-tail ***/ 1152s # file-tail 1152s # /*** END file-tail ***/ 1152s # 1152s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp61q9vsop/tmpme8_hc1h.template', '/tmp/tmp61q9vsop/tmpdeh_srq4.h'] 1152s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: comment 1152s # 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. 1152s # 1152s # 1152s # file-header 1152s # file-production 1152s # filename: /tmp/tmp61q9vsop/tmpdeh_srq4.h 1152s # basename: tmpdeh_srq4.h 1152s # enumeration-production 1152s # EnumName: SomeEnumIdentifier 1152s # enum_name: some_enum_identifier 1152s # ENUMNAME: SOME_ENUM_IDENTIFIER 1152s # ENUMSHORT: ENUM_IDENTIFIER 1152s # ENUMPREFIX: SOME 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-header 1152s # EnumName: SomeEnumIdentifier 1152s # enum_name: some_enum_identifier 1152s # ENUMNAME: SOME_ENUM_IDENTIFIER 1152s # ENUMSHORT: ENUM_IDENTIFIER 1152s # ENUMPREFIX: SOME 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-production 1152s # VALUENAME: ENUM_VALUE 1152s # valuenick: value 1152s # valuenum: 0 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-tail 1152s # EnumName: SomeEnumIdentifier 1152s # enum_name: some_enum_identifier 1152s # ENUMNAME: SOME_ENUM_IDENTIFIER 1152s # ENUMSHORT: ENUM_IDENTIFIER 1152s # ENUMPREFIX: SOME 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # file-tail 1152s # 1152s # comment 1152s # comment: Generated data ends here 1152s ok 8 __main__.TestMkenums.test_enum_private_public 1152s # tmpdir: /tmp/tmpn0mtdx6l 1152s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1152s # /tmp/tmpn0mtdx6l/tmp96_m89al.h: 1152s # typedef enum { 1152s # ENUM_VALUE_PUBLIC1, 1152s # /*< private >*/ 1152s # ENUM_VALUE_PRIVATE, 1152s # } SomeEnumA 1152s # 1152s # /tmp/tmpn0mtdx6l/tmp_4pefvjf.template: 1152s # /*** BEGIN file-header ***/ 1152s # file-header 1152s # /*** END file-header ***/ 1152s # 1152s # /*** BEGIN file-production ***/ 1152s # file-production 1152s # filename: @filename@ 1152s # basename: @basename@ 1152s # /*** END file-production ***/ 1152s # 1152s # /*** BEGIN enumeration-production ***/ 1152s # enumeration-production 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END enumeration-production ***/ 1152s # 1152s # /*** BEGIN value-header ***/ 1152s # value-header 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-header ***/ 1152s # 1152s # /*** BEGIN value-production ***/ 1152s # value-production 1152s # VALUENAME: @VALUENAME@ 1152s # valuenick: @valuenick@ 1152s # valuenum: @valuenum@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-production ***/ 1152s # 1152s # /*** BEGIN value-tail ***/ 1152s # value-tail 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-tail ***/ 1152s # 1152s # /*** BEGIN comment ***/ 1152s # comment 1152s # comment: @comment@ 1152s # /*** END comment ***/ 1152s # 1152s # /*** BEGIN file-tail ***/ 1152s # file-tail 1152s # /*** END file-tail ***/ 1152s # 1152s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn0mtdx6l/tmp_4pefvjf.template', '/tmp/tmpn0mtdx6l/tmp96_m89al.h'] 1152s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: comment 1152s # 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. 1152s # 1152s # 1152s # file-header 1152s # file-production 1152s # filename: /tmp/tmpn0mtdx6l/tmp96_m89al.h 1152s # basename: tmp96_m89al.h 1152s # enumeration-production 1152s # EnumName: SomeEnumA 1152s # enum_name: some_enum_a 1152s # ENUMNAME: SOME_ENUM_A 1152s # ENUMSHORT: ENUM_A 1152s # ENUMPREFIX: SOME 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-header 1152s # EnumName: SomeEnumA 1152s # enum_name: some_enum_a 1152s # ENUMNAME: SOME_ENUM_A 1152s # ENUMSHORT: ENUM_A 1152s # ENUMPREFIX: SOME 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-production 1152s # VALUENAME: ENUM_VALUE_PUBLIC1 1152s # valuenick: public1 1152s # valuenum: 0 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-tail 1152s # EnumName: SomeEnumA 1152s # enum_name: some_enum_a 1152s # ENUMNAME: SOME_ENUM_A 1152s # ENUMSHORT: ENUM_A 1152s # ENUMPREFIX: SOME 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # file-tail 1152s # 1152s # comment 1152s # comment: Generated data ends here 1152s # /tmp/tmpn0mtdx6l/tmpzed76ff6.h: 1152s # typedef enum { 1152s # /*< private >*/ 1152s # ENUM_VALUE_PRIVATE, 1152s # /*< public >*/ 1152s # ENUM_VALUE_PUBLIC2, 1152s # } SomeEnumB; 1152s # 1152s # /tmp/tmpn0mtdx6l/tmpx72niwtx.template: 1152s # /*** BEGIN file-header ***/ 1152s # file-header 1152s # /*** END file-header ***/ 1152s # 1152s # /*** BEGIN file-production ***/ 1152s # file-production 1152s # filename: @filename@ 1152s # basename: @basename@ 1152s # /*** END file-production ***/ 1152s # 1152s # /*** BEGIN enumeration-production ***/ 1152s # enumeration-production 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END enumeration-production ***/ 1152s # 1152s # /*** BEGIN value-header ***/ 1152s # value-header 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-header ***/ 1152s # 1152s # /*** BEGIN value-production ***/ 1152s # value-production 1152s # VALUENAME: @VALUENAME@ 1152s # valuenick: @valuenick@ 1152s # valuenum: @valuenum@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-production ***/ 1152s # 1152s # /*** BEGIN value-tail ***/ 1152s # value-tail 1152s # EnumName: @EnumName@ 1152s # enum_name: @enum_name@ 1152s # ENUMNAME: @ENUMNAME@ 1152s # ENUMSHORT: @ENUMSHORT@ 1152s # ENUMPREFIX: @ENUMPREFIX@ 1152s # enumsince: @enumsince@ 1152s # type: @type@ 1152s # Type: @Type@ 1152s # TYPE: @TYPE@ 1152s # /*** END value-tail ***/ 1152s # 1152s # /*** BEGIN comment ***/ 1152s # comment 1152s # comment: @comment@ 1152s # /*** END comment ***/ 1152s # 1152s # /*** BEGIN file-tail ***/ 1152s # file-tail 1152s # /*** END file-tail ***/ 1152s # 1152s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn0mtdx6l/tmpx72niwtx.template', '/tmp/tmpn0mtdx6l/tmpzed76ff6.h'] 1152s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1152s # Output: comment 1152s # 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. 1152s # 1152s # 1152s # file-header 1152s # file-production 1152s # filename: /tmp/tmpn0mtdx6l/tmpzed76ff6.h 1152s # basename: tmpzed76ff6.h 1152s # enumeration-production 1152s # EnumName: SomeEnumB 1152s # enum_name: some_enum_b 1152s # ENUMNAME: SOME_ENUM_B 1152s # ENUMSHORT: ENUM_B 1152s # ENUMPREFIX: SOME 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-header 1152s # EnumName: SomeEnumB 1152s # enum_name: some_enum_b 1152s # ENUMNAME: SOME_ENUM_B 1152s # ENUMSHORT: ENUM_B 1152s # ENUMPREFIX: SOME 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-production 1152s # VALUENAME: ENUM_VALUE_PUBLIC2 1152s # valuenick: public2 1152s # valuenum: 1 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # value-tail 1152s # EnumName: SomeEnumB 1152s # enum_name: some_enum_b 1152s # ENUMNAME: SOME_ENUM_B 1152s # ENUMSHORT: ENUM_B 1152s # ENUMPREFIX: SOME 1152s # enumsince: 1152s # type: enum 1152s # Type: Enum 1152s # TYPE: ENUM 1152s # file-tail 1152s # 1152s # comment 1152s # comment: Generated data ends here 1153s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1153s # tmpdir: /tmp/tmpcz820fka 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpcz820fka/tmpwiqah1vv.h: 1153s # typedef enum { 1153s # /*< private >*/ 1153s # ENUM_VALUE_PRIVATE = 5, 1153s # /*< public >*/ 1153s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1153s # } TestSymbolicEnum; 1153s # 1153s # /tmp/tmpcz820fka/tmpx4vy454a.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcz820fka/tmpx4vy454a.template', '/tmp/tmpcz820fka/tmpwiqah1vv.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpcz820fka/tmpwiqah1vv.h 1153s # basename: tmpwiqah1vv.h 1153s # enumeration-production 1153s # EnumName: TestSymbolicEnum 1153s # enum_name: test_symbolic_enum 1153s # ENUMNAME: TEST_SYMBOLIC_ENUM 1153s # ENUMSHORT: SYMBOLIC_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: TestSymbolicEnum 1153s # enum_name: test_symbolic_enum 1153s # ENUMNAME: TEST_SYMBOLIC_ENUM 1153s # ENUMSHORT: SYMBOLIC_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE_PUBLIC 1153s # valuenick: public 1153s # valuenum: 7 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: TestSymbolicEnum 1153s # enum_name: test_symbolic_enum 1153s # ENUMNAME: TEST_SYMBOLIC_ENUM 1153s # ENUMSHORT: SYMBOLIC_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1153s # tmpdir: /tmp/tmphplqrp1c 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmphplqrp1c/tmp6s3nyt2k.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-tail ***/ 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphplqrp1c/tmp6s3nyt2k.template'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # file-tail 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 11 __main__.TestMkenums.test_help 1153s # tmpdir: /tmp/tmp7z8j0vjb 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # Running: ['/usr/bin/glib-mkenums', '--help'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1153s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1153s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1153s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1153s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1153s # [--output OUTPUT] [--version] 1153s # [args ...] 1153s # 1153s # positional arguments: 1153s # args One or more input files, or a single argument 1153s # @rspfile_path pointing to a file that contains the 1153s # actual arguments 1153s # 1153s # options: 1153s # -h, --help show this help message and exit 1153s # --identifier-prefix IDPREFIX 1153s # Identifier prefix 1153s # --symbol-prefix SYMPREFIX 1153s # Symbol prefix 1153s # --fhead FHEAD Output file header 1153s # --ftail FTAIL Output file footer 1153s # --fprod FPROD Put out TEXT every time a new input file is being 1153s # processed. 1153s # --eprod EPROD Per enum text, produced prior to value iterations 1153s # --vhead VHEAD Value header, produced before iterating over enum 1153s # values 1153s # --vprod VPROD Value text, produced for each enum value. 1153s # --vtail VTAIL Value tail, produced after iterating over enum values 1153s # --comments COMMENT_TMPL 1153s # Comment structure 1153s # --template TEMPLATE Template file 1153s # --output OUTPUT 1153s # --version, -v Print version information 1153s # 1153s # Production text substitutions: 1153s # @EnumName@ PrefixTheXEnum 1153s # @enum_name@ prefix_the_xenum 1153s # @ENUMNAME@ PREFIX_THE_XENUM 1153s # @ENUMSHORT@ THE_XENUM 1153s # @ENUMPREFIX@ PREFIX 1153s # @enumsince@ the user-provided since value given 1153s # @VALUENAME@ PREFIX_THE_XVALUE 1153s # @valuenick@ the-xvalue 1153s # @valuenum@ the integer value (limited support, Since: 2.26) 1153s # @type@ either enum or flags 1153s # @Type@ either Enum or Flags 1153s # @TYPE@ either ENUM or FLAGS 1153s # @filename@ name of current input file 1153s # @basename@ base name of the current input file (Since: 2.22) 1153s ok 12 __main__.TestMkenums.test_no_args 1153s # tmpdir: /tmp/tmpm7cii7p2 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # Running: ['/usr/bin/glib-mkenums'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # 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. */ 1153s # 1153s # 1153s # /* Generated data ends here */ 1153s ok 13 __main__.TestMkenums.test_no_headers 1153s # tmpdir: /tmp/tmp_8wu6gz8 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp_8wu6gz8/tmpdwtgei2j.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_8wu6gz8/tmpdwtgei2j.template'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 14 __main__.TestMkenums.test_no_nick 1153s # tmpdir: /tmp/tmpy7_i8qyl 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpy7_i8qyl/tmpx_jmx864.h: 1153s # typedef enum { 1153s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1153s # } GeglSamplerType; 1153s # 1153s # /tmp/tmpy7_i8qyl/tmpqbi3lxrl.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy7_i8qyl/tmpqbi3lxrl.template', '/tmp/tmpy7_i8qyl/tmpx_jmx864.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpy7_i8qyl/tmpx_jmx864.h 1153s # basename: tmpx_jmx864.h 1153s # enumeration-production 1153s # EnumName: GeglSamplerType 1153s # enum_name: gegl_sampler_type 1153s # ENUMNAME: GEGL_SAMPLER_TYPE 1153s # ENUMSHORT: SAMPLER_TYPE 1153s # ENUMPREFIX: GEGL 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: GeglSamplerType 1153s # enum_name: gegl_sampler_type 1153s # ENUMNAME: GEGL_SAMPLER_TYPE 1153s # ENUMSHORT: SAMPLER_TYPE 1153s # ENUMPREFIX: GEGL 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: GEGL_SAMPLER_NEAREST 1153s # valuenick: nearest 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: GeglSamplerType 1153s # enum_name: gegl_sampler_type 1153s # ENUMNAME: GEGL_SAMPLER_TYPE 1153s # ENUMSHORT: SAMPLER_TYPE 1153s # ENUMPREFIX: GEGL 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1153s # tmpdir: /tmp/tmp9_ar7c48 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp9_ar7c48/tmp7s4tmqum.h: 1153s # /* Copyright © La Peña */ 1153s # typedef enum { 1153s # ENUM_VALUE 1153s # } SomeEnumIdentifier; 1153s # 1153s # /tmp/tmp9_ar7c48/tmpvk5mqwtz.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9_ar7c48/tmpvk5mqwtz.template', '/tmp/tmp9_ar7c48/tmp7s4tmqum.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp9_ar7c48/tmp7s4tmqum.h 1153s # basename: tmp7s4tmqum.h 1153s # enumeration-production 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE 1153s # valuenick: value 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 16 __main__.TestMkenums.test_reproducible 1153s # tmpdir: /tmp/tmpprv63vjf 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpprv63vjf/tmprw7sjvth.template: template 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpprv63vjf/tmprw7sjvth.template', '/tmp/tmpprv63vjf/tmp7rto7h7a1.h', '/tmp/tmpprv63vjf/tmpaysjdm4c2.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # 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. */ 1153s # 1153s # 1153s # /* Generated data ends here */ 1153s # /tmp/tmpprv63vjf/tmpszs0s65u.template: template 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpprv63vjf/tmpszs0s65u.template', '/tmp/tmpprv63vjf/tmpaysjdm4c2.h', '/tmp/tmpprv63vjf/tmp7rto7h7a1.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # 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. */ 1153s # 1153s # 1153s # /* Generated data ends here */ 1153s ok 17 __main__.TestMkenums.test_since 1153s # tmpdir: /tmp/tmp0nr72cll 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp0nr72cll/tmpsnqn6_cm.h: 1153s # typedef enum { /*< since=1.0 >*/ 1153s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1153s # } QmiWmsMessageProtocol; 1153s # 1153s # /tmp/tmp0nr72cll/tmp15ay1sce.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0nr72cll/tmp15ay1sce.template', '/tmp/tmp0nr72cll/tmpsnqn6_cm.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp0nr72cll/tmpsnqn6_cm.h 1153s # basename: tmpsnqn6_cm.h 1153s # enumeration-production 1153s # EnumName: QmiWmsMessageProtocol 1153s # enum_name: qmi_wms_message_protocol 1153s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1153s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1153s # ENUMPREFIX: QMI 1153s # enumsince: 1.0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: QmiWmsMessageProtocol 1153s # enum_name: qmi_wms_message_protocol 1153s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1153s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1153s # ENUMPREFIX: QMI 1153s # enumsince: 1.0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1153s # valuenick: cdma 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: QmiWmsMessageProtocol 1153s # enum_name: qmi_wms_message_protocol 1153s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1153s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1153s # ENUMPREFIX: QMI 1153s # enumsince: 1.0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 18 __main__.TestMkenums.test_with_double_quotes 1153s # tmpdir: /tmp/tmpm4te217t 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpm4te217t/tmpdokc1f5j.h: 1153s # typedef enum { 1153s # FOO_VALUE /*< nick="eek, a comma" >*/ 1153s # } Foo; 1153s # 1153s # /tmp/tmpm4te217t/tmprwr029am.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpm4te217t/tmprwr029am.template', '/tmp/tmpm4te217t/tmpdokc1f5j.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpm4te217t/tmpdokc1f5j.h 1153s # basename: tmpdokc1f5j.h 1153s # enumeration-production 1153s # EnumName: Foo 1153s # enum_name: foo_ 1153s # ENUMNAME: FOO_ 1153s # ENUMSHORT: 1153s # ENUMPREFIX: FOO 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: Foo 1153s # enum_name: foo_ 1153s # ENUMNAME: FOO_ 1153s # ENUMSHORT: 1153s # ENUMPREFIX: FOO 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: FOO_VALUE 1153s # valuenick: eek, a comma 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: Foo 1153s # enum_name: foo_ 1153s # ENUMNAME: FOO_ 1153s # ENUMSHORT: 1153s # ENUMPREFIX: FOO 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 19 __main__.TestRspMkenums.test_available_in 1153s # tmpdir: /tmp/tmpzeyqx18b 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpzeyqx18b/tmpkbtcdgf3.h: 1153s # typedef enum { 1153s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1153s # } GDBusServerFlags; 1153s # 1153s # /tmp/tmpzeyqx18b/tmpiz5o2s5y.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmpzeyqx18b/tmpiz5o2s5y.template /tmp/tmpzeyqx18b/tmpkbtcdgf3.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzeyqx18b/tmpei7pg67q'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpzeyqx18b/tmpkbtcdgf3.h 1153s # basename: tmpkbtcdgf3.h 1153s # enumeration-production 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-header 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-production 1153s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1153s # valuenick: user 1153s # valuenum: 4 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-tail 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1153s # tmpdir: /tmp/tmp45n9qr74 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp45n9qr74/tmp0h9tulmk.h: 1153s # typedef enum { 1153s # ENUM_VALUE_WITH_COMMA = ',', 1153s # } TestCommaEnum; 1153s # 1153s # /tmp/tmp45n9qr74/tmp6w7ivszp.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmp45n9qr74/tmp6w7ivszp.template /tmp/tmp45n9qr74/tmp0h9tulmk.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp45n9qr74/tmptriduxao'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp45n9qr74/tmp0h9tulmk.h 1153s # basename: tmp0h9tulmk.h 1153s # enumeration-production 1153s # EnumName: TestCommaEnum 1153s # enum_name: test_comma_enum 1153s # ENUMNAME: TEST_COMMA_ENUM 1153s # ENUMSHORT: COMMA_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: TestCommaEnum 1153s # enum_name: test_comma_enum 1153s # ENUMNAME: TEST_COMMA_ENUM 1153s # ENUMSHORT: COMMA_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE_WITH_COMMA 1153s # valuenick: comma 1153s # valuenum: 44 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: TestCommaEnum 1153s # enum_name: test_comma_enum 1153s # ENUMNAME: TEST_COMMA_ENUM 1153s # ENUMSHORT: COMMA_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 21 __main__.TestRspMkenums.test_deprecated_in 1153s # tmpdir: /tmp/tmpmdftkiqz 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpmdftkiqz/tmpol7zkw3m.h: 1153s # typedef enum { 1153s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1153s # } GDBusServerFlags; 1153s # 1153s # /tmp/tmpmdftkiqz/tmpy_8ldtpz.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmpmdftkiqz/tmpy_8ldtpz.template /tmp/tmpmdftkiqz/tmpol7zkw3m.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmdftkiqz/tmpcqwa_dox'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpmdftkiqz/tmpol7zkw3m.h 1153s # basename: tmpol7zkw3m.h 1153s # enumeration-production 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-header 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-production 1153s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1153s # valuenick: user 1153s # valuenum: 4 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-tail 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1153s # tmpdir: /tmp/tmpbb909r12 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpbb909r12/tmplrtsu2mp.h: 1153s # typedef enum { 1153s # 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) 1153s # } GDBusServerFlags; 1153s # 1153s # /tmp/tmpbb909r12/tmpulehrx02.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmpbb909r12/tmpulehrx02.template /tmp/tmpbb909r12/tmplrtsu2mp.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbb909r12/tmprilv2ynw'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpbb909r12/tmplrtsu2mp.h 1153s # basename: tmplrtsu2mp.h 1153s # enumeration-production 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-header 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-production 1153s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1153s # valuenick: user 1153s # valuenum: 4 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-tail 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 23 __main__.TestRspMkenums.test_empty_header 1153s # tmpdir: /tmp/tmpp8qhste_ 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpp8qhste_/tmpfsndc441.h: 1153s # /tmp/tmpp8qhste_/tmpd19iaub8.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmpp8qhste_/tmpd19iaub8.template /tmp/tmpp8qhste_/tmpfsndc441.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpp8qhste_/tmp374_r6fq'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 24 __main__.TestRspMkenums.test_empty_template 1153s # tmpdir: /tmp/tmpd5qtgv0_ 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpd5qtgv0_/tmpknpu6xhp.template: 1153s # Response file contains: --template /tmp/tmpd5qtgv0_/tmpknpu6xhp.template 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpd5qtgv0_/tmpoqo17yme'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # 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. */ 1153s # 1153s # 1153s # /* Generated data ends here */ 1153s ok 25 __main__.TestRspMkenums.test_enum_name 1153s # tmpdir: /tmp/tmpk8jmve7c 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpk8jmve7c/tmpr5faby3w.h: 1153s # typedef enum _SomeEnumIdentifier { 1153s # ENUM_VALUE 1153s # } SomeEnumIdentifier; 1153s # 1153s # /tmp/tmpk8jmve7c/tmpwaaup1av.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmpk8jmve7c/tmpwaaup1av.template /tmp/tmpk8jmve7c/tmpr5faby3w.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpk8jmve7c/tmp7v105lpv'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpk8jmve7c/tmpr5faby3w.h 1153s # basename: tmpr5faby3w.h 1153s # enumeration-production 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE 1153s # valuenick: value 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 26 __main__.TestRspMkenums.test_enum_private_public 1153s # tmpdir: /tmp/tmpbvxqqcny 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpbvxqqcny/tmpnnhpm0aj.h: 1153s # typedef enum { 1153s # ENUM_VALUE_PUBLIC1, 1153s # /*< private >*/ 1153s # ENUM_VALUE_PRIVATE, 1153s # } SomeEnumA 1153s # 1153s # /tmp/tmpbvxqqcny/tmpjeuy8zt9.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmpbvxqqcny/tmpjeuy8zt9.template /tmp/tmpbvxqqcny/tmpnnhpm0aj.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbvxqqcny/tmppe672a_w'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpbvxqqcny/tmpnnhpm0aj.h 1153s # basename: tmpnnhpm0aj.h 1153s # enumeration-production 1153s # EnumName: SomeEnumA 1153s # enum_name: some_enum_a 1153s # ENUMNAME: SOME_ENUM_A 1153s # ENUMSHORT: ENUM_A 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: SomeEnumA 1153s # enum_name: some_enum_a 1153s # ENUMNAME: SOME_ENUM_A 1153s # ENUMSHORT: ENUM_A 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE_PUBLIC1 1153s # valuenick: public1 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: SomeEnumA 1153s # enum_name: some_enum_a 1153s # ENUMNAME: SOME_ENUM_A 1153s # ENUMSHORT: ENUM_A 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s # /tmp/tmpbvxqqcny/tmpm_0_mqy7.h: 1153s # typedef enum { 1153s # /*< private >*/ 1153s # ENUM_VALUE_PRIVATE, 1153s # /*< public >*/ 1153s # ENUM_VALUE_PUBLIC2, 1153s # } SomeEnumB; 1153s # 1153s # /tmp/tmpbvxqqcny/tmptoogixgj.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmpbvxqqcny/tmptoogixgj.template /tmp/tmpbvxqqcny/tmpm_0_mqy7.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbvxqqcny/tmpxzkx606j'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpbvxqqcny/tmpm_0_mqy7.h 1153s # basename: tmpm_0_mqy7.h 1153s # enumeration-production 1153s # EnumName: SomeEnumB 1153s # enum_name: some_enum_b 1153s # ENUMNAME: SOME_ENUM_B 1153s # ENUMSHORT: ENUM_B 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: SomeEnumB 1153s # enum_name: some_enum_b 1153s # ENUMNAME: SOME_ENUM_B 1153s # ENUMSHORT: ENUM_B 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE_PUBLIC2 1153s # valuenick: public2 1153s # valuenum: 1 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: SomeEnumB 1153s # enum_name: some_enum_b 1153s # ENUMNAME: SOME_ENUM_B 1153s # ENUMSHORT: ENUM_B 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1153s # tmpdir: /tmp/tmp3yn_ewfk 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp3yn_ewfk/tmp2x9ic5nu.h: 1153s # typedef enum { 1153s # /*< private >*/ 1153s # ENUM_VALUE_PRIVATE = 5, 1153s # /*< public >*/ 1153s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1153s # } TestSymbolicEnum; 1153s # 1153s # /tmp/tmp3yn_ewfk/tmp9uvrzrjz.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmp3yn_ewfk/tmp9uvrzrjz.template /tmp/tmp3yn_ewfk/tmp2x9ic5nu.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3yn_ewfk/tmpguybnhm5'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp3yn_ewfk/tmp2x9ic5nu.h 1153s # basename: tmp2x9ic5nu.h 1153s # enumeration-production 1153s # EnumName: TestSymbolicEnum 1153s # enum_name: test_symbolic_enum 1153s # ENUMNAME: TEST_SYMBOLIC_ENUM 1153s # ENUMSHORT: SYMBOLIC_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: TestSymbolicEnum 1153s # enum_name: test_symbolic_enum 1153s # ENUMNAME: TEST_SYMBOLIC_ENUM 1153s # ENUMSHORT: SYMBOLIC_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE_PUBLIC 1153s # valuenick: public 1153s # valuenum: 7 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: TestSymbolicEnum 1153s # enum_name: test_symbolic_enum 1153s # ENUMNAME: TEST_SYMBOLIC_ENUM 1153s # ENUMSHORT: SYMBOLIC_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1153s # tmpdir: /tmp/tmpenuv58kt 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpenuv58kt/tmpxgtg80y6.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-tail ***/ 1153s # Response file contains: --template /tmp/tmpenuv58kt/tmpxgtg80y6.template 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpenuv58kt/tmpcquz8zj0'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # file-tail 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 29 __main__.TestRspMkenums.test_help 1153s # tmpdir: /tmp/tmpd4_2daqs 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # Response file contains: --help 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpd4_2daqs/tmpvauklk13'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1153s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1153s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1153s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1153s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1153s # [--output OUTPUT] [--version] 1153s # [args ...] 1153s # 1153s # positional arguments: 1153s # args One or more input files, or a single argument 1153s # @rspfile_path pointing to a file that contains the 1153s # actual arguments 1153s # 1153s # options: 1153s # -h, --help show this help message and exit 1153s # --identifier-prefix IDPREFIX 1153s # Identifier prefix 1153s # --symbol-prefix SYMPREFIX 1153s # Symbol prefix 1153s # --fhead FHEAD Output file header 1153s # --ftail FTAIL Output file footer 1153s # --fprod FPROD Put out TEXT every time a new input file is being 1153s # processed. 1153s # --eprod EPROD Per enum text, produced prior to value iterations 1153s # --vhead VHEAD Value header, produced before iterating over enum 1153s # values 1153s # --vprod VPROD Value text, produced for each enum value. 1153s # --vtail VTAIL Value tail, produced after iterating over enum values 1153s # --comments COMMENT_TMPL 1153s # Comment structure 1153s # --template TEMPLATE Template file 1153s # --output OUTPUT 1153s # --version, -v Print version information 1153s # 1153s # Production text substitutions: 1153s # @EnumName@ PrefixTheXEnum 1153s # @enum_name@ prefix_the_xenum 1153s # @ENUMNAME@ PREFIX_THE_XENUM 1153s # @ENUMSHORT@ THE_XENUM 1153s # @ENUMPREFIX@ PREFIX 1153s # @enumsince@ the user-provided since value given 1153s # @VALUENAME@ PREFIX_THE_XVALUE 1153s # @valuenick@ the-xvalue 1153s # @valuenum@ the integer value (limited support, Since: 2.26) 1153s # @type@ either enum or flags 1153s # @Type@ either Enum or Flags 1153s # @TYPE@ either ENUM or FLAGS 1153s # @filename@ name of current input file 1153s # @basename@ base name of the current input file (Since: 2.22) 1153s ok 30 __main__.TestRspMkenums.test_no_args 1153s # tmpdir: /tmp/tmp6qqc7oz8 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # Response file contains: 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6qqc7oz8/tmp9bzoey0n'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # 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. */ 1153s # 1153s # 1153s # /* Generated data ends here */ 1153s ok 31 __main__.TestRspMkenums.test_no_headers 1153s # tmpdir: /tmp/tmpl4v087hz 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpl4v087hz/tmpnudox513.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmpl4v087hz/tmpnudox513.template 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpl4v087hz/tmpqsoyw2yx'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 32 __main__.TestRspMkenums.test_no_nick 1153s # tmpdir: /tmp/tmp3qkth52b 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp3qkth52b/tmp11y8dwxh.h: 1153s # typedef enum { 1153s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1153s # } GeglSamplerType; 1153s # 1153s # /tmp/tmp3qkth52b/tmpfw4l0x63.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmp3qkth52b/tmpfw4l0x63.template /tmp/tmp3qkth52b/tmp11y8dwxh.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3qkth52b/tmpl_4q8f2a'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp3qkth52b/tmp11y8dwxh.h 1153s # basename: tmp11y8dwxh.h 1153s # enumeration-production 1153s # EnumName: GeglSamplerType 1153s # enum_name: gegl_sampler_type 1153s # ENUMNAME: GEGL_SAMPLER_TYPE 1153s # ENUMSHORT: SAMPLER_TYPE 1153s # ENUMPREFIX: GEGL 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: GeglSamplerType 1153s # enum_name: gegl_sampler_type 1153s # ENUMNAME: GEGL_SAMPLER_TYPE 1153s # ENUMSHORT: SAMPLER_TYPE 1153s # ENUMPREFIX: GEGL 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: GEGL_SAMPLER_NEAREST 1153s # valuenick: nearest 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: GeglSamplerType 1153s # enum_name: gegl_sampler_type 1153s # ENUMNAME: GEGL_SAMPLER_TYPE 1153s # ENUMSHORT: SAMPLER_TYPE 1153s # ENUMPREFIX: GEGL 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1153s # tmpdir: /tmp/tmp4ssw6d_b 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp4ssw6d_b/tmpij0g_5a6.h: 1153s # /* Copyright © La Peña */ 1153s # typedef enum { 1153s # ENUM_VALUE 1153s # } SomeEnumIdentifier; 1153s # 1153s # /tmp/tmp4ssw6d_b/tmpflltpp3b.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmp4ssw6d_b/tmpflltpp3b.template /tmp/tmp4ssw6d_b/tmpij0g_5a6.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4ssw6d_b/tmpp21x_tmn'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp4ssw6d_b/tmpij0g_5a6.h 1153s # basename: tmpij0g_5a6.h 1153s # enumeration-production 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE 1153s # valuenick: value 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1154s ok 34 __main__.TestRspMkenums.test_reproducible 1154s # tmpdir: /tmp/tmpqnt5_w8w 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmpqnt5_w8w/tmpa00j61fv.template: template 1154s # Response file contains: --template /tmp/tmpqnt5_w8w/tmpa00j61fv.template /tmp/tmpqnt5_w8w/tmprjtd_i2c1.h /tmp/tmpqnt5_w8w/tmpcpeufxp12.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqnt5_w8w/tmpi04cmcpt'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # 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. */ 1154s # 1154s # 1154s # /* Generated data ends here */ 1154s # /tmp/tmpqnt5_w8w/tmpzaf8a8bt.template: template 1154s # Response file contains: --template /tmp/tmpqnt5_w8w/tmpzaf8a8bt.template /tmp/tmpqnt5_w8w/tmpcpeufxp12.h /tmp/tmpqnt5_w8w/tmprjtd_i2c1.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqnt5_w8w/tmpmwojjvof'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # 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. */ 1154s # 1154s # 1154s # /* Generated data ends here */ 1154s ok 35 __main__.TestRspMkenums.test_since 1154s # tmpdir: /tmp/tmpvwm_rg62 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmpvwm_rg62/tmpg82s51vr.h: 1154s # typedef enum { /*< since=1.0 >*/ 1154s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1154s # } QmiWmsMessageProtocol; 1154s # 1154s # /tmp/tmpvwm_rg62/tmp_3skp_p1.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmpvwm_rg62/tmp_3skp_p1.template /tmp/tmpvwm_rg62/tmpg82s51vr.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvwm_rg62/tmpflzjkr7i'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-production 1154s # filename: /tmp/tmpvwm_rg62/tmpg82s51vr.h 1154s # basename: tmpg82s51vr.h 1154s # enumeration-production 1154s # EnumName: QmiWmsMessageProtocol 1154s # enum_name: qmi_wms_message_protocol 1154s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1154s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1154s # ENUMPREFIX: QMI 1154s # enumsince: 1.0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-header 1154s # EnumName: QmiWmsMessageProtocol 1154s # enum_name: qmi_wms_message_protocol 1154s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1154s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1154s # ENUMPREFIX: QMI 1154s # enumsince: 1.0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-production 1154s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1154s # valuenick: cdma 1154s # valuenum: 0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-tail 1154s # EnumName: QmiWmsMessageProtocol 1154s # enum_name: qmi_wms_message_protocol 1154s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1154s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1154s # ENUMPREFIX: QMI 1154s # enumsince: 1.0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1154s # tmpdir: /tmp/tmpy2wa7ur9 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmpy2wa7ur9/tmpjex56dik.h: 1154s # typedef enum { 1154s # FOO_VALUE /*< nick="eek, a comma" >*/ 1154s # } Foo; 1154s # 1154s # /tmp/tmpy2wa7ur9/tmpx2sv2yf1.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmpy2wa7ur9/tmpx2sv2yf1.template /tmp/tmpy2wa7ur9/tmpjex56dik.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpy2wa7ur9/tmpjg99lhei'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-production 1154s # filename: /tmp/tmpy2wa7ur9/tmpjex56dik.h 1154s # basename: tmpjex56dik.h 1154s # enumeration-production 1154s # EnumName: Foo 1154s # enum_name: foo_ 1154s # ENUMNAME: FOO_ 1154s # ENUMSHORT: 1154s # ENUMPREFIX: FOO 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-header 1154s # EnumName: Foo 1154s # enum_name: foo_ 1154s # ENUMNAME: FOO_ 1154s # ENUMSHORT: 1154s # ENUMPREFIX: FOO 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-production 1154s # VALUENAME: FOO_VALUE 1154s # valuenick: eek, a comma 1154s # valuenum: 0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-tail 1154s # EnumName: Foo 1154s # enum_name: foo_ 1154s # ENUMNAME: FOO_ 1154s # ENUMSHORT: 1154s # ENUMPREFIX: FOO 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s 1..36 1154s ok - glib/mkenums.py.test 1154s # Running test: glib/gdbus-auth.test 1154s TAP version 14 1154s # random seed: R02Sf7f49e172d9651841aca50206d735b2b 1154s 1..5 1154s # Start of gdbus tests 1154s # Start of auth tests 1154s # Start of client tests 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/EXTERNAL/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/EXTERNAL/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_02JK02/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/EXTERNAL/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_02JK02/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/EXTERNAL/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/EXTERNAL/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/EXTERNAL/.dirs/runtime 1154s ok 1 /gdbus/auth/client/EXTERNAL 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_02JK02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_02JK02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_02JK02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1154s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1154s # End of client tests 1154s # Start of server tests 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/ANONYMOUS/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/ANONYMOUS/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_02JK02/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/ANONYMOUS/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_02JK02/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/ANONYMOUS/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/ANONYMOUS/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1154s ok 3 /gdbus/auth/server/ANONYMOUS 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/EXTERNAL/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/EXTERNAL/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_02JK02/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/EXTERNAL/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_02JK02/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/EXTERNAL/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/EXTERNAL/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/EXTERNAL/.dirs/runtime 1154s ok 4 /gdbus/auth/server/EXTERNAL 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_02JK02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_02JK02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_02JK02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1154s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1154s # End of server tests 1154s # End of auth tests 1154s # End of gdbus tests 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s ok - glib/gdbus-auth.test 1154s # Running test: glib/thread.test 1154s TAP version 14 1154s # random seed: R02S4050f7f93720a5b78f39922ed4b2c3f2 1154s 1..7 1154s # Start of thread tests 1154s ok 1 /thread/thread1 1154s ok 2 /thread/thread2 1154s ok 3 /thread/thread3 1154s ok 4 /thread/thread4 1154s ok 5 /thread/thread5 1154s ok 6 /thread/thread6 1154s ok 7 /thread/thread7 1154s # End of thread tests 1154s ok - glib/thread.test 1154s # Running test: glib/pollable.test 1154s TAP version 14 1154s # random seed: R02S298baf32df3e8e5f4453e153ae79e680 1154s 1..6 1154s # Start of pollable tests 1154s ok 1 /pollable/converter 1154s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1154s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63d19598f7d0 and GSocketClientAsyncConnectData 0x63d195982ad0 1154s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1154s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1154s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63d195990850 for GSocketClientAsyncConnectData 0x63d195982ad0 1154s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1154s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1154s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1154s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1154s ok 2 /pollable/socket 1154s # Start of unix tests 1154s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1154s ok 3 /pollable/unix/pipe 1154s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1154s ok 4 /pollable/unix/pty 1154s # /pollable/unix/file summary: Test that regular files are not considered pollable 1154s ok 5 /pollable/unix/file 1154s # /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 1154s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 1154s # End of unix tests 1154s # End of pollable tests 1154s ok - glib/pollable.test 1154s # Running test: glib/protocol.test 1154s TAP version 14 1154s # random seed: R02S6831c26e6838d89b82dffdb592b85909 1154s 1..9 1154s # Start of glib tests 1154s # Start of testing tests 1154s # Start of protocol tests 1154s ok 1 /glib/testing/protocol/debug 1154s ok 2 /glib/testing/protocol/info 1154s ok 3 /glib/testing/protocol/message 1154s ok 4 /glib/testing/protocol/warning 1154s ok 5 /glib/testing/protocol/critical 1154s ok 6 /glib/testing/protocol/error 1154s ok 7 /glib/testing/protocol/gtest-message 1154s ok 8 /glib/testing/protocol/test-message 1154s ok 9 /glib/testing/protocol/test-error 1154s # End of protocol tests 1154s # End of testing tests 1154s # End of glib tests 1154s ok - glib/protocol.test 1154s # Running test: glib/inet-address.test 1154s TAP version 14 1154s # random seed: R02S11c8f3b102be874c7a309d4794c59f13 1154s 1..11 1154s # Start of inet-address tests 1154s ok 1 /inet-address/parse 1154s ok 2 /inet-address/any 1154s ok 3 /inet-address/loopback 1154s ok 4 /inet-address/bytes 1154s ok 5 /inet-address/property 1154s # End of inet-address tests 1154s # Start of socket-address tests 1154s ok 6 /socket-address/basic 1154s ok 7 /socket-address/to-string 1154s # End of socket-address tests 1154s # Start of address-mask tests 1154s ok 8 /address-mask/parse 1154s ok 9 /address-mask/property 1154s ok 10 /address-mask/equal 1154s ok 11 /address-mask/match 1154s # End of address-mask tests 1154s ok - glib/inet-address.test 1154s # Running test: glib/buffered-input-stream.test 1154s TAP version 14 1154s # random seed: R02S9b2771d309bacafa794232fb195f6ca1 1154s 1..10 1154s # Start of buffered-input-stream tests 1154s ok 1 /buffered-input-stream/peek 1154s ok 2 /buffered-input-stream/peek-buffer 1154s ok 3 /buffered-input-stream/set-buffer-size 1154s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1154s ok 4 /buffered-input-stream/read-byte 1154s ok 5 /buffered-input-stream/read 1154s ok 6 /buffered-input-stream/read-async 1154s ok 7 /buffered-input-stream/skip 1154s ok 8 /buffered-input-stream/skip-async 1154s ok 9 /buffered-input-stream/seek 1154s # End of buffered-input-stream tests 1154s # Start of filter-input-stream tests 1154s ok 10 /filter-input-stream/close 1154s # End of filter-input-stream tests 1154s ok - glib/buffered-input-stream.test 1154s # Running test: glib/trash.test 1154s TAP version 14 1154s # random seed: R02S06fbc6f47ae14cd156d07e9114392af2 1154s 1..3 1154s # Start of trash tests 1154s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1154s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1154s # File: /tmp/test-trashKEAK02 (parent st_dev: 64769) 1154s # Home: /home/ubuntu (st_dev: 64769) 1154s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1154s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1154s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1154s ok 3 /trash/long-filename 1154s # End of trash tests 1154s ok - glib/trash.test 1154s # Running test: glib/utf8-validate.test 1154s TAP version 14 1154s # random seed: R02S35ad78d3904cce347b32ae7fb108fa05 1154s 1..216 1154s # Start of utf8 tests 1154s # Vector 0 1154s # Vector 1 1154s # Vector 2 1154s # Vector 3 1154s # Vector 4 1154s # Vector 5 1154s # Vector 6 1154s # Vector 7 1154s # Vector 8 1154s # Vector 9 1154s # Vector 10 1154s # Vector 11 1154s # Vector 12 1154s # Vector 13 1154s # Vector 14 1154s # Vector 15 1154s # Vector 16 1154s # Vector 17 1154s # Vector 18 1154s # Vector 19 1154s # Vector 20 1154s # Vector 21 1154s # Vector 22 1154s # Vector 23 1154s # Vector 24 1154s # Vector 25 1154s # Vector 26 1154s # Vector 27 1154s ok 1 /utf8/get-char-validated 1154s # Start of validate tests 1154s ok 2 /utf8/validate/0 1154s ok 3 /utf8/validate/1 1154s ok 4 /utf8/validate/2 1154s ok 5 /utf8/validate/3 1154s ok 6 /utf8/validate/4 1154s ok 7 /utf8/validate/5 1154s ok 8 /utf8/validate/6 1154s ok 9 /utf8/validate/7 1154s ok 10 /utf8/validate/8 1154s ok 11 /utf8/validate/9 1154s ok 12 /utf8/validate/10 1154s ok 13 /utf8/validate/11 1154s ok 14 /utf8/validate/12 1154s ok 15 /utf8/validate/13 1154s ok 16 /utf8/validate/14 1154s ok 17 /utf8/validate/15 1154s ok 18 /utf8/validate/16 1154s ok 19 /utf8/validate/17 1154s ok 20 /utf8/validate/18 1154s ok 21 /utf8/validate/19 1154s ok 22 /utf8/validate/20 1154s ok 23 /utf8/validate/21 1154s ok 24 /utf8/validate/22 1154s ok 25 /utf8/validate/23 1154s ok 26 /utf8/validate/24 1154s ok 27 /utf8/validate/25 1154s ok 28 /utf8/validate/26 1154s ok 29 /utf8/validate/27 1154s ok 30 /utf8/validate/28 1154s ok 31 /utf8/validate/29 1154s ok 32 /utf8/validate/30 1154s ok 33 /utf8/validate/31 1154s ok 34 /utf8/validate/32 1154s ok 35 /utf8/validate/33 1154s ok 36 /utf8/validate/34 1154s ok 37 /utf8/validate/35 1154s ok 38 /utf8/validate/36 1154s ok 39 /utf8/validate/37 1154s ok 40 /utf8/validate/38 1154s ok 41 /utf8/validate/39 1154s ok 42 /utf8/validate/40 1154s ok 43 /utf8/validate/41 1154s ok 44 /utf8/validate/42 1154s ok 45 /utf8/validate/43 1154s ok 46 /utf8/validate/44 1154s ok 47 /utf8/validate/45 1154s ok 48 /utf8/validate/46 1154s ok 49 /utf8/validate/47 1154s ok 50 /utf8/validate/48 1154s ok 51 /utf8/validate/49 1154s ok 52 /utf8/validate/50 1154s ok 53 /utf8/validate/51 1154s ok 54 /utf8/validate/52 1154s ok 55 /utf8/validate/53 1154s ok 56 /utf8/validate/54 1154s ok 57 /utf8/validate/55 1154s ok 58 /utf8/validate/56 1154s ok 59 /utf8/validate/57 1154s ok 60 /utf8/validate/58 1154s ok 61 /utf8/validate/59 1154s ok 62 /utf8/validate/60 1154s ok 63 /utf8/validate/61 1154s ok 64 /utf8/validate/62 1154s ok 65 /utf8/validate/63 1154s ok 66 /utf8/validate/64 1154s ok 67 /utf8/validate/65 1154s ok 68 /utf8/validate/66 1154s ok 69 /utf8/validate/67 1154s ok 70 /utf8/validate/68 1154s ok 71 /utf8/validate/69 1154s ok 72 /utf8/validate/70 1154s ok 73 /utf8/validate/71 1154s ok 74 /utf8/validate/72 1154s ok 75 /utf8/validate/73 1154s ok 76 /utf8/validate/74 1154s ok 77 /utf8/validate/75 1154s ok 78 /utf8/validate/76 1154s ok 79 /utf8/validate/77 1154s ok 80 /utf8/validate/78 1154s ok 81 /utf8/validate/79 1154s ok 82 /utf8/validate/80 1154s ok 83 /utf8/validate/81 1154s ok 84 /utf8/validate/82 1154s ok 85 /utf8/validate/83 1154s ok 86 /utf8/validate/84 1154s ok 87 /utf8/validate/85 1154s ok 88 /utf8/validate/86 1154s ok 89 /utf8/validate/87 1154s ok 90 /utf8/validate/88 1154s ok 91 /utf8/validate/89 1154s ok 92 /utf8/validate/90 1154s ok 93 /utf8/validate/91 1154s ok 94 /utf8/validate/92 1154s ok 95 /utf8/validate/93 1154s ok 96 /utf8/validate/94 1154s ok 97 /utf8/validate/95 1154s ok 98 /utf8/validate/96 1154s ok 99 /utf8/validate/97 1154s ok 100 /utf8/validate/98 1154s ok 101 /utf8/validate/99 1154s ok 102 /utf8/validate/100 1154s ok 103 /utf8/validate/101 1154s ok 104 /utf8/validate/102 1154s ok 105 /utf8/validate/103 1154s ok 106 /utf8/validate/104 1154s ok 107 /utf8/validate/105 1154s ok 108 /utf8/validate/106 1154s ok 109 /utf8/validate/107 1154s ok 110 /utf8/validate/108 1154s ok 111 /utf8/validate/109 1154s ok 112 /utf8/validate/110 1154s ok 113 /utf8/validate/111 1154s ok 114 /utf8/validate/112 1154s ok 115 /utf8/validate/113 1154s ok 116 /utf8/validate/114 1154s ok 117 /utf8/validate/115 1154s ok 118 /utf8/validate/116 1154s ok 119 /utf8/validate/117 1154s ok 120 /utf8/validate/118 1154s ok 121 /utf8/validate/119 1154s ok 122 /utf8/validate/120 1154s ok 123 /utf8/validate/121 1154s ok 124 /utf8/validate/122 1154s ok 125 /utf8/validate/123 1154s ok 126 /utf8/validate/124 1154s ok 127 /utf8/validate/125 1154s ok 128 /utf8/validate/126 1154s ok 129 /utf8/validate/127 1154s ok 130 /utf8/validate/128 1154s ok 131 /utf8/validate/129 1154s ok 132 /utf8/validate/130 1154s ok 133 /utf8/validate/131 1154s ok 134 /utf8/validate/132 1154s ok 135 /utf8/validate/133 1154s ok 136 /utf8/validate/134 1154s ok 137 /utf8/validate/135 1154s ok 138 /utf8/validate/136 1154s ok 139 /utf8/validate/137 1154s ok 140 /utf8/validate/138 1154s ok 141 /utf8/validate/139 1154s ok 142 /utf8/validate/140 1154s ok 143 /utf8/validate/141 1154s ok 144 /utf8/validate/142 1154s ok 145 /utf8/validate/143 1154s ok 146 /utf8/validate/144 1154s ok 147 /utf8/validate/145 1154s ok 148 /utf8/validate/146 1154s ok 149 /utf8/validate/147 1154s ok 150 /utf8/validate/148 1154s ok 151 /utf8/validate/149 1154s ok 152 /utf8/validate/150 1154s ok 153 /utf8/validate/151 1154s ok 154 /utf8/validate/152 1154s ok 155 /utf8/validate/153 1154s ok 156 /utf8/validate/154 1154s ok 157 /utf8/validate/155 1154s ok 158 /utf8/validate/156 1154s ok 159 /utf8/validate/157 1154s ok 160 /utf8/validate/158 1154s ok 161 /utf8/validate/159 1154s ok 162 /utf8/validate/160 1154s ok 163 /utf8/validate/161 1154s ok 164 /utf8/validate/162 1154s ok 165 /utf8/validate/163 1154s ok 166 /utf8/validate/164 1154s ok 167 /utf8/validate/165 1154s ok 168 /utf8/validate/166 1154s ok 169 /utf8/validate/167 1154s ok 170 /utf8/validate/168 1154s ok 171 /utf8/validate/169 1154s ok 172 /utf8/validate/170 1154s ok 173 /utf8/validate/171 1154s ok 174 /utf8/validate/172 1154s ok 175 /utf8/validate/173 1154s ok 176 /utf8/validate/174 1154s ok 177 /utf8/validate/175 1154s ok 178 /utf8/validate/176 1154s ok 179 /utf8/validate/177 1154s ok 180 /utf8/validate/178 1154s ok 181 /utf8/validate/179 1154s ok 182 /utf8/validate/180 1154s ok 183 /utf8/validate/181 1154s ok 184 /utf8/validate/182 1154s ok 185 /utf8/validate/183 1154s ok 186 /utf8/validate/184 1154s ok 187 /utf8/validate/185 1154s ok 188 /utf8/validate/186 1154s ok 189 /utf8/validate/187 1154s ok 190 /utf8/validate/188 1154s ok 191 /utf8/validate/189 1154s ok 192 /utf8/validate/190 1154s ok 193 /utf8/validate/191 1154s ok 194 /utf8/validate/192 1154s ok 195 /utf8/validate/193 1154s ok 196 /utf8/validate/194 1154s ok 197 /utf8/validate/195 1154s ok 198 /utf8/validate/196 1154s ok 199 /utf8/validate/197 1154s ok 200 /utf8/validate/198 1154s ok 201 /utf8/validate/199 1154s ok 202 /utf8/validate/200 1154s ok 203 /utf8/validate/201 1154s ok 204 /utf8/validate/202 1154s ok 205 /utf8/validate/203 1154s ok 206 /utf8/validate/204 1154s ok 207 /utf8/validate/205 1154s ok 208 /utf8/validate/206 1154s ok 209 /utf8/validate/207 1154s ok 210 /utf8/validate/208 1154s ok 211 /utf8/validate/209 1154s ok 212 /utf8/validate/210 1154s ok 213 /utf8/validate/211 1154s ok 214 /utf8/validate/212 1154s ok 215 /utf8/validate/213 1154s ok 216 /utf8/validate/214 1154s # End of validate tests 1154s # End of utf8 tests 1154s ok - glib/utf8-validate.test 1154s # Running test: glib/hook.test 1154s TAP version 14 1154s # random seed: R02S273a396cd40385969bbf795ac65c215e 1154s 1..2 1154s # Start of hook tests 1154s ok 1 /hook/basics 1154s ok 2 /hook/corner-cases 1154s # End of hook tests 1154s ok - glib/hook.test 1154s # Running test: glib/logging.test 1154s TAP version 14 1154s # random seed: R02S52988799f40a339fab1a52a6ffb68e95 1154s 1..17 1154s # Start of logging tests 1154s ok 1 /logging/default-handler 1154s # slow test /logging/default-handler executed in 0.75 secs 1154s ok 2 /logging/warnings 1154s ok 3 /logging/fatal-log-mask 1154s # bu-DEBUG: message 1154s # ba-DEBUG: message 1154s # ba-INFO: message 1154s ok 4 /logging/set-handler 1154s ok 5 /logging/print-handler 1154s ok 6 /logging/printerr-handler 1154s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1154s # The Log Message Handler 1154s # 1154s # The Good Fail Message Handler 1154s # 1154s ok 7 /logging/653052 1154s ok 8 /logging/gibberish 1154s # Start of default-handler tests 1154s # Start of subprocess tests 1154s # End of subprocess tests 1154s # End of default-handler tests 1154s # End of logging tests 1154s # Start of structured-logging tests 1154s ok 9 /structured-logging/no-state 1154s ok 10 /structured-logging/some-state 1154s ok 11 /structured-logging/robustness 1154s ok 12 /structured-logging/roundtrip1 1154s ok 13 /structured-logging/roundtrip2 1154s ok 14 /structured-logging/roundtrip3 1154s ok 15 /structured-logging/variant1 1154s ok 16 /structured-logging/variant2 1154s ok 17 /structured-logging/set-writer-func-twice 1154s # End of structured-logging tests 1154s ok - glib/logging.test 1154s # Running test: glib/repository-search-paths.test 1154s TAP version 14 1154s # random seed: R02S7ab9c8c26c9f42581ad6a7eaa6d3729f 1154s 1..4 1154s # Start of repository tests 1154s # Start of search-paths tests 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/default/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/default/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_2BRE02/repository/search-paths/default/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/default/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_2BRE02/repository/search-paths/default/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/default/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/default/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/default/.dirs/runtime 1154s ok 1 /repository/search-paths/default 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/prepend/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/prepend/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_2BRE02/repository/search-paths/prepend/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/prepend/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_2BRE02/repository/search-paths/prepend/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/prepend/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/prepend/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2BRE02/repository/search-paths/prepend/.dirs/runtime 1154s ok 2 /repository/search-paths/prepend 1154s # End of search-paths tests 1154s # Start of library-paths tests 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/default/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/default/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_2BRE02/repository/library-paths/default/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/default/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_2BRE02/repository/library-paths/default/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/default/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/default/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/default/.dirs/runtime 1154s ok 3 /repository/library-paths/default 1154s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/prepend/.dirs/home 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/prepend/.dirs/cache 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_2BRE02/repository/library-paths/prepend/.dirs/system-config2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/prepend/.dirs/config 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_2BRE02/repository/library-paths/prepend/.dirs/system-data2 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/prepend/.dirs/data 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/prepend/.dirs/state 1154s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2BRE02/repository/library-paths/prepend/.dirs/runtime 1154s ok 4 /repository/library-paths/prepend 1154s # End of library-paths tests 1154s # End of repository tests 1154s ok - glib/repository-search-paths.test 1154s # Running test: glib/unicode-encoding.test 1154s TAP version 14 1154s # random seed: R02Sd053ee47fe295bfe96aee297f8c94483 1154s 1..1 1154s # Start of unicode tests 1154s ok 1 /unicode/encoding 1154s # End of unicode tests 1154s ok - glib/unicode-encoding.test 1154s # Running test: glib/cond.test 1154s TAP version 14 1154s # random seed: R02S318e92ec9514e48ea46530cf34ca4b83 1154s 1..4 1154s # Start of thread tests 1154s ok 1 /thread/cond1 1154s ok 2 /thread/cond2 1154s # Start of cond tests 1155s ok 3 /thread/cond/wait-until 1155s # slow test /thread/cond/wait-until executed in 1.02 secs 1155s # Start of wait-until tests 1155s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1157s # Executing: glib/cond.test 1157s ok 4 /thread/cond/wait-until/contended-and-interrupted 1157s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1157s # End of wait-until tests 1157s # End of cond tests 1157s # End of thread tests 1157s ok - glib/cond.test 1157s # Running test: glib/data-output-stream.test 1157s TAP version 14 1157s # random seed: R02S91e6f9f2209da2a4779e46f6fd5fb333 1157s 1..7 1157s # Start of data-output-stream tests 1157s ok 1 /data-output-stream/basic 1157s ok 2 /data-output-stream/write-lines-LF 1157s ok 3 /data-output-stream/write-lines-CR 1157s ok 4 /data-output-stream/write-lines-CR-LF 1157s ok 5 /data-output-stream/write-int 1157s ok 6 /data-output-stream/seek 1157s ok 7 /data-output-stream/truncate 1157s # End of data-output-stream tests 1157s ok - glib/data-output-stream.test 1157s # Running test: glib/memory-monitor-dbus.test 1157s TAP version 13 1157s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1157s 1..1 1157s ok - glib/memory-monitor-dbus.test 1157s # Running test: glib/spawn-singlethread.test 1157s TAP version 14 1157s # random seed: R02S70221125aac61596acfd1805de113f1a 1157s 1..9 1157s # Start of gthread tests 1157s ok 1 /gthread/spawn-single-sync 1157s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1157s ok 2 /gthread/spawn-stderr-socket 1157s ok 3 /gthread/spawn-single-async 1157s # thread 1 1157s # thread 1 1157s ok 4 /gthread/spawn-single-async-with-fds 1157s ok 5 /gthread/spawn-async-with-invalid-fds 1157s ok 6 /gthread/spawn-script 1157s ok 7 /gthread/spawn-posix-spawn 1157s # Start of spawn tests 1157s ok 8 /gthread/spawn/nonexistent 1157s # FD map: 1157s # • 5 → 15 1157s # • 6 → 16 1157s # • 7 → 17 1157s # • 8 → 18 1157s # • 9 → 19 1157s # • 10 → 20 1157s # • 11 → 21 1157s # • 12 → 22 1157s # • 13 → 23 1157s # • 3 → 13 1157s ok 9 /gthread/spawn/fd-assignment-clash 1157s # End of spawn tests 1157s # End of gthread tests 1157s ok - glib/spawn-singlethread.test 1157s # Running test: glib/proxy-test.test 1157s TAP version 14 1157s # random seed: R02Seebc7b5ea05416e5d640f4c058357aee 1157s 1..11 1157s # Start of proxy tests 1157s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1157s ok 1 /proxy/direct_sync 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e491999c0 and GSocketClientAsyncConnectData 0x5d6e4918f260 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1157s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d6e4919a3d0 for GSocketClientAsyncConnectData 0x5d6e4918f260 1157s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1157s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1157s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1157s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1157s ok 2 /proxy/direct_async 1157s ok 3 /proxy/single_sync 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919bcd0 and GSocketClientAsyncConnectData 0x5d6e4919ae20 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1157s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d6e4919c830 for GSocketClientAsyncConnectData 0x5d6e4919ae20 1157s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1157s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1157s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1157s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1157s ok 4 /proxy/single_async 1157s ok 5 /proxy/multiple_sync 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919c560 and GSocketClientAsyncConnectData 0x5d6e4919c330 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1157s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d6e4919ceb0 for GSocketClientAsyncConnectData 0x5d6e4919c330 1157s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1157s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1157s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1157s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d6e4919c8c0 for GSocketClientAsyncConnectData 0x5d6e4919c330 1157s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1157s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1157s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1157s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1157s ok 6 /proxy/multiple_async 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1157s ok 7 /proxy/invalid-uris-sync 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919cc40 and GSocketClientAsyncConnectData 0x5d6e4919c140 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1157s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919bcd0 and GSocketClientAsyncConnectData 0x5d6e4919c140 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1157s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919bcd0 and GSocketClientAsyncConnectData 0x5d6e4919c140 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1157s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d6e4919a930 for GSocketClientAsyncConnectData 0x5d6e4919c140 1157s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1157s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1157s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1157s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919c560 and GSocketClientAsyncConnectData 0x5d6e4919c620 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1157s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d6e4919abe0 for GSocketClientAsyncConnectData 0x5d6e4919c620 1157s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1157s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1157s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1157s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1157s ok 8 /proxy/invalid-uris-async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919bcd0 and GSocketClientAsyncConnectData 0x5d6e4919c2b0 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1157s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1157s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919c2b0 and GSocketClientAsyncConnectData 0x5d6e4919c620 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1157s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d6e4919d5e0 for GSocketClientAsyncConnectData 0x5d6e4919c620 1157s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1157s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1157s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1157s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919bcd0 and GSocketClientAsyncConnectData 0x5d6e4919c140 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1157s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d6e4919c310 for GSocketClientAsyncConnectData 0x5d6e4919c140 1157s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1157s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1157s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1157s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1157s ok 9 /proxy/dns 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919a810 and GSocketClientAsyncConnectData 0x5d6e4919c900 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1157s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d6e4919d5e0 for GSocketClientAsyncConnectData 0x5d6e4919c900 1157s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1157s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1157s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1157s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919b9e0 and GSocketClientAsyncConnectData 0x5d6e4919bc10 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1157s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d6e4919abe0 for GSocketClientAsyncConnectData 0x5d6e4919bc10 1157s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1157s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1157s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1157s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1157s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1157s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d6e4919c2b0 and GSocketClientAsyncConnectData 0x5d6e4919c900 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1157s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d6e4919d600 for GSocketClientAsyncConnectData 0x5d6e4919c900 1157s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1157s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1157s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1157s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1157s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1157s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1157s ok 10 /proxy/override 1157s ok 11 /proxy/enumerator-ports 1157s # End of proxy tests 1157s ok - glib/proxy-test.test 1157s # Running test: glib/gdbus-close-pending.test 1157s TAP version 14 1157s # random seed: R02S27d7b34eae776be51beb6ce606df73f8 1157s 1..2 1157s # Start of gdbus tests 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_982P02/gdbus/close-pending/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_982P02/gdbus/close-pending/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_982P02/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_982P02/gdbus/close-pending/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_982P02/gdbus/close-pending/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_982P02/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_982P02/gdbus/close-pending/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_982P02/gdbus/close-pending/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_982P02/gdbus/close-pending/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_982P02/gdbus/close-pending/.dirs/runtime 1157s ok 1 /gdbus/close-pending 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_982P02/gdbus/unref-pending/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_982P02/gdbus/unref-pending/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_982P02/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_982P02/gdbus/unref-pending/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_982P02/gdbus/unref-pending/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_982P02/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_982P02/gdbus/unref-pending/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_982P02/gdbus/unref-pending/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_982P02/gdbus/unref-pending/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_982P02/gdbus/unref-pending/.dirs/runtime 1157s ok 2 /gdbus/unref-pending 1157s # End of gdbus tests 1157s ok - glib/gdbus-close-pending.test 1157s # Running test: glib/gdbus-error.test 1157s TAP version 14 1157s # random seed: R02S716d2edeeb7ee23d75e20fbf3f3fc286 1157s 1..4 1157s # Start of gdbus tests 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_40YE02/gdbus/registered-errors/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_40YE02/gdbus/registered-errors/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_40YE02/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_40YE02/gdbus/registered-errors/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_40YE02/gdbus/registered-errors/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_40YE02/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_40YE02/gdbus/registered-errors/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_40YE02/gdbus/registered-errors/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_40YE02/gdbus/registered-errors/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_40YE02/gdbus/registered-errors/.dirs/runtime 1157s ok 1 /gdbus/registered-errors 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_40YE02/gdbus/unregistered-errors/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_40YE02/gdbus/unregistered-errors/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_40YE02/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_40YE02/gdbus/unregistered-errors/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_40YE02/gdbus/unregistered-errors/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_40YE02/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_40YE02/gdbus/unregistered-errors/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_40YE02/gdbus/unregistered-errors/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_40YE02/gdbus/unregistered-errors/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_40YE02/gdbus/unregistered-errors/.dirs/runtime 1157s ok 2 /gdbus/unregistered-errors 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_40YE02/gdbus/transparent-gerror/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_40YE02/gdbus/transparent-gerror/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_40YE02/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_40YE02/gdbus/transparent-gerror/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_40YE02/gdbus/transparent-gerror/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_40YE02/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_40YE02/gdbus/transparent-gerror/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_40YE02/gdbus/transparent-gerror/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_40YE02/gdbus/transparent-gerror/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_40YE02/gdbus/transparent-gerror/.dirs/runtime 1157s ok 3 /gdbus/transparent-gerror 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_40YE02/gdbus/register-error/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_40YE02/gdbus/register-error/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_40YE02/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_40YE02/gdbus/register-error/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_40YE02/gdbus/register-error/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_40YE02/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_40YE02/gdbus/register-error/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_40YE02/gdbus/register-error/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_40YE02/gdbus/register-error/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_40YE02/gdbus/register-error/.dirs/runtime 1157s ok 4 /gdbus/register-error 1157s # End of gdbus tests 1157s ok - glib/gdbus-error.test 1157s # Running test: glib/cache.test 1157s TAP version 14 1157s # random seed: R02S55e8bf4b22c16d16c78bd13c21c93b73 1157s 1..1 1157s # Start of cache tests 1157s ok 1 /cache/basic 1157s # End of cache tests 1157s ok - glib/cache.test 1157s # Running test: glib/array-test.test 1157s TAP version 14 1157s # random seed: R02Sf32bb512931cf8603076e0335c5afe88 1157s 1..113 1157s # Start of array tests 1157s ok 1 /array/ref-count 1157s ok 2 /array/steal 1157s ok 3 /array/clear-func 1157s ok 4 /array/binary-search 1157s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1157s ok 5 /array/copy-sized 1157s ok 6 /array/overflow-append-vals 1157s ok 7 /array/overflow-set-size 1157s # Start of new tests 1157s ok 8 /array/new/zero-terminated 1157s ok 9 /array/new/take 1157s ok 10 /array/new/take-zero-terminated 1157s # Start of take tests 1157s ok 11 /array/new/take/empty 1157s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1157s # End of take tests 1157s # End of new tests 1157s # Start of set-size tests 1157s ok 13 /array/set-size/non-zero-terminated-no-clear 1157s ok 14 /array/set-size/non-zero-terminated-clear 1157s ok 15 /array/set-size/zero-terminated-no-clear 1157s ok 16 /array/set-size/zero-terminated-clear 1157s # Start of sized tests 1157s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1157s ok 18 /array/set-size/sized/non-zero-terminated-clear 1157s ok 19 /array/set-size/sized/zero-terminated-no-clear 1157s ok 20 /array/set-size/sized/zero-terminated-clear 1157s # End of sized tests 1157s # End of set-size tests 1157s # Start of append-val tests 1157s ok 21 /array/append-val/non-zero-terminated-no-clear 1157s ok 22 /array/append-val/non-zero-terminated-clear 1157s ok 23 /array/append-val/zero-terminated-no-clear 1157s ok 24 /array/append-val/zero-terminated-clear 1157s # End of append-val tests 1157s # Start of prepend-val tests 1157s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1157s ok 26 /array/prepend-val/non-zero-terminated-clear 1157s ok 27 /array/prepend-val/zero-terminated-no-clear 1157s ok 28 /array/prepend-val/zero-terminated-clear 1157s # End of prepend-val tests 1157s # Start of prepend-vals tests 1157s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1157s ok 30 /array/prepend-vals/non-zero-terminated-clear 1157s ok 31 /array/prepend-vals/zero-terminated-no-clear 1157s ok 32 /array/prepend-vals/zero-terminated-clear 1157s # End of prepend-vals tests 1157s # Start of insert-vals tests 1157s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1157s ok 34 /array/insert-vals/non-zero-terminated-clear 1157s ok 35 /array/insert-vals/zero-terminated-no-clear 1157s ok 36 /array/insert-vals/zero-terminated-clear 1157s # End of insert-vals tests 1157s # Start of remove-index tests 1157s ok 37 /array/remove-index/non-zero-terminated-no-clear 1157s ok 38 /array/remove-index/non-zero-terminated-clear 1157s ok 39 /array/remove-index/zero-terminated-no-clear 1157s ok 40 /array/remove-index/zero-terminated-clear 1157s # End of remove-index tests 1157s # Start of remove-index-fast tests 1157s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1157s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1157s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1157s ok 44 /array/remove-index-fast/zero-terminated-clear 1157s # End of remove-index-fast tests 1157s # Start of remove-range tests 1157s ok 45 /array/remove-range/non-zero-terminated-no-clear 1157s ok 46 /array/remove-range/non-zero-terminated-clear 1157s ok 47 /array/remove-range/zero-terminated-no-clear 1157s ok 48 /array/remove-range/zero-terminated-clear 1157s # End of remove-range tests 1157s # Start of copy tests 1157s ok 49 /array/copy/non-zero-terminated-no-clear 1157s ok 50 /array/copy/non-zero-terminated-clear 1157s ok 51 /array/copy/zero-terminated-no-clear 1157s ok 52 /array/copy/zero-terminated-clear 1157s # End of copy tests 1157s # Start of sort tests 1157s ok 53 /array/sort/non-zero-terminated-no-clear 1157s ok 54 /array/sort/non-zero-terminated-clear 1157s ok 55 /array/sort/zero-terminated-no-clear 1157s ok 56 /array/sort/zero-terminated-clear 1157s # End of sort tests 1157s # Start of sort-with-data tests 1157s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1157s ok 58 /array/sort-with-data/non-zero-terminated-clear 1157s ok 59 /array/sort-with-data/zero-terminated-no-clear 1157s ok 60 /array/sort-with-data/zero-terminated-clear 1157s # End of sort-with-data tests 1157s # End of array tests 1157s # Start of pointerarray tests 1157s ok 61 /pointerarray/add 1157s ok 62 /pointerarray/insert 1157s ok 63 /pointerarray/new-take 1157s ok 64 /pointerarray/new-take-null-terminated 1157s ok 65 /pointerarray/new-from-array 1157s ok 66 /pointerarray/new-from-null-terminated-array 1157s ok 67 /pointerarray/free-func 1157s ok 68 /pointerarray/array_extend_and_steal 1157s ok 69 /pointerarray/sort 1157s ok 70 /pointerarray/sort-with-data 1157s ok 71 /pointerarray/sort-values 1157s ok 72 /pointerarray/sort-values-with-data 1157s ok 73 /pointerarray/remove-range 1157s ok 74 /pointerarray/steal 1157s # Start of free tests 1157s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1157s ok 75 /pointerarray/free/null-terminated 1157s # End of free tests 1157s # Start of new-take tests 1157s ok 76 /pointerarray/new-take/empty 1157s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1157s ok 78 /pointerarray/new-take/with-free-func 1157s # End of new-take tests 1157s # Start of new-take-null-terminated tests 1157s ok 79 /pointerarray/new-take-null-terminated/empty 1157s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1157s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1157s # End of new-take-null-terminated tests 1157s # Start of new-from-array tests 1157s ok 82 /pointerarray/new-from-array/empty 1157s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1157s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1157s # End of new-from-array tests 1157s # Start of new-from-null-terminated-array tests 1157s ok 85 /pointerarray/new-from-null-terminated-array/empty 1157s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1157s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1157s # End of new-from-null-terminated-array tests 1157s # Start of ref-count tests 1157s ok 88 /pointerarray/ref-count/not-null-terminated 1157s ok 89 /pointerarray/ref-count/null-terminated 1157s # End of ref-count tests 1157s # Start of array_copy tests 1157s # /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 1157s ok 90 /pointerarray/array_copy/not-null-terminated 1157s # /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 1157s ok 91 /pointerarray/array_copy/null-terminated 1157s # End of array_copy tests 1157s # Start of array_extend tests 1157s ok 92 /pointerarray/array_extend/not-null-terminated 1157s ok 93 /pointerarray/array_extend/null-terminated 1157s # End of array_extend tests 1157s # Start of sort tests 1157s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1157s ok 94 /pointerarray/sort/example 1157s # End of sort tests 1157s # Start of sort-with-data tests 1157s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1157s ok 95 /pointerarray/sort-with-data/example 1157s # End of sort-with-data tests 1157s # Start of sort-values tests 1157s ok 96 /pointerarray/sort-values/example 1157s # End of sort-values tests 1157s # Start of sort-values-with-data tests 1157s ok 97 /pointerarray/sort-values-with-data/example 1157s # End of sort-values-with-data tests 1157s # Start of find tests 1157s ok 98 /pointerarray/find/empty 1157s ok 99 /pointerarray/find/non-empty 1157s # End of find tests 1157s # Start of steal_index tests 1157s ok 100 /pointerarray/steal_index/not-null-terminated 1157s ok 101 /pointerarray/steal_index/null-terminated 1157s # End of steal_index tests 1157s # End of pointerarray tests 1157s # Start of bytearray tests 1157s ok 102 /bytearray/steal 1157s ok 103 /bytearray/append 1157s ok 104 /bytearray/prepend 1157s ok 105 /bytearray/remove 1157s ok 106 /bytearray/remove-fast 1157s ok 107 /bytearray/remove-range 1157s ok 108 /bytearray/ref-count 1157s ok 109 /bytearray/sort 1157s ok 110 /bytearray/sort-with-data 1157s ok 111 /bytearray/new-take 1157s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1157s ok 113 /bytearray/free-to-bytes 1157s # End of bytearray tests 1157s ok - glib/array-test.test 1157s # Running test: glib/converter.test 1157s TAP version 14 1157s # random seed: R02S300db584a83f07240b16839e27768d21 1157s 1..1 1157s # Start of converter tests 1157s ok 1 /converter/bytes 1157s # End of converter tests 1157s ok - glib/converter.test 1157s # Running test: glib/regex.test 1157s TAP version 14 1157s # random seed: R02S7abb0cfafc8ad64d3415c2641bc12ed3 1157s 1..848 1157s # Start of regex tests 1157s ok 1 /regex/properties 1157s ok 2 /regex/class 1157s ok 3 /regex/lookahead 1157s ok 4 /regex/lookbehind 1157s ok 5 /regex/subpattern 1157s ok 6 /regex/condition 1157s ok 7 /regex/recursion 1157s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1157s ok 8 /regex/multiline 1157s ok 9 /regex/explicit-crlf 1157s ok 10 /regex/max-lookbehind 1157s ok 11 /regex/compile-errors 1157s ok 12 /regex/jit-unsupported-matching 1157s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1157s ok 13 /regex/unmatched-named-subpattern 1157s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1157s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1157s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1158s ok 14 /regex/compiled-regex-after-jit-failure 1158s # Start of new tests 1158s ok 15 /regex/new/1 1158s ok 16 /regex/new/2 1158s ok 17 /regex/new/3 1158s ok 18 /regex/new/4 1158s ok 19 /regex/new/5 1158s ok 20 /regex/new/6 1158s ok 21 /regex/new/7 1158s ok 22 /regex/new/8 1158s ok 23 /regex/new/9 1158s ok 24 /regex/new/10 1158s ok 25 /regex/new/11 1158s ok 26 /regex/new/12 1158s ok 27 /regex/new/13 1158s ok 28 /regex/new/14 1158s ok 29 /regex/new/15 1158s ok 30 /regex/new/16 1158s ok 31 /regex/new/17 1158s ok 32 /regex/new/18 1158s ok 33 /regex/new/19 1158s ok 34 /regex/new/71 1158s ok 35 /regex/new/80 1158s ok 36 /regex/new/82 1158s # End of new tests 1158s # Start of new-check-flags tests 1158s ok 37 /regex/new-check-flags/20 1158s ok 38 /regex/new-check-flags/21 1158s ok 39 /regex/new-check-flags/22 1158s ok 40 /regex/new-check-flags/23 1158s ok 41 /regex/new-check-flags/24 1158s ok 42 /regex/new-check-flags/25 1158s ok 43 /regex/new-check-flags/26 1158s ok 44 /regex/new-check-flags/27 1158s ok 45 /regex/new-check-flags/28 1158s ok 46 /regex/new-check-flags/29 1158s ok 47 /regex/new-check-flags/30 1158s ok 48 /regex/new-check-flags/31 1158s ok 49 /regex/new-check-flags/32 1158s ok 50 /regex/new-check-flags/33 1158s ok 51 /regex/new-check-flags/34 1158s ok 52 /regex/new-check-flags/35 1158s ok 53 /regex/new-check-flags/36 1158s # End of new-check-flags tests 1158s # Start of new-fail tests 1158s ok 54 /regex/new-fail/37 1158s ok 55 /regex/new-fail/38 1158s ok 56 /regex/new-fail/39 1158s ok 57 /regex/new-fail/40 1158s ok 58 /regex/new-fail/41 1158s ok 59 /regex/new-fail/42 1158s ok 60 /regex/new-fail/43 1158s ok 61 /regex/new-fail/44 1158s ok 62 /regex/new-fail/45 1158s ok 63 /regex/new-fail/46 1158s ok 64 /regex/new-fail/47 1158s ok 65 /regex/new-fail/48 1158s ok 66 /regex/new-fail/49 1158s ok 67 /regex/new-fail/50 1158s ok 68 /regex/new-fail/51 1158s ok 69 /regex/new-fail/52 1158s ok 70 /regex/new-fail/53 1158s ok 71 /regex/new-fail/54 1158s ok 72 /regex/new-fail/55 1158s ok 73 /regex/new-fail/56 1158s ok 74 /regex/new-fail/57 1158s ok 75 /regex/new-fail/58 1158s ok 76 /regex/new-fail/59 1158s ok 77 /regex/new-fail/60 1158s ok 78 /regex/new-fail/61 1158s ok 79 /regex/new-fail/62 1158s ok 80 /regex/new-fail/63 1158s ok 81 /regex/new-fail/64 1158s ok 82 /regex/new-fail/65 1158s ok 83 /regex/new-fail/66 1158s ok 84 /regex/new-fail/67 1158s ok 85 /regex/new-fail/68 1158s ok 86 /regex/new-fail/69 1158s ok 87 /regex/new-fail/70 1158s ok 88 /regex/new-fail/72 1158s ok 89 /regex/new-fail/73 1158s ok 90 /regex/new-fail/74 1158s ok 91 /regex/new-fail/75 1158s ok 92 /regex/new-fail/76 1158s ok 93 /regex/new-fail/77 1158s ok 94 /regex/new-fail/78 1158s ok 95 /regex/new-fail/79 1158s ok 96 /regex/new-fail/81 1158s ok 97 /regex/new-fail/83 1158s ok 98 /regex/new-fail/84 1158s ok 99 /regex/new-fail/85 1158s ok 100 /regex/new-fail/86 1158s ok 101 /regex/new-fail/87 1158s ok 102 /regex/new-fail/88 1158s ok 103 /regex/new-fail/89 1158s ok 104 /regex/new-fail/90 1158s ok 105 /regex/new-fail/91 1158s # End of new-fail tests 1158s # Start of match-simple tests 1158s ok 106 /regex/match-simple/92 1158s ok 107 /regex/match-simple/93 1158s ok 108 /regex/match-simple/94 1158s ok 109 /regex/match-simple/95 1158s ok 110 /regex/match-simple/96 1158s ok 111 /regex/match-simple/97 1158s ok 112 /regex/match-simple/98 1158s ok 113 /regex/match-simple/99 1158s ok 114 /regex/match-simple/100 1158s ok 115 /regex/match-simple/101 1158s ok 116 /regex/match-simple/102 1158s ok 117 /regex/match-simple/103 1158s ok 118 /regex/match-simple/104 1158s ok 119 /regex/match-simple/105 1158s ok 120 /regex/match-simple/106 1158s ok 121 /regex/match-simple/107 1158s ok 122 /regex/match-simple/108 1158s ok 123 /regex/match-simple/109 1158s ok 124 /regex/match-simple/110 1158s ok 125 /regex/match-simple/111 1158s ok 126 /regex/match-simple/112 1158s ok 127 /regex/match-simple/113 1158s ok 128 /regex/match-simple/114 1158s ok 129 /regex/match-simple/115 1158s ok 130 /regex/match-simple/116 1158s ok 131 /regex/match-simple/117 1158s ok 132 /regex/match-simple/118 1158s ok 133 /regex/match-simple/119 1158s ok 134 /regex/match-simple/120 1158s ok 135 /regex/match-simple/121 1158s ok 136 /regex/match-simple/122 1158s ok 137 /regex/match-simple/123 1158s ok 138 /regex/match-simple/124 1158s ok 139 /regex/match-simple/125 1158s ok 140 /regex/match-simple/126 1158s ok 141 /regex/match-simple/127 1158s ok 142 /regex/match-simple/128 1158s ok 143 /regex/match-simple/129 1158s ok 144 /regex/match-simple/130 1158s ok 145 /regex/match-simple/131 1158s ok 146 /regex/match-simple/132 1158s ok 147 /regex/match-simple/133 1158s ok 148 /regex/match-simple/134 1158s ok 149 /regex/match-simple/135 1158s ok 150 /regex/match-simple/136 1158s ok 151 /regex/match-simple/137 1158s ok 152 /regex/match-simple/138 1158s ok 153 /regex/match-simple/139 1158s ok 154 /regex/match-simple/140 1158s ok 155 /regex/match-simple/141 1158s ok 156 /regex/match-simple/142 1158s ok 157 /regex/match-simple/143 1158s ok 158 /regex/match-simple/144 1158s ok 159 /regex/match-simple/145 1158s ok 160 /regex/match-simple/146 1158s ok 161 /regex/match-simple/147 1158s ok 162 /regex/match-simple/148 1158s ok 163 /regex/match-simple/149 1158s ok 164 /regex/match-simple/150 1158s ok 165 /regex/match-simple/151 1158s ok 166 /regex/match-simple/152 1158s ok 167 /regex/match-simple/153 1158s ok 168 /regex/match-simple/154 1158s ok 169 /regex/match-simple/155 1158s ok 170 /regex/match-simple/156 1158s ok 171 /regex/match-simple/157 1158s ok 172 /regex/match-simple/158 1158s ok 173 /regex/match-simple/159 1158s ok 174 /regex/match-simple/160 1158s ok 175 /regex/match-simple/161 1158s ok 176 /regex/match-simple/162 1158s ok 177 /regex/match-simple/163 1158s ok 178 /regex/match-simple/164 1158s # End of match-simple tests 1158s # Start of match-simple-optimized tests 1158s ok 179 /regex/match-simple-optimized/92 1158s ok 180 /regex/match-simple-optimized/93 1158s ok 181 /regex/match-simple-optimized/94 1158s ok 182 /regex/match-simple-optimized/95 1158s ok 183 /regex/match-simple-optimized/96 1158s ok 184 /regex/match-simple-optimized/97 1158s ok 185 /regex/match-simple-optimized/98 1158s ok 186 /regex/match-simple-optimized/99 1158s ok 187 /regex/match-simple-optimized/100 1158s ok 188 /regex/match-simple-optimized/101 1158s ok 189 /regex/match-simple-optimized/102 1158s ok 190 /regex/match-simple-optimized/103 1158s ok 191 /regex/match-simple-optimized/104 1158s ok 192 /regex/match-simple-optimized/105 1158s ok 193 /regex/match-simple-optimized/106 1158s ok 194 /regex/match-simple-optimized/107 1158s ok 195 /regex/match-simple-optimized/108 1158s ok 196 /regex/match-simple-optimized/109 1158s ok 197 /regex/match-simple-optimized/110 1158s ok 198 /regex/match-simple-optimized/111 1158s ok 199 /regex/match-simple-optimized/112 1158s ok 200 /regex/match-simple-optimized/113 1158s ok 201 /regex/match-simple-optimized/114 1158s ok 202 /regex/match-simple-optimized/115 1158s ok 203 /regex/match-simple-optimized/116 1158s ok 204 /regex/match-simple-optimized/117 1158s ok 205 /regex/match-simple-optimized/118 1158s ok 206 /regex/match-simple-optimized/119 1158s ok 207 /regex/match-simple-optimized/120 1158s ok 208 /regex/match-simple-optimized/121 1158s ok 209 /regex/match-simple-optimized/122 1158s ok 210 /regex/match-simple-optimized/123 1158s ok 211 /regex/match-simple-optimized/124 1158s ok 212 /regex/match-simple-optimized/125 1158s ok 213 /regex/match-simple-optimized/126 1158s ok 214 /regex/match-simple-optimized/127 1158s ok 215 /regex/match-simple-optimized/128 1158s ok 216 /regex/match-simple-optimized/129 1158s ok 217 /regex/match-simple-optimized/130 1158s ok 218 /regex/match-simple-optimized/131 1158s ok 219 /regex/match-simple-optimized/132 1158s ok 220 /regex/match-simple-optimized/133 1158s ok 221 /regex/match-simple-optimized/134 1158s ok 222 /regex/match-simple-optimized/135 1158s ok 223 /regex/match-simple-optimized/136 1158s ok 224 /regex/match-simple-optimized/137 1158s ok 225 /regex/match-simple-optimized/138 1158s ok 226 /regex/match-simple-optimized/139 1158s ok 227 /regex/match-simple-optimized/140 1158s ok 228 /regex/match-simple-optimized/141 1158s ok 229 /regex/match-simple-optimized/142 1158s ok 230 /regex/match-simple-optimized/143 1158s ok 231 /regex/match-simple-optimized/144 1158s ok 232 /regex/match-simple-optimized/145 1158s ok 233 /regex/match-simple-optimized/146 1158s ok 234 /regex/match-simple-optimized/147 1158s ok 235 /regex/match-simple-optimized/148 1158s ok 236 /regex/match-simple-optimized/149 1158s ok 237 /regex/match-simple-optimized/150 1158s ok 238 /regex/match-simple-optimized/151 1158s ok 239 /regex/match-simple-optimized/152 1158s ok 240 /regex/match-simple-optimized/153 1158s ok 241 /regex/match-simple-optimized/154 1158s ok 242 /regex/match-simple-optimized/155 1158s ok 243 /regex/match-simple-optimized/156 1158s ok 244 /regex/match-simple-optimized/157 1158s ok 245 /regex/match-simple-optimized/158 1158s ok 246 /regex/match-simple-optimized/159 1158s ok 247 /regex/match-simple-optimized/160 1158s ok 248 /regex/match-simple-optimized/161 1158s ok 249 /regex/match-simple-optimized/162 1158s ok 250 /regex/match-simple-optimized/163 1158s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1158s ok 251 /regex/match-simple-optimized/164 1158s # End of match-simple-optimized tests 1158s # Start of match tests 1158s ok 252 /regex/match/165 1158s ok 253 /regex/match/166 1158s ok 254 /regex/match/167 1158s ok 255 /regex/match/168 1158s ok 256 /regex/match/169 1158s ok 257 /regex/match/170 1158s ok 258 /regex/match/171 1158s ok 259 /regex/match/172 1158s ok 260 /regex/match/173 1158s ok 261 /regex/match/174 1158s ok 262 /regex/match/175 1158s ok 263 /regex/match/176 1158s ok 264 /regex/match/177 1158s ok 265 /regex/match/178 1158s ok 266 /regex/match/179 1158s ok 267 /regex/match/180 1158s ok 268 /regex/match/181 1158s ok 269 /regex/match/182 1158s ok 270 /regex/match/183 1158s ok 271 /regex/match/184 1158s ok 272 /regex/match/185 1158s ok 273 /regex/match/186 1158s ok 274 /regex/match/187 1158s ok 275 /regex/match/188 1158s ok 276 /regex/match/189 1158s ok 277 /regex/match/190 1158s ok 278 /regex/match/191 1158s ok 279 /regex/match/192 1158s ok 280 /regex/match/193 1158s ok 281 /regex/match/194 1158s ok 282 /regex/match/195 1158s ok 283 /regex/match/196 1158s ok 284 /regex/match/197 1158s ok 285 /regex/match/198 1158s ok 286 /regex/match/199 1158s ok 287 /regex/match/200 1158s ok 288 /regex/match/201 1158s ok 289 /regex/match/202 1158s ok 290 /regex/match/203 1158s ok 291 /regex/match/204 1158s ok 292 /regex/match/205 1158s ok 293 /regex/match/206 1158s ok 294 /regex/match/207 1158s ok 295 /regex/match/208 1158s ok 296 /regex/match/209 1158s ok 297 /regex/match/210 1158s ok 298 /regex/match/211 1158s ok 299 /regex/match/212 1158s ok 300 /regex/match/213 1158s ok 301 /regex/match/214 1158s ok 302 /regex/match/215 1158s ok 303 /regex/match/216 1158s ok 304 /regex/match/217 1158s ok 305 /regex/match/218 1158s ok 306 /regex/match/219 1158s ok 307 /regex/match/220 1158s ok 308 /regex/match/221 1158s ok 309 /regex/match/222 1158s ok 310 /regex/match/223 1158s ok 311 /regex/match/224 1158s ok 312 /regex/match/225 1158s ok 313 /regex/match/226 1158s ok 314 /regex/match/227 1158s ok 315 /regex/match/228 1158s ok 316 /regex/match/229 1158s ok 317 /regex/match/230 1158s ok 318 /regex/match/231 1158s ok 319 /regex/match/232 1158s ok 320 /regex/match/233 1158s ok 321 /regex/match/234 1158s ok 322 /regex/match/235 1158s ok 323 /regex/match/236 1158s ok 324 /regex/match/237 1158s ok 325 /regex/match/238 1158s ok 326 /regex/match/239 1158s ok 327 /regex/match/240 1158s ok 328 /regex/match/241 1158s ok 329 /regex/match/242 1158s ok 330 /regex/match/243 1158s ok 331 /regex/match/244 1158s ok 332 /regex/match/245 1158s ok 333 /regex/match/246 1158s ok 334 /regex/match/partial281 1158s ok 335 /regex/match/partial282 1158s ok 336 /regex/match/partial283 1158s ok 337 /regex/match/partial284 1158s ok 338 /regex/match/partial285 1158s ok 339 /regex/match/partial286 1158s ok 340 /regex/match/partial287 1158s ok 341 /regex/match/partial288 1158s ok 342 /regex/match/partial289 1158s ok 343 /regex/match/partial290 1158s ok 344 /regex/match/partial291 1158s ok 345 /regex/match/partial292 1158s ok 346 /regex/match/partial293 1158s ok 347 /regex/match/partial294 1158s ok 348 /regex/match/partial295 1158s ok 349 /regex/match/partial296 1158s ok 350 /regex/match/partial297 1158s ok 351 /regex/match/partial298 1158s ok 352 /regex/match/partial299 1158s ok 353 /regex/match/partial300 1158s ok 354 /regex/match/partial301 1158s ok 355 /regex/match/partial302 1158s # Start of next0 tests 1158s ok 356 /regex/match/next0/247 1158s ok 357 /regex/match/next0/248 1158s ok 358 /regex/match/next0/249 1158s ok 359 /regex/match/next0/250 1158s # End of next0 tests 1158s # Start of next1 tests 1158s ok 360 /regex/match/next1/251 1158s ok 361 /regex/match/next1/252 1158s ok 362 /regex/match/next1/253 1158s ok 363 /regex/match/next1/254 1158s ok 364 /regex/match/next1/255 1158s # End of next1 tests 1158s # Start of next2 tests 1158s ok 365 /regex/match/next2/256 1158s ok 366 /regex/match/next2/257 1158s ok 367 /regex/match/next2/258 1158s ok 368 /regex/match/next2/259 1158s ok 369 /regex/match/next2/260 1158s ok 370 /regex/match/next2/261 1158s ok 371 /regex/match/next2/262 1158s ok 372 /regex/match/next2/263 1158s # End of next2 tests 1158s # Start of next3 tests 1158s ok 373 /regex/match/next3/264 1158s ok 374 /regex/match/next3/265 1158s ok 375 /regex/match/next3/266 1158s ok 376 /regex/match/next3/267 1158s ok 377 /regex/match/next3/268 1158s ok 378 /regex/match/next3/269 1158s # End of next3 tests 1158s # Start of next4 tests 1158s ok 379 /regex/match/next4/270 1158s # End of next4 tests 1158s # Start of count tests 1158s ok 380 /regex/match/count/271 1158s ok 381 /regex/match/count/272 1158s ok 382 /regex/match/count/273 1158s ok 383 /regex/match/count/274 1158s ok 384 /regex/match/count/275 1158s ok 385 /regex/match/count/276 1158s ok 386 /regex/match/count/277 1158s ok 387 /regex/match/count/278 1158s ok 388 /regex/match/count/279 1158s ok 389 /regex/match/count/280 1158s # End of count tests 1158s # Start of count-optimized tests 1158s ok 390 /regex/match/count-optimized/271 1158s ok 391 /regex/match/count-optimized/272 1158s ok 392 /regex/match/count-optimized/273 1158s ok 393 /regex/match/count-optimized/274 1158s ok 394 /regex/match/count-optimized/275 1158s ok 395 /regex/match/count-optimized/276 1158s ok 396 /regex/match/count-optimized/277 1158s ok 397 /regex/match/count-optimized/278 1158s ok 398 /regex/match/count-optimized/279 1158s ok 399 /regex/match/count-optimized/280 1158s # End of count-optimized tests 1158s # Start of partial-optimized tests 1158s ok 400 /regex/match/partial-optimized/281 1158s ok 401 /regex/match/partial-optimized/282 1158s ok 402 /regex/match/partial-optimized/283 1158s ok 403 /regex/match/partial-optimized/284 1158s ok 404 /regex/match/partial-optimized/285 1158s ok 405 /regex/match/partial-optimized/286 1158s ok 406 /regex/match/partial-optimized/287 1158s ok 407 /regex/match/partial-optimized/288 1158s ok 408 /regex/match/partial-optimized/289 1158s ok 409 /regex/match/partial-optimized/290 1158s ok 410 /regex/match/partial-optimized/291 1158s ok 411 /regex/match/partial-optimized/292 1158s ok 412 /regex/match/partial-optimized/293 1158s ok 413 /regex/match/partial-optimized/294 1158s ok 414 /regex/match/partial-optimized/295 1158s ok 415 /regex/match/partial-optimized/296 1158s ok 416 /regex/match/partial-optimized/297 1158s ok 417 /regex/match/partial-optimized/298 1158s ok 418 /regex/match/partial-optimized/299 1158s ok 419 /regex/match/partial-optimized/300 1158s ok 420 /regex/match/partial-optimized/301 1158s ok 421 /regex/match/partial-optimized/302 1158s # End of partial-optimized tests 1158s # Start of subpattern tests 1158s ok 422 /regex/match/subpattern/303 1158s ok 423 /regex/match/subpattern/304 1158s ok 424 /regex/match/subpattern/305 1158s ok 425 /regex/match/subpattern/306 1158s ok 426 /regex/match/subpattern/307 1158s ok 427 /regex/match/subpattern/308 1158s ok 428 /regex/match/subpattern/309 1158s ok 429 /regex/match/subpattern/310 1158s ok 430 /regex/match/subpattern/311 1158s ok 431 /regex/match/subpattern/312 1158s ok 432 /regex/match/subpattern/313 1158s ok 433 /regex/match/subpattern/314 1158s ok 434 /regex/match/subpattern/315 1158s # Start of named tests 1158s # Start of dupnames tests 1158s ok 435 /regex/match/subpattern/named/dupnames/325 1158s ok 436 /regex/match/subpattern/named/dupnames/326 1158s ok 437 /regex/match/subpattern/named/dupnames/327 1158s ok 438 /regex/match/subpattern/named/dupnames/328 1158s ok 439 /regex/match/subpattern/named/dupnames/329 1158s # End of dupnames tests 1158s # End of named tests 1158s # End of subpattern tests 1158s # Start of subpattern-optimized tests 1158s ok 440 /regex/match/subpattern-optimized/303 1158s ok 441 /regex/match/subpattern-optimized/304 1158s ok 442 /regex/match/subpattern-optimized/305 1158s ok 443 /regex/match/subpattern-optimized/306 1158s ok 444 /regex/match/subpattern-optimized/307 1158s ok 445 /regex/match/subpattern-optimized/308 1158s ok 446 /regex/match/subpattern-optimized/309 1158s ok 447 /regex/match/subpattern-optimized/310 1158s ok 448 /regex/match/subpattern-optimized/311 1158s ok 449 /regex/match/subpattern-optimized/312 1158s ok 450 /regex/match/subpattern-optimized/313 1158s ok 451 /regex/match/subpattern-optimized/314 1158s ok 452 /regex/match/subpattern-optimized/315 1158s # End of subpattern-optimized tests 1158s # Start of named tests 1158s # Start of subpattern tests 1158s ok 453 /regex/match/named/subpattern/316 1158s ok 454 /regex/match/named/subpattern/317 1158s ok 455 /regex/match/named/subpattern/318 1158s ok 456 /regex/match/named/subpattern/319 1158s ok 457 /regex/match/named/subpattern/320 1158s ok 458 /regex/match/named/subpattern/321 1158s ok 459 /regex/match/named/subpattern/322 1158s ok 460 /regex/match/named/subpattern/323 1158s ok 461 /regex/match/named/subpattern/324 1158s ok 462 /regex/match/named/subpattern/330 1158s ok 463 /regex/match/named/subpattern/331 1158s ok 464 /regex/match/named/subpattern/332 1158s ok 465 /regex/match/named/subpattern/333 1158s ok 466 /regex/match/named/subpattern/334 1158s # End of subpattern tests 1158s # End of named tests 1158s # End of match tests 1158s # Start of match-optimized tests 1158s ok 467 /regex/match-optimized/165 1158s ok 468 /regex/match-optimized/166 1158s ok 469 /regex/match-optimized/167 1158s ok 470 /regex/match-optimized/168 1158s ok 471 /regex/match-optimized/169 1158s ok 472 /regex/match-optimized/170 1158s ok 473 /regex/match-optimized/171 1158s ok 474 /regex/match-optimized/172 1158s ok 475 /regex/match-optimized/173 1158s ok 476 /regex/match-optimized/174 1158s ok 477 /regex/match-optimized/175 1158s ok 478 /regex/match-optimized/176 1158s ok 479 /regex/match-optimized/177 1158s ok 480 /regex/match-optimized/178 1158s ok 481 /regex/match-optimized/179 1158s ok 482 /regex/match-optimized/180 1158s ok 483 /regex/match-optimized/181 1158s ok 484 /regex/match-optimized/182 1158s ok 485 /regex/match-optimized/183 1158s ok 486 /regex/match-optimized/184 1158s ok 487 /regex/match-optimized/185 1158s ok 488 /regex/match-optimized/186 1158s ok 489 /regex/match-optimized/187 1158s ok 490 /regex/match-optimized/188 1158s ok 491 /regex/match-optimized/189 1158s ok 492 /regex/match-optimized/190 1158s ok 493 /regex/match-optimized/191 1158s ok 494 /regex/match-optimized/192 1158s ok 495 /regex/match-optimized/193 1158s ok 496 /regex/match-optimized/194 1158s ok 497 /regex/match-optimized/195 1158s ok 498 /regex/match-optimized/196 1158s ok 499 /regex/match-optimized/197 1158s ok 500 /regex/match-optimized/198 1158s ok 501 /regex/match-optimized/199 1158s ok 502 /regex/match-optimized/200 1158s ok 503 /regex/match-optimized/201 1158s ok 504 /regex/match-optimized/202 1158s ok 505 /regex/match-optimized/203 1158s ok 506 /regex/match-optimized/204 1158s ok 507 /regex/match-optimized/205 1158s ok 508 /regex/match-optimized/206 1158s ok 509 /regex/match-optimized/207 1158s ok 510 /regex/match-optimized/208 1158s ok 511 /regex/match-optimized/209 1158s ok 512 /regex/match-optimized/210 1158s ok 513 /regex/match-optimized/211 1158s ok 514 /regex/match-optimized/212 1158s ok 515 /regex/match-optimized/213 1158s ok 516 /regex/match-optimized/214 1158s ok 517 /regex/match-optimized/215 1158s ok 518 /regex/match-optimized/216 1158s ok 519 /regex/match-optimized/217 1158s ok 520 /regex/match-optimized/218 1158s ok 521 /regex/match-optimized/219 1158s ok 522 /regex/match-optimized/220 1158s ok 523 /regex/match-optimized/221 1158s ok 524 /regex/match-optimized/222 1158s ok 525 /regex/match-optimized/223 1158s ok 526 /regex/match-optimized/224 1158s ok 527 /regex/match-optimized/225 1158s ok 528 /regex/match-optimized/226 1158s ok 529 /regex/match-optimized/227 1158s ok 530 /regex/match-optimized/228 1158s ok 531 /regex/match-optimized/229 1158s ok 532 /regex/match-optimized/230 1158s ok 533 /regex/match-optimized/231 1158s ok 534 /regex/match-optimized/232 1158s ok 535 /regex/match-optimized/233 1158s ok 536 /regex/match-optimized/234 1158s ok 537 /regex/match-optimized/235 1158s ok 538 /regex/match-optimized/236 1158s ok 539 /regex/match-optimized/237 1158s ok 540 /regex/match-optimized/238 1158s ok 541 /regex/match-optimized/239 1158s ok 542 /regex/match-optimized/240 1158s ok 543 /regex/match-optimized/241 1158s ok 544 /regex/match-optimized/242 1158s ok 545 /regex/match-optimized/243 1158s ok 546 /regex/match-optimized/244 1158s ok 547 /regex/match-optimized/245 1158s ok 548 /regex/match-optimized/246 1158s # End of match-optimized tests 1158s # Start of fetch-all0 tests 1158s ok 549 /regex/fetch-all0/335 1158s ok 550 /regex/fetch-all0/336 1158s # End of fetch-all0 tests 1158s # Start of fetch-all1 tests 1158s ok 551 /regex/fetch-all1/337 1158s ok 552 /regex/fetch-all1/338 1158s ok 553 /regex/fetch-all1/339 1158s # End of fetch-all1 tests 1158s # Start of fetch-all2 tests 1158s ok 554 /regex/fetch-all2/340 1158s ok 555 /regex/fetch-all2/341 1158s ok 556 /regex/fetch-all2/342 1158s # End of fetch-all2 tests 1158s # Start of fetch-all3 tests 1158s ok 557 /regex/fetch-all3/343 1158s ok 558 /regex/fetch-all3/344 1158s ok 559 /regex/fetch-all3/345 1158s ok 560 /regex/fetch-all3/346 1158s ok 561 /regex/fetch-all3/347 1158s # End of fetch-all3 tests 1158s # Start of split tests 1158s # Start of simple0 tests 1158s ok 562 /regex/split/simple0/348 1158s ok 563 /regex/split/simple0/349 1158s ok 564 /regex/split/simple0/364 1158s ok 565 /regex/split/simple0/365 1158s # End of simple0 tests 1158s # Start of simple1 tests 1158s ok 566 /regex/split/simple1/350 1158s ok 567 /regex/split/simple1/351 1158s # End of simple1 tests 1158s # Start of simple2 tests 1158s ok 568 /regex/split/simple2/352 1158s ok 569 /regex/split/simple2/358 1158s ok 570 /regex/split/simple2/360 1158s # End of simple2 tests 1158s # Start of simple3 tests 1158s ok 571 /regex/split/simple3/353 1158s ok 572 /regex/split/simple3/354 1158s ok 573 /regex/split/simple3/355 1158s ok 574 /regex/split/simple3/356 1158s ok 575 /regex/split/simple3/357 1158s ok 576 /regex/split/simple3/359 1158s ok 577 /regex/split/simple3/361 1158s ok 578 /regex/split/simple3/362 1158s ok 579 /regex/split/simple3/363 1158s # End of simple3 tests 1158s # End of split tests 1158s # Start of split0 tests 1158s ok 580 /regex/split0/366 1158s ok 581 /regex/split0/368 1158s # End of split0 tests 1158s # Start of full-split0 tests 1158s ok 582 /regex/full-split0/367 1158s ok 583 /regex/full-split0/369 1158s ok 584 /regex/full-split0/370 1158s ok 585 /regex/full-split0/371 1158s ok 586 /regex/full-split0/372 1158s # End of full-split0 tests 1158s # Start of split1 tests 1158s ok 587 /regex/split1/373 1158s ok 588 /regex/split1/376 1158s # End of split1 tests 1158s # Start of full-split1 tests 1158s ok 589 /regex/full-split1/374 1158s ok 590 /regex/full-split1/375 1158s ok 591 /regex/full-split1/377 1158s ok 592 /regex/full-split1/378 1158s ok 593 /regex/full-split1/404 1158s # End of full-split1 tests 1158s # Start of split2 tests 1158s ok 594 /regex/split2/379 1158s ok 595 /regex/split2/383 1158s ok 596 /regex/split2/395 1158s # End of split2 tests 1158s # Start of full-split2 tests 1158s ok 597 /regex/full-split2/380 1158s ok 598 /regex/full-split2/381 1158s ok 599 /regex/full-split2/382 1158s ok 600 /regex/full-split2/384 1158s ok 601 /regex/full-split2/396 1158s ok 602 /regex/full-split2/399 1158s ok 603 /regex/full-split2/405 1158s # End of full-split2 tests 1158s # Start of split3 tests 1158s ok 604 /regex/split3/385 1158s ok 605 /regex/split3/387 1158s ok 606 /regex/split3/389 1158s ok 607 /regex/split3/391 1158s ok 608 /regex/split3/393 1158s ok 609 /regex/split3/397 1158s ok 610 /regex/split3/400 1158s ok 611 /regex/split3/402 1158s # End of split3 tests 1158s # Start of full-split3 tests 1158s ok 612 /regex/full-split3/386 1158s ok 613 /regex/full-split3/388 1158s ok 614 /regex/full-split3/390 1158s ok 615 /regex/full-split3/392 1158s ok 616 /regex/full-split3/394 1158s ok 617 /regex/full-split3/398 1158s ok 618 /regex/full-split3/401 1158s ok 619 /regex/full-split3/403 1158s ok 620 /regex/full-split3/406 1158s ok 621 /regex/full-split3/407 1158s # End of full-split3 tests 1158s # Start of check-repacement tests 1158s ok 622 /regex/check-repacement/408 1158s ok 623 /regex/check-repacement/409 1158s ok 624 /regex/check-repacement/410 1158s ok 625 /regex/check-repacement/411 1158s ok 626 /regex/check-repacement/412 1158s ok 627 /regex/check-repacement/413 1158s ok 628 /regex/check-repacement/414 1158s ok 629 /regex/check-repacement/415 1158s # End of check-repacement tests 1158s # Start of expand tests 1158s ok 630 /regex/expand/416 1158s ok 631 /regex/expand/417 1158s ok 632 /regex/expand/418 1158s ok 633 /regex/expand/419 1158s ok 634 /regex/expand/420 1158s ok 635 /regex/expand/421 1158s ok 636 /regex/expand/422 1158s ok 637 /regex/expand/423 1158s ok 638 /regex/expand/424 1158s ok 639 /regex/expand/425 1158s ok 640 /regex/expand/426 1158s ok 641 /regex/expand/427 1158s ok 642 /regex/expand/428 1158s ok 643 /regex/expand/429 1158s ok 644 /regex/expand/430 1158s ok 645 /regex/expand/431 1158s ok 646 /regex/expand/432 1158s ok 647 /regex/expand/433 1158s ok 648 /regex/expand/434 1158s ok 649 /regex/expand/435 1158s ok 650 /regex/expand/436 1158s ok 651 /regex/expand/437 1158s ok 652 /regex/expand/438 1158s ok 653 /regex/expand/439 1158s ok 654 /regex/expand/440 1158s ok 655 /regex/expand/441 1158s ok 656 /regex/expand/442 1158s ok 657 /regex/expand/443 1158s ok 658 /regex/expand/444 1158s ok 659 /regex/expand/445 1158s ok 660 /regex/expand/446 1158s ok 661 /regex/expand/447 1158s ok 662 /regex/expand/448 1158s ok 663 /regex/expand/449 1158s ok 664 /regex/expand/450 1158s ok 665 /regex/expand/451 1158s ok 666 /regex/expand/452 1158s ok 667 /regex/expand/453 1158s ok 668 /regex/expand/454 1158s ok 669 /regex/expand/455 1158s ok 670 /regex/expand/456 1158s ok 671 /regex/expand/457 1158s ok 672 /regex/expand/458 1158s ok 673 /regex/expand/459 1158s ok 674 /regex/expand/460 1158s ok 675 /regex/expand/461 1158s ok 676 /regex/expand/462 1158s ok 677 /regex/expand/463 1158s ok 678 /regex/expand/464 1158s ok 679 /regex/expand/465 1158s ok 680 /regex/expand/466 1158s ok 681 /regex/expand/467 1158s ok 682 /regex/expand/468 1158s ok 683 /regex/expand/469 1158s ok 684 /regex/expand/470 1158s ok 685 /regex/expand/471 1158s ok 686 /regex/expand/472 1158s ok 687 /regex/expand/473 1158s ok 688 /regex/expand/474 1158s ok 689 /regex/expand/475 1158s ok 690 /regex/expand/476 1158s ok 691 /regex/expand/477 1158s ok 692 /regex/expand/478 1158s ok 693 /regex/expand/479 1158s ok 694 /regex/expand/480 1158s ok 695 /regex/expand/481 1158s # End of expand tests 1158s # Start of replace tests 1158s ok 696 /regex/replace/482 1158s ok 697 /regex/replace/483 1158s ok 698 /regex/replace/484 1158s ok 699 /regex/replace/485 1158s ok 700 /regex/replace/486 1158s ok 701 /regex/replace/487 1158s ok 702 /regex/replace/488 1158s ok 703 /regex/replace/489 1158s ok 704 /regex/replace/490 1158s ok 705 /regex/replace/491 1158s ok 706 /regex/replace/492 1158s ok 707 /regex/replace/493 1158s ok 708 /regex/replace/494 1158s ok 709 /regex/replace/495 1158s ok 710 /regex/replace/496 1158s ok 711 /regex/replace/497 1158s ok 712 /regex/replace/498 1158s ok 713 /regex/replace/499 1158s ok 714 /regex/replace/500 1158s ok 715 /regex/replace/501 1158s ok 716 /regex/replace/502 1158s ok 717 /regex/replace/503 1158s ok 718 /regex/replace/504 1158s ok 719 /regex/replace/505 1158s ok 720 /regex/replace/506 1158s ok 721 /regex/replace/507 1158s ok 722 /regex/replace/508 1158s ok 723 /regex/replace/509 1158s # End of replace tests 1158s # Start of replace-optimized tests 1158s ok 724 /regex/replace-optimized/482 1158s ok 725 /regex/replace-optimized/483 1158s ok 726 /regex/replace-optimized/484 1158s ok 727 /regex/replace-optimized/485 1158s ok 728 /regex/replace-optimized/486 1158s ok 729 /regex/replace-optimized/487 1158s ok 730 /regex/replace-optimized/488 1158s ok 731 /regex/replace-optimized/489 1158s ok 732 /regex/replace-optimized/490 1158s ok 733 /regex/replace-optimized/491 1158s ok 734 /regex/replace-optimized/492 1158s ok 735 /regex/replace-optimized/493 1158s ok 736 /regex/replace-optimized/494 1158s ok 737 /regex/replace-optimized/495 1158s ok 738 /regex/replace-optimized/496 1158s ok 739 /regex/replace-optimized/497 1158s ok 740 /regex/replace-optimized/498 1158s ok 741 /regex/replace-optimized/499 1158s ok 742 /regex/replace-optimized/500 1158s ok 743 /regex/replace-optimized/501 1158s ok 744 /regex/replace-optimized/502 1158s ok 745 /regex/replace-optimized/503 1158s ok 746 /regex/replace-optimized/504 1158s ok 747 /regex/replace-optimized/505 1158s ok 748 /regex/replace-optimized/506 1158s ok 749 /regex/replace-optimized/507 1158s ok 750 /regex/replace-optimized/508 1158s ok 751 /regex/replace-optimized/509 1158s # End of replace-optimized tests 1158s # Start of replace-literally tests 1158s ok 752 /regex/replace-literally/510 1158s ok 753 /regex/replace-literally/511 1158s ok 754 /regex/replace-literally/512 1158s ok 755 /regex/replace-literally/513 1158s ok 756 /regex/replace-literally/514 1158s ok 757 /regex/replace-literally/515 1158s ok 758 /regex/replace-literally/516 1158s ok 759 /regex/replace-literally/517 1158s ok 760 /regex/replace-literally/518 1158s ok 761 /regex/replace-literally/519 1158s ok 762 /regex/replace-literally/520 1158s ok 763 /regex/replace-literally/521 1158s ok 764 /regex/replace-literally/522 1158s ok 765 /regex/replace-literally/523 1158s ok 766 /regex/replace-literally/524 1158s ok 767 /regex/replace-literally/525 1158s ok 768 /regex/replace-literally/526 1158s ok 769 /regex/replace-literally/527 1158s ok 770 /regex/replace-literally/528 1158s ok 771 /regex/replace-literally/529 1158s # End of replace-literally tests 1158s # Start of string-number tests 1158s ok 772 /regex/string-number/530 1158s ok 773 /regex/string-number/531 1158s ok 774 /regex/string-number/532 1158s ok 775 /regex/string-number/533 1158s ok 776 /regex/string-number/534 1158s ok 777 /regex/string-number/535 1158s ok 778 /regex/string-number/536 1158s ok 779 /regex/string-number/537 1158s ok 780 /regex/string-number/538 1158s ok 781 /regex/string-number/539 1158s ok 782 /regex/string-number/540 1158s ok 783 /regex/string-number/541 1158s ok 784 /regex/string-number/542 1158s ok 785 /regex/string-number/543 1158s ok 786 /regex/string-number/544 1158s # End of string-number tests 1158s # Start of escape_nul tests 1158s ok 787 /regex/escape_nul/545 1158s ok 788 /regex/escape_nul/546 1158s ok 789 /regex/escape_nul/547 1158s ok 790 /regex/escape_nul/548 1158s ok 791 /regex/escape_nul/549 1158s ok 792 /regex/escape_nul/550 1158s ok 793 /regex/escape_nul/551 1158s ok 794 /regex/escape_nul/552 1158s ok 795 /regex/escape_nul/553 1158s ok 796 /regex/escape_nul/554 1158s ok 797 /regex/escape_nul/555 1158s ok 798 /regex/escape_nul/556 1158s ok 799 /regex/escape_nul/557 1158s ok 800 /regex/escape_nul/558 1158s ok 801 /regex/escape_nul/559 1158s # End of escape_nul tests 1158s # Start of escape tests 1158s ok 802 /regex/escape/560 1158s ok 803 /regex/escape/561 1158s ok 804 /regex/escape/562 1158s ok 805 /regex/escape/563 1158s ok 806 /regex/escape/564 1158s ok 807 /regex/escape/565 1158s ok 808 /regex/escape/566 1158s ok 809 /regex/escape/567 1158s ok 810 /regex/escape/568 1158s ok 811 /regex/escape/569 1158s ok 812 /regex/escape/570 1158s ok 813 /regex/escape/571 1158s ok 814 /regex/escape/572 1158s ok 815 /regex/escape/573 1158s ok 816 /regex/escape/574 1158s ok 817 /regex/escape/575 1158s ok 818 /regex/escape/576 1158s ok 819 /regex/escape/577 1158s # End of escape tests 1158s # Start of match-all0 tests 1158s ok 820 /regex/match-all0/578 1158s ok 821 /regex/match-all0/580 1158s # End of match-all0 tests 1158s # Start of match-all-full0 tests 1158s ok 822 /regex/match-all-full0/579 1158s ok 823 /regex/match-all-full0/581 1158s ok 824 /regex/match-all-full0/582 1158s ok 825 /regex/match-all-full0/583 1158s # End of match-all-full0 tests 1158s # Start of match-all1 tests 1158s ok 826 /regex/match-all1/584 1158s ok 827 /regex/match-all1/586 1158s ok 828 /regex/match-all1/591 1158s # End of match-all1 tests 1158s # Start of match-all-full1 tests 1158s ok 829 /regex/match-all-full1/585 1158s ok 830 /regex/match-all-full1/587 1158s ok 831 /regex/match-all-full1/588 1158s ok 832 /regex/match-all-full1/589 1158s ok 833 /regex/match-all-full1/590 1158s ok 834 /regex/match-all-full1/592 1158s # End of match-all-full1 tests 1158s # Start of match-all2 tests 1158s ok 835 /regex/match-all2/593 1158s ok 836 /regex/match-all2/595 1158s ok 837 /regex/match-all2/597 1158s # End of match-all2 tests 1158s # Start of match-all-full2 tests 1158s ok 838 /regex/match-all-full2/594 1158s ok 839 /regex/match-all-full2/596 1158s ok 840 /regex/match-all-full2/598 1158s # End of match-all-full2 tests 1158s # Start of match-all3 tests 1158s ok 841 /regex/match-all3/599 1158s ok 842 /regex/match-all3/601 1158s # End of match-all3 tests 1158s # Start of match-all-full3 tests 1158s ok 843 /regex/match-all-full3/600 1158s ok 844 /regex/match-all-full3/602 1158s # End of match-all-full3 tests 1158s # Start of match-notempty tests 1158s ok 845 /regex/match-notempty/603 1158s # End of match-notempty tests 1158s # Start of match-notempty-optimized tests 1158s ok 846 /regex/match-notempty-optimized/603 1158s # End of match-notempty-optimized tests 1158s # Start of match-notempty-atstart tests 1158s ok 847 /regex/match-notempty-atstart/604 1158s # End of match-notempty-atstart tests 1158s # Start of match-notempty-atstart-optimized tests 1158s ok 848 /regex/match-notempty-atstart-optimized/604 1158s # End of match-notempty-atstart-optimized tests 1158s # End of regex tests 1158s ok - glib/regex.test 1158s # Running test: glib/gnotification.test 1158s TAP version 14 1158s # random seed: R02S082f347232c92b9d77160b4791690246 1158s 1..2 1158s # Start of gnotification tests 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s ok 1 /gnotification/basic 1158s ok 2 /gnotification/properties 1158s # End of gnotification tests 1158s ok - glib/gnotification.test 1158s # Running test: glib/gdbus-connection-slow.test 1158s TAP version 14 1158s # random seed: R02Sce26d47393c976fa9e2270030c369cd4 1158s 1..2 1158s # Start of gdbus tests 1158s # Start of connection tests 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/flush/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/flush/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/flush/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/flush/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/flush/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/flush/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/flush/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/flush/.dirs/runtime 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s ok 1 /gdbus/connection/flush 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/large_message/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/large_message/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/large_message/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/large_message/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/large_message/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/large_message/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/large_message/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_6YQJ02/gdbus/connection/large_message/.dirs/runtime 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s ok 2 /gdbus/connection/large_message 1158s # End of connection tests 1158s # End of gdbus tests 1158s ok - glib/gdbus-connection-slow.test 1158s # Running test: glib/socket-address.test 1158s TAP version 14 1158s # random seed: R02Se48e1655c4f0a790e3ec943faa1602cc 1158s 1..2 1158s # Start of socket tests 1158s # Start of address tests 1158s # Start of unix tests 1158s ok 1 /socket/address/unix/construct 1158s ok 2 /socket/address/unix/to-string 1158s # End of unix tests 1158s # End of address tests 1158s # End of socket tests 1158s ok - glib/socket-address.test 1158s # Running test: glib/642026.test 1158s TAP version 14 1158s # random seed: R02Sf826ce5875381451749f6ca1e61ad944 1158s 1..1 1158s # Start of glib tests 1158s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1158s ok 1 /glib/642026 1158s # End of glib tests 1158s ok - glib/642026.test 1158s # Running test: glib/gdbus-proxy-well-known-name.test 1158s TAP version 14 1158s # random seed: R02S77ea1a5634952e24698771e7399a5d08 1158s 1..1 1158s # Start of gdbus tests 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_ZC06Z2/gdbus/proxy-well-known-name/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_ZC06Z2/gdbus/proxy-well-known-name/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_ZC06Z2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_ZC06Z2/gdbus/proxy-well-known-name/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_ZC06Z2/gdbus/proxy-well-known-name/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_ZC06Z2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_ZC06Z2/gdbus/proxy-well-known-name/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_ZC06Z2/gdbus/proxy-well-known-name/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_ZC06Z2/gdbus/proxy-well-known-name/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_ZC06Z2/gdbus/proxy-well-known-name/.dirs/runtime 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s ok 1 /gdbus/proxy-well-known-name 1158s # End of gdbus tests 1158s ok - glib/gdbus-proxy-well-known-name.test 1158s # Running test: glib/gutils-user-database.test 1158s TAP version 14 1158s # random seed: R02S31d7b73b2932ec0b50d43869b57fb70d 1158s 1..1 1158s # Start of gutils tests 1158s ok 1 /gutils/get_user_database_entry 1158s # End of gutils tests 1158s ok - glib/gutils-user-database.test 1158s # Running test: glib/markup-parse.test 1158s TAP version 14 1158s # random seed: R02S4532e3e4ef5363777c0498ce5bc90e06 1158s 1..71 1158s # Start of markup tests 1158s # Start of parse tests 1158s ok 1 /markup/parse/fail-38.gmarkup 1158s ok 2 /markup/parse/valid-5.gmarkup 1158s ok 3 /markup/parse/fail-9.gmarkup 1158s ok 4 /markup/parse/fail-25.gmarkup 1158s ok 5 /markup/parse/fail-21.gmarkup 1158s ok 6 /markup/parse/valid-2.gmarkup 1158s ok 7 /markup/parse/fail-44.gmarkup 1158s ok 8 /markup/parse/valid-8.gmarkup 1158s ok 9 /markup/parse/fail-31.gmarkup 1158s ok 10 /markup/parse/fail-45.gmarkup 1158s ok 11 /markup/parse/fail-16.gmarkup 1158s ok 12 /markup/parse/fail-36.gmarkup 1158s ok 13 /markup/parse/fail-13.gmarkup 1158s ok 14 /markup/parse/valid-7.gmarkup 1158s ok 15 /markup/parse/fail-46.gmarkup 1158s ok 16 /markup/parse/fail-29.gmarkup 1158s ok 17 /markup/parse/valid-15.gmarkup 1158s ok 18 /markup/parse/fail-33.gmarkup 1158s ok 19 /markup/parse/fail-26.gmarkup 1158s ok 20 /markup/parse/fail-43.gmarkup 1158s ok 21 /markup/parse/valid-3.gmarkup 1158s ok 22 /markup/parse/fail-17.gmarkup 1158s ok 23 /markup/parse/fail-22.gmarkup 1158s ok 24 /markup/parse/fail-53.gmarkup 1158s ok 25 /markup/parse/fail-20.gmarkup 1158s ok 26 /markup/parse/fail-11.gmarkup 1158s ok 27 /markup/parse/valid-12.gmarkup 1158s ok 28 /markup/parse/valid-6.gmarkup 1158s ok 29 /markup/parse/fail-10.gmarkup 1158s ok 30 /markup/parse/fail-40.gmarkup 1158s ok 31 /markup/parse/fail-32.gmarkup 1158s ok 32 /markup/parse/fail-39.gmarkup 1158s ok 33 /markup/parse/fail-37.gmarkup 1158s ok 34 /markup/parse/fail-1.gmarkup 1158s ok 35 /markup/parse/fail-41.gmarkup 1158s ok 36 /markup/parse/valid-9.gmarkup 1158s ok 37 /markup/parse/fail-18.gmarkup 1158s ok 38 /markup/parse/fail-34.gmarkup 1158s ok 39 /markup/parse/fail-47.gmarkup 1158s ok 40 /markup/parse/fail-28.gmarkup 1158s ok 41 /markup/parse/valid-4.gmarkup 1158s ok 42 /markup/parse/valid-17.gmarkup 1158s ok 43 /markup/parse/valid-14.gmarkup 1158s ok 44 /markup/parse/valid-10.gmarkup 1158s ok 45 /markup/parse/fail-35.gmarkup 1158s ok 46 /markup/parse/fail-7.gmarkup 1158s ok 47 /markup/parse/fail-24.gmarkup 1158s ok 48 /markup/parse/fail-14.gmarkup 1158s ok 49 /markup/parse/fail-5.gmarkup 1158s ok 50 /markup/parse/valid-16.gmarkup 1158s ok 51 /markup/parse/valid-13.gmarkup 1158s ok 52 /markup/parse/fail-30.gmarkup 1158s ok 53 /markup/parse/fail-3.gmarkup 1158s ok 54 /markup/parse/fail-50.gmarkup 1158s ok 55 /markup/parse/fail-52.gmarkup 1158s ok 56 /markup/parse/fail-8.gmarkup 1158s ok 57 /markup/parse/fail-2.gmarkup 1158s ok 58 /markup/parse/valid-11.gmarkup 1158s ok 59 /markup/parse/fail-42.gmarkup 1158s ok 60 /markup/parse/fail-48.gmarkup 1158s ok 61 /markup/parse/fail-49.gmarkup 1158s ok 62 /markup/parse/fail-23.gmarkup 1158s ok 63 /markup/parse/fail-6.gmarkup 1158s ok 64 /markup/parse/valid-1.gmarkup 1158s ok 65 /markup/parse/fail-19.gmarkup 1158s ok 66 /markup/parse/fail-27.gmarkup 1158s ok 67 /markup/parse/fail-4.gmarkup 1158s ok 68 /markup/parse/fail-15.gmarkup 1158s ok 69 /markup/parse/fail-51.gmarkup 1158s ok 70 /markup/parse/fail-54.gmarkup 1158s ok 71 /markup/parse/fail-12.gmarkup 1158s # End of parse tests 1158s # End of markup tests 1158s ok - glib/markup-parse.test 1158s # Running test: glib/charset.test 1158s TAP version 14 1158s # random seed: R02S5ce2cd87b2ecc7b30032c12a36470d3e 1158s 1..2 1158s # Start of charset tests 1158s # Test 0 1158s # Test 1 1158s # Test 2 1158s # Test 3 1158s ok 1 /charset/language_names_with_category 1158s ok 2 /charset/language_names_with_category_async 1158s # End of charset tests 1158s ok - glib/charset.test 1158s # Running test: glib/module-test-library.test 1158s TAP version 14 1158s # random seed: R02S3f2e17b25c7a66c3bdda9152d6571711 1158s 1..3 1158s # Start of module tests 1158s ok 1 /module/basics 1158s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1158s ok 2 /module/invalid-libtool-archive 1158s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1158s ok 3 /module/local-binding 1158s # End of module tests 1158s ok - glib/module-test-library.test 1158s # Running test: glib/contexts.test 1158s TAP version 14 1158s # random seed: R02S5af960ed49c021a39d022da8df3d8a5f 1158s 1..5 1158s # Start of gio tests 1158s # Start of contexts tests 1158s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1158s ok 1 /gio/contexts/thread-independence 1158s ok 2 /gio/contexts/context-independence 1158s # Start of context-specific tests 1158s ok 3 /gio/contexts/context-specific/identity 1158s ok 4 /gio/contexts/context-specific/emit 1158s ok 5 /gio/contexts/context-specific/emit-and-unref 1158s # End of context-specific tests 1158s # End of contexts tests 1158s # End of gio tests 1158s ok - glib/contexts.test 1158s # Running test: glib/converter-stream.test 1158s TAP version 14 1158s # random seed: R02S111a41d00d8ce7b5871d582a597dfb18 1158s 1..17 1158s # Start of converter tests 1158s ok 1 /converter/basics 1158s # End of converter tests 1158s # Start of converter-input-stream tests 1158s ok 2 /converter-input-stream/expander 1158s ok 3 /converter-input-stream/compressor 1158s # Start of truncation tests 1159s ok 4 /converter-input-stream/truncation/zlib 1159s ok 5 /converter-input-stream/truncation/gzip 1159s ok 6 /converter-input-stream/truncation/raw 1159s # End of truncation tests 1159s # Start of charset tests 1159s ok 7 /converter-input-stream/charset/utf8->latin1 1159s ok 8 /converter-input-stream/charset/latin1->utf8 1159s ok 9 /converter-input-stream/charset/fallbacks 1159s # End of charset tests 1159s # End of converter-input-stream tests 1159s # Start of converter-output-stream tests 1159s # Start of roundtrip tests 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1159s ok 10 /converter-output-stream/roundtrip/zlib-0 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1159s ok 11 /converter-output-stream/roundtrip/zlib-9 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1159s ok 12 /converter-output-stream/roundtrip/gzip-0 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1159s ok 13 /converter-output-stream/roundtrip/gzip-9 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1159s ok 14 /converter-output-stream/roundtrip/raw-0 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1159s ok 15 /converter-output-stream/roundtrip/raw-9 1159s # End of roundtrip tests 1159s # End of converter-output-stream tests 1159s # Start of converter-stream tests 1159s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1159s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64ecba42ae40 and GSocketClientAsyncConnectData 0x64ecba820320 1159s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1159s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1159s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64ecba43b5c0 for GSocketClientAsyncConnectData 0x64ecba820320 1159s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1159s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1159s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1159s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1159s ok 16 /converter-stream/pollable 1159s ok 17 /converter-stream/leftover 1159s # End of converter-stream tests 1159s ok - glib/converter-stream.test 1159s # Running test: glib/gdbus-export.test 1159s TAP version 14 1159s # random seed: R02S7a736294d156c73d77030c3053a4d4c4 1159s 1..6 1159s # Start of gdbus tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration/.dirs/runtime 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s ok 1 /gdbus/object-registration 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration-with-closures/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration-with-closures/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration-with-closures/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration-with-closures/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration-with-closures/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration-with-closures/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration-with-closures/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_SCX7Z2/gdbus/object-registration-with-closures/.dirs/runtime 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s ok 2 /gdbus/object-registration-with-closures 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/registered-interfaces/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/registered-interfaces/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_SCX7Z2/gdbus/registered-interfaces/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/registered-interfaces/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_SCX7Z2/gdbus/registered-interfaces/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/registered-interfaces/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/registered-interfaces/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_SCX7Z2/gdbus/registered-interfaces/.dirs/runtime 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s ok 3 /gdbus/registered-interfaces 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/async-properties/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/async-properties/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_SCX7Z2/gdbus/async-properties/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/async-properties/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_SCX7Z2/gdbus/async-properties/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/async-properties/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/async-properties/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_SCX7Z2/gdbus/async-properties/.dirs/runtime 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s ok 4 /gdbus/async-properties 1159s # Start of threaded-unregistration tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/object/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/object/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/object/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/object/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/object/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/object/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/object/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/object/.dirs/runtime 1159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1159s # /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 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1160s # slow test /gdbus/threaded-unregistration/object executed in 1.05 secs 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/subtree/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/subtree/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/subtree/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/subtree/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/subtree/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_SCX7Z2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1160s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1160s # /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 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1161s # slow test /gdbus/threaded-unregistration/subtree executed in 1.05 secs 1161s # End of threaded-unregistration tests 1161s # End of gdbus tests 1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1161s ok - glib/gdbus-export.test 1161s # Running test: glib/dir.test 1161s TAP version 14 1161s # random seed: R02S9113bc712c9b25e7f690aee5d3a15817 1161s 1..3 1161s # Start of dir tests 1161s ok 1 /dir/read 1161s ok 2 /dir/nonexisting 1161s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1161s ok 3 /dir/refcounting 1161s # End of dir tests 1161s ok - glib/dir.test 1161s # Running test: glib/gdbus-addresses.test 1161s TAP version 14 1161s # random seed: R02S048ac83c2b0bcc76a1d1d37f74196f79 1161s 1..9 1161s # Start of gdbus tests 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/empty-address/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/empty-address/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/empty-address/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/empty-address/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/empty-address/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/empty-address/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/empty-address/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/empty-address/.dirs/runtime 1161s ok 1 /gdbus/empty-address 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unsupported-address/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unsupported-address/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unsupported-address/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unsupported-address/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unsupported-address/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unsupported-address/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unsupported-address/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unsupported-address/.dirs/runtime 1161s ok 2 /gdbus/unsupported-address 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/address-parsing/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/address-parsing/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/address-parsing/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/address-parsing/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/address-parsing/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/address-parsing/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/address-parsing/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/address-parsing/.dirs/runtime 1161s ok 3 /gdbus/address-parsing 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unix-address/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unix-address/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unix-address/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unix-address/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unix-address/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unix-address/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unix-address/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/unix-address/.dirs/runtime 1161s ok 4 /gdbus/unix-address 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/nonce-tcp-address/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/nonce-tcp-address/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/nonce-tcp-address/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/nonce-tcp-address/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/nonce-tcp-address/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/nonce-tcp-address/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/nonce-tcp-address/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/nonce-tcp-address/.dirs/runtime 1161s ok 5 /gdbus/nonce-tcp-address 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/tcp-address/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/tcp-address/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/tcp-address/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/tcp-address/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/tcp-address/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/tcp-address/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/tcp-address/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/tcp-address/.dirs/runtime 1161s ok 6 /gdbus/tcp-address 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/autolaunch-address/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/autolaunch-address/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/autolaunch-address/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/autolaunch-address/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/autolaunch-address/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/autolaunch-address/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/autolaunch-address/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/autolaunch-address/.dirs/runtime 1161s ok 7 /gdbus/autolaunch-address 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/mixed-address/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/mixed-address/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/mixed-address/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/mixed-address/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/mixed-address/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/mixed-address/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/mixed-address/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/mixed-address/.dirs/runtime 1161s ok 8 /gdbus/mixed-address 1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/escape-address/.dirs/home 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/escape-address/.dirs/cache 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/escape-address/.dirs/system-config2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/escape-address/.dirs/config 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_QAJ5Z2/gdbus/escape-address/.dirs/system-data2 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/escape-address/.dirs/data 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/escape-address/.dirs/state 1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_QAJ5Z2/gdbus/escape-address/.dirs/runtime 1161s ok 9 /gdbus/escape-address 1161s # End of gdbus tests 1161s ok - glib/gdbus-addresses.test 1161s # Running test: glib/defaultvalue.test 1161s TAP version 14 1161s # random seed: R02S1ac9a73860efd991fda55ceb8bb560b4 1161s 1..84 1161s # Start of Default Values tests 1161s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1161s ok 2 /Default Values/GAppLaunchContext 1161s ok 3 /Default Values/GApplicationCommandLine 1161s # skipping GApplication:is-remote 1161s ok 4 /Default Values/GApplication 1161s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1161s ok 6 /Default Values/GBindingGroup 1161s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1161s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1161s ok 9 /Default Values/GBytesIcon 1161s ok 10 /Default Values/GCancellable 1161s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1161s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1161s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1161s ok 14 /Default Values/GCredentials 1161s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1161s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1161s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1161s ok 18 /Default Values/GDBusAuthObserver 1161s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1161s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1161s ok 21 /Default Values/GDBusMessage 1161s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1161s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1161s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1161s ok 25 /Default Values/GDBusObjectProxy 1161s ok 26 /Default Values/GDBusObjectSkeleton 1161s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1161s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1161s ok 29 /Default Values/GEmblem 1161s ok 30 /Default Values/GEmblemedIcon 1161s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1161s ok 32 /Default Values/GFileInfo 1161s ok 33 /Default Values/GFileInputStream 1161s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1161s ok 35 /Default Values/GFileOutputStream 1161s ok 36 /Default Values/GFilenameCompleter 1161s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1161s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1161s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1161s ok 40 /Default Values/GInitiallyUnowned 1161s ok 41 /Default Values/GIOModule 1161s ok 42 /Default Values/GListStore 1161s ok 43 /Default Values/GMemoryInputStream 1161s ok 44 /Default Values/GMemoryOutputStream 1161s ok 45 /Default Values/GMenu 1161s ok 46 /Default Values/GMenuItem 1161s ok 47 /Default Values/GMountOperation 1161s ok 48 /Default Values/GNativeSocketAddress 1161s ok 49 /Default Values/GNetworkAddress 1161s ok 50 /Default Values/GNetworkService 1161s ok 51 /Default Values/GNotification 1161s ok 52 /Default Values/GObject 1161s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1161s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1161s # skipping GProxyAddressEnumerator:proxy-resolver 1161s ok 54 /Default Values/GProxyAddressEnumerator 1161s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1161s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1161s ok 57 /Default Values/GSignalGroup 1161s ok 58 /Default Values/GSimpleAction 1161s ok 59 /Default Values/GSimpleActionGroup 1161s ok 60 /Default Values/GSimpleAsyncResult 1161s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1161s ok 62 /Default Values/GSimplePermission 1161s ok 63 /Default Values/GSimpleProxyResolver 1161s # skipping GSocketClient:proxy-resolver 1161s ok 64 /Default Values/GSocketClient 1161s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1161s ok 66 /Default Values/GSocket # SKIP initialization failed 1161s ok 67 /Default Values/GSocketListener 1161s ok 68 /Default Values/GSocketService 1161s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1161s ok 70 /Default Values/GSubprocessLauncher 1161s # GLib-GIO-DEBUG: GTask 0x645d76cb2fb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1161s ok 71 /Default Values/GTask 1161s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1161s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1161s ok 74 /Default Values/GTestDBus 1161s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1161s ok 76 /Default Values/GThreadedSocketService 1161s ok 77 /Default Values/GTlsInteraction 1161s ok 78 /Default Values/GTlsPassword 1161s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1161s ok 80 /Default Values/GUnixFDList 1161s ok 81 /Default Values/GVfs 1161s ok 82 /Default Values/GVolumeMonitor 1161s ok 83 /Default Values/GZlibCompressor 1161s ok 84 /Default Values/GZlibDecompressor 1161s # End of Default Values tests 1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1161s ok - glib/defaultvalue.test 1161s # Running test: glib/portal-support-none.test 1161s TAP version 14 1161s # random seed: R02S726a5ba5ad8bce3ad973f75a3d9ea738 1161s 1..1 1161s # Start of portal-support tests 1161s ok 1 /portal-support/none 1161s # End of portal-support tests 1161s ok - glib/portal-support-none.test 1161s # Running test: glib/rec-mutex.test 1161s TAP version 14 1161s # random seed: R02Sbe06825742f51cda0da4d1673da10b20 1161s 1..29 1161s # Start of thread tests 1161s ok 1 /thread/rec-mutex1 1161s ok 2 /thread/rec-mutex2 1161s ok 3 /thread/rec-mutex3 1161s ok 4 /thread/rec-mutex4 1161s # Start of rec-mutex tests 1161s # Start of perf tests 1161s # Start of uncontended tests 1161s # max perf: 1.000000 mips 1161s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1161s # max perf: inf mips 1161s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1161s # max perf: inf mips 1161s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1161s # max perf: 1.000000 mips 1161s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1161s # max perf: inf mips 1161s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1161s # End of uncontended tests 1161s # Start of contended1 tests 1161s # max perf: inf mips 1161s ok 10 /thread/rec-mutex/perf/contended1/depth1 1161s # max perf: inf mips 1161s ok 11 /thread/rec-mutex/perf/contended1/depth2 1161s # max perf: inf mips 1161s ok 12 /thread/rec-mutex/perf/contended1/depth3 1161s # max perf: inf mips 1161s ok 13 /thread/rec-mutex/perf/contended1/depth4 1161s # max perf: 2.000000 mips 1161s ok 14 /thread/rec-mutex/perf/contended1/depth5 1161s # End of contended1 tests 1161s # Start of contended2 tests 1161s # max perf: 3.000000 mips 1161s ok 15 /thread/rec-mutex/perf/contended2/depth1 1161s # max perf: inf mips 1161s ok 16 /thread/rec-mutex/perf/contended2/depth2 1161s # max perf: 3.000000 mips 1161s ok 17 /thread/rec-mutex/perf/contended2/depth3 1161s # max perf: 3.000000 mips 1161s ok 18 /thread/rec-mutex/perf/contended2/depth4 1161s # max perf: inf mips 1161s ok 19 /thread/rec-mutex/perf/contended2/depth5 1161s # End of contended2 tests 1161s # Start of contended3 tests 1161s # max perf: 2.000000 mips 1161s ok 20 /thread/rec-mutex/perf/contended3/depth1 1161s # max perf: 2.000000 mips 1161s ok 21 /thread/rec-mutex/perf/contended3/depth2 1161s # max perf: 2.000000 mips 1161s ok 22 /thread/rec-mutex/perf/contended3/depth3 1161s # max perf: 2.000000 mips 1161s ok 23 /thread/rec-mutex/perf/contended3/depth4 1161s # max perf: 1.333333 mips 1161s ok 24 /thread/rec-mutex/perf/contended3/depth5 1161s # End of contended3 tests 1161s # Start of contended4 tests 1161s # max perf: 2.500000 mips 1161s ok 25 /thread/rec-mutex/perf/contended4/depth1 1161s # max perf: 2.500000 mips 1161s ok 26 /thread/rec-mutex/perf/contended4/depth2 1161s # max perf: 2.500000 mips 1161s ok 27 /thread/rec-mutex/perf/contended4/depth3 1161s # max perf: inf mips 1161s ok 28 /thread/rec-mutex/perf/contended4/depth4 1161s # max perf: inf mips 1161s ok 29 /thread/rec-mutex/perf/contended4/depth5 1161s # End of contended4 tests 1161s # End of perf tests 1161s # End of rec-mutex tests 1161s # End of thread tests 1161s ok - glib/rec-mutex.test 1161s # Running test: glib/volumemonitor.test 1161s TAP version 14 1161s # random seed: R02S13bf334bc5333563115944ad45d2374a 1161s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1161s 1..3 1161s # Start of volumemonitor tests 1161s ok 1 /volumemonitor/connected_drives 1161s ok 2 /volumemonitor/volumes 1161s ok 3 /volumemonitor/mounts 1161s # End of volumemonitor tests 1161s ok - glib/volumemonitor.test 1161s # Running test: glib/power-profile-monitor-dbus.test 1162s # Executing: glib/power-profile-monitor-dbus.test 1162s TAP version 13 1162s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1162s 1..1 1162s ok - glib/power-profile-monitor-dbus.test 1162s # Running test: glib/gdbus-non-socket.test 1162s TAP version 14 1162s # random seed: R02S667b4b9b0b9c791e107b4afec0984b3c 1162s 1..1 1162s # Start of gdbus tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_GPXJ02/gdbus/non-socket/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_GPXJ02/gdbus/non-socket/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_GPXJ02/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_GPXJ02/gdbus/non-socket/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_GPXJ02/gdbus/non-socket/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_GPXJ02/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_GPXJ02/gdbus/non-socket/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_GPXJ02/gdbus/non-socket/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_GPXJ02/gdbus/non-socket/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_GPXJ02/gdbus/non-socket/.dirs/runtime 1162s ok 1 /gdbus/non-socket 1162s # End of gdbus tests 1162s ok - glib/gdbus-non-socket.test 1162s # Running test: glib/memory-input-stream.test 1162s TAP version 14 1162s # random seed: R02Se764efaaf333c9c05e77396df580a569 1162s 1..6 1162s # Start of memory-input-stream tests 1162s ok 1 /memory-input-stream/read-chunks 1162s ok 2 /memory-input-stream/async 1162s ok 3 /memory-input-stream/seek 1162s ok 4 /memory-input-stream/truncate 1162s ok 5 /memory-input-stream/read-bytes 1162s ok 6 /memory-input-stream/from-bytes 1162s # End of memory-input-stream tests 1162s ok - glib/memory-input-stream.test 1162s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1162s TAP version 14 1162s # random seed: R02S61ca4e96141478c36bd295ee74e629f1 1162s 1..8 1162s # Start of gdbus tests 1162s # Start of codegen tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/annotations/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/annotations/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/annotations/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/annotations/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/annotations/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/annotations/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/annotations/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/annotations/.dirs/runtime 1162s ok 1 /gdbus/codegen/annotations 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/interface_stability/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/interface_stability/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/interface_stability/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/interface_stability/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/interface_stability/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/interface_stability/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/interface_stability/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/interface_stability/.dirs/runtime 1162s ok 2 /gdbus/codegen/interface_stability 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/object-manager/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/object-manager/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/object-manager/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/object-manager/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/object-manager/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/object-manager/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/object-manager/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/object-manager/.dirs/runtime 1162s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1162s ok 3 /gdbus/codegen/object-manager 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/property-naming/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/property-naming/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/property-naming/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/property-naming/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/property-naming/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/property-naming/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/property-naming/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/property-naming/.dirs/runtime 1162s ok 4 /gdbus/codegen/property-naming 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/autocleanups/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/autocleanups/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/autocleanups/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/autocleanups/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/autocleanups/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/autocleanups/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/autocleanups/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/autocleanups/.dirs/runtime 1162s ok 5 /gdbus/codegen/autocleanups 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/deprecations/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/deprecations/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/deprecations/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/deprecations/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/deprecations/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/deprecations/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/deprecations/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/deprecations/.dirs/runtime 1162s ok 6 /gdbus/codegen/deprecations 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/standalone-interface-info/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/standalone-interface-info/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/standalone-interface-info/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/standalone-interface-info/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/standalone-interface-info/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/standalone-interface-info/.dirs/runtime 1162s ok 7 /gdbus/codegen/standalone-interface-info 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/unix-fd-list/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/unix-fd-list/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/unix-fd-list/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/unix-fd-list/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/unix-fd-list/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/unix-fd-list/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/unix-fd-list/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XL8J02/gdbus/codegen/unix-fd-list/.dirs/runtime 1162s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1162s ok 8 /gdbus/codegen/unix-fd-list 1162s # End of codegen tests 1162s # End of gdbus tests 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s ok - glib/gdbus-test-codegen-min-required-2-64.test 1162s # Running test: glib/date.test 1162s TAP version 14 1162s # random seed: R02S7cb7b36d3f06643267bfd156e031dd41 1162s 1..121 1162s # Start of date tests 1162s ok 1 /date/basic 1162s ok 2 /date/empty 1162s ok 3 /date/dmy 1162s ok 4 /date/julian 1162s ok 5 /date/compare 1162s ok 6 /date/dates 1162s ok 7 /date/strftime 1162s ok 8 /date/two-digit-years 1162s ok 9 /date/parse 1162s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1162s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1162s ok 11 /date/month_substring 1162s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1162s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1162s ok 13 /date/clamp 1162s ok 14 /date/order 1162s ok 15 /date/copy 1162s # Vector 0: 0000-00-00, invalid 1162s # Vector 1: 0001-01-01, valid 1162s # Vector 2: 0000-01-01, invalid 1162s # Vector 3: 2000-02-30, invalid 1162s # Vector 4: 2000-02-29, valid 1162s # Vector 5: 2001-02-29, invalid 1162s # Vector 6: 65535-01-01, valid 1162s ok 16 /date/valid-dmy 1162s # Start of parse tests 1162s # Test 0 1162s # Test 1 1162s ok 17 /date/parse/invalid 1162s # End of parse tests 1162s # Start of year tests 1162s ok 18 /date/year/1 1162s ok 19 /date/year/2 1162s ok 20 /date/year/3 1162s ok 21 /date/year/4 1162s ok 22 /date/year/5 1162s ok 23 /date/year/6 1162s ok 24 /date/year/7 1162s ok 25 /date/year/8 1162s ok 26 /date/year/9 1162s ok 27 /date/year/10 1162s ok 28 /date/year/11 1162s ok 29 /date/year/12 1162s ok 30 /date/year/13 1162s ok 31 /date/year/14 1162s ok 32 /date/year/98 1162s ok 33 /date/year/99 1162s ok 34 /date/year/100 1162s ok 35 /date/year/101 1162s ok 36 /date/year/102 1162s ok 37 /date/year/103 1162s ok 38 /date/year/397 1162s ok 39 /date/year/398 1162s ok 40 /date/year/399 1162s ok 41 /date/year/400 1162s ok 42 /date/year/401 1162s ok 43 /date/year/402 1162s ok 44 /date/year/403 1162s ok 45 /date/year/404 1162s ok 46 /date/year/405 1162s ok 47 /date/year/406 1162s ok 48 /date/year/1598 1162s ok 49 /date/year/1599 1162s ok 50 /date/year/1600 1162s ok 51 /date/year/1601 1162s ok 52 /date/year/1602 1162s ok 53 /date/year/1650 1162s ok 54 /date/year/1651 1162s ok 55 /date/year/1897 1162s ok 56 /date/year/1898 1162s ok 57 /date/year/1899 1162s ok 58 /date/year/1900 1162s ok 59 /date/year/1901 1162s ok 60 /date/year/1902 1162s ok 61 /date/year/1903 1162s ok 62 /date/year/1961 1162s ok 63 /date/year/1962 1162s ok 64 /date/year/1963 1162s ok 65 /date/year/1964 1162s ok 66 /date/year/1965 1162s ok 67 /date/year/1967 1162s ok 68 /date/year/1968 1162s ok 69 /date/year/1969 1162s ok 70 /date/year/1970 1162s ok 71 /date/year/1971 1162s ok 72 /date/year/1972 1162s ok 73 /date/year/1973 1162s ok 74 /date/year/1974 1162s ok 75 /date/year/1975 1162s ok 76 /date/year/1976 1162s ok 77 /date/year/1977 1162s ok 78 /date/year/1978 1162s ok 79 /date/year/1979 1162s ok 80 /date/year/1980 1162s ok 81 /date/year/1981 1162s ok 82 /date/year/1982 1162s ok 83 /date/year/1983 1162s ok 84 /date/year/1984 1162s ok 85 /date/year/1985 1162s ok 86 /date/year/1986 1162s ok 87 /date/year/1987 1162s ok 88 /date/year/1988 1162s ok 89 /date/year/1989 1162s ok 90 /date/year/1990 1162s ok 91 /date/year/1991 1162s ok 92 /date/year/1992 1162s ok 93 /date/year/1993 1162s ok 94 /date/year/1994 1162s ok 95 /date/year/1995 1162s ok 96 /date/year/1996 1162s ok 97 /date/year/1997 1162s ok 98 /date/year/1998 1162s ok 99 /date/year/1999 1162s ok 100 /date/year/2000 1162s ok 101 /date/year/2001 1162s ok 102 /date/year/2002 1162s ok 103 /date/year/2003 1162s ok 104 /date/year/2004 1162s ok 105 /date/year/2005 1162s ok 106 /date/year/2006 1162s ok 107 /date/year/2007 1162s ok 108 /date/year/2008 1162s ok 109 /date/year/2009 1162s ok 110 /date/year/2010 1162s ok 111 /date/year/2011 1162s ok 112 /date/year/2012 1162s ok 113 /date/year/3000 1162s ok 114 /date/year/3001 1162s ok 115 /date/year/3002 1162s ok 116 /date/year/3998 1162s ok 117 /date/year/3999 1162s ok 118 /date/year/4000 1162s ok 119 /date/year/4001 1162s ok 120 /date/year/4002 1162s ok 121 /date/year/4003 1162s # End of year tests 1162s # End of date tests 1162s ok - glib/date.test 1162s # Running test: glib/live-g-file.test 1162s TAP version 14 1162s # random seed: R02S703fdf76a338716dd2e24f68ab749f3e 1162s 1..13 1162s # Start of live-g-file tests 1162s # Cleaning target testing structure in 'testdir_live-g-file'... 1162s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1162s ok 1 /live-g-file/prep_clean_structure 1162s # 1162s # Going to create testing structure in 'testdir_live-g-file'... 1162s # Creating directory 'dir1'... 1162s # Creating directory 'dir1/subdir'... 1162s # Creating directory 'dir2'... 1162s # Creating directory 'dir-target'... 1162s # Creating directory 'dir_no-access'... 1162s # Creating directory 'dir_no-write'... 1162s # Creating file 'target-file'... 1162s # Creating file 'normal_file'... 1162s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1162s # Creating file 'executable_file'... 1162s # Creating file 'private_file'... 1162s # Creating file 'normal_file2'... 1162s # Creating file 'readonly_file'... 1162s # Creating file 'UTF_pr?i?lis? z'... 1162s # Creating directory 'dir_pr?i?lis? z'... 1162s # Creating symlink 'lost_symlink' --> 'nowhere'... 1162s # Creating directory 'dir_hidden'... 1162s # Creating file 'dir_hidden/.a-hidden-file'... 1162s # Creating file 'dir_hidden/file-in-.hidden1'... 1162s # Creating file 'dir_hidden/file-in-.hidden2'... 1162s # Creating pattern file... 1162s # done. 1162s ok 2 /live-g-file/create_structure 1162s # Testing sample structure in 'testdir_live-g-file'... 1162s # Testing file 'dir1'... 1162s # Testing file 'dir1/subdir'... 1162s # Testing file 'dir2'... 1162s # Testing file 'dir-target'... 1162s # Testing file 'dir_no-access'... 1162s # Testing file 'dir_no-write'... 1162s # Testing file 'target-file'... 1162s # Testing file 'normal_file'... 1162s # Testing file 'normal_file-symlink'... 1162s # Testing file 'executable_file'... 1162s # Testing file 'private_file'... 1162s # Testing file 'normal_file2'... 1162s # Testing file 'readonly_file'... 1162s # Testing file 'UTF_pr?i?lis? z'... 1162s # Testing file 'dir_pr?i?lis? z'... 1162s # Testing file 'lost_symlink'... 1162s # Testing file 'dir_hidden'... 1162s # Testing file 'dir_hidden/.a-hidden-file'... 1162s # Testing file 'dir_hidden/file-in-.hidden1'... 1162s # Testing file 'dir_hidden/file-in-.hidden2'... 1162s # Testing pattern file... 1162s # read 65536 bytes, total = 65536 of 65536. 1162s ok 3 /live-g-file/test_initial_structure 1162s # Traversing through the sample structure in 'testdir_live-g-file'... 1162s # Found file dir1, relative to root: dir1 1162s # Found file subdir, relative to root: dir1/subdir 1162s # Found file dir2, relative to root: dir2 1162s # Found file dir-target, relative to root: dir-target 1162s # Found file dir_no-access, relative to root: dir_no-access 1162s # Found file dir_no-write, relative to root: dir_no-write 1162s # Found file target-file, relative to root: target-file 1162s # Found file normal_file, relative to root: normal_file 1162s # Found file normal_file-symlink, relative to root: normal_file-symlink 1162s # Found file executable_file, relative to root: executable_file 1162s # Found file private_file, relative to root: private_file 1162s # Found file normal_file2, relative to root: normal_file2 1162s # Found file readonly_file, relative to root: readonly_file 1162s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1162s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1162s # Found file lost_symlink, relative to root: lost_symlink 1162s # Found file dir_hidden, relative to root: dir_hidden 1162s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1162s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1162s # Found file .hidden, relative to root: dir_hidden/.hidden 1162s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1162s # Found file pattern_file, relative to root: pattern_file 1162s ok 4 /live-g-file/test_traverse_structure 1162s # Test enumerate 'testdir_live-g-file'... 1162s # Testing file 'dir_no-access' 1162s # Testing file 'normal_file' 1162s # Testing file 'normal_file-symlink' 1162s # Testing file 'not_exists' 1162s # Testing file 'not_exists' 1162s # Testing file 'not_exists2' 1162s # Testing file 'not_exists3' 1162s # Testing file 'not_exists4' 1162s # Testing file 'dir_no-execute/file' 1162s ok 5 /live-g-file/test_enumerate 1162s # test_open: 'dir1' 1162s # test_open: 'dir_no-access' 1162s # test_open: 'target-file' 1162s # test_open: 'normal_file-symlink' 1162s # test_open: 'executable_file' 1162s # test_open: 'private_file' 1162s # test_open: 'readonly_file' 1162s # test_open: 'UTF_pr?i?lis? z' 1162s # test_open: 'pattern_file' 1162s # test_open: 'not_exists' 1162s # test_open: 'dir_no-execute/file' 1162s # test_open: 'lost_symlink' 1162s ok 6 /live-g-file/test_open 1162s # test_create: 'dir1' 1162s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir1?: Is a directory 1162s # test_create: 'dir1/subdir' 1162s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir1/subdir?: Is a directory 1162s # test_create: 'dir2' 1162s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir2?: File exists 1162s # test_create: 'normal_file' 1162s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/normal_file?: File exists 1162s # test_create: 'executable_file' 1162s # test_create: 'private_file' 1162s # test_create: 'normal_file2' 1162s # test_create: 'UTF_pr?i?lis? z' 1162s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1162s # test_create: 'dir_pr?i?lis? z' 1162s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1162s # test_create: 'pattern_file' 1162s # test_create: 'not_exists2' 1162s # test_create: 'not_exists3' 1162s # test_create: 'not_exists4' 1162s ok 7 /live-g-file/test_create 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1162s # res = 0, error code 25 = Can?t recursively copy directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir1/subdir' --> '.' 1162s # res = 0, error code 2 = Target file exists 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir1/subdir' --> 'target-file' 1162s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1162s # res = 0, error code 25 = Can?t recursively copy directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1162s # res = 0, error code 25 = Can?t recursively copy directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1162s # res = 0, error code 25 = Can?t recursively copy directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir2' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir-target' --> 'dir-target' 1162s # res = 0, error code 25 = Can?t recursively copy directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir-target' --> '.' 1162s # res = 0, error code 2 = Target file exists 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir-target' --> 'target-file' 1162s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/target-file/dir-target?: Not a directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir-target' --> 'not_exists' 1162s # res = 0, error code 25 = Can?t recursively copy directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir-target' --> 'dir_no-access' 1162s # res = 0, error code 25 = Can?t recursively copy directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'dir-target' --> 'dir_no-write' 1162s # res = 0, error code 25 = Can?t recursively copy directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'target-file' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'target-file' --> '.' 1162s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/target-file?: File exists 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'target-file' --> 'target-file' 1162s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/target-file/target-file?: Not a directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'target-file' --> 'not_exists' 1162s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists/target-file?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'target-file' --> 'dir_no-access' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'target-file' --> 'dir_no-write' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file-symlink' --> '.' 1162s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/normal_file-symlink: File exists 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1162s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1162s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1162s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1162s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'executable_file' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'executable_file' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'executable_file' --> '.' 1162s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/executable_file?: File exists 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'executable_file' --> 'target-file' 1162s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/target-file/executable_file?: Not a directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'executable_file' --> 'not_exists' 1162s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'executable_file' --> 'dir_no-access' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'executable_file' --> 'dir_no-write' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'private_file' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'private_file' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'private_file' --> '.' 1162s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/private_file?: File exists 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'private_file' --> 'target-file' 1162s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/target-file/private_file?: Not a directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'private_file' --> 'not_exists' 1162s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists/private_file?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'private_file' --> 'dir_no-access' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'private_file' --> 'dir_no-write' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file2' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file2' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file2' --> '.' 1162s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/normal_file2?: File exists 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file2' --> 'target-file' 1162s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/target-file/normal_file2?: Not a directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file2' --> 'not_exists' 1162s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1162s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1162s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1162s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'pattern_file' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'pattern_file' --> '.' 1162s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/pattern_file?: File exists 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'pattern_file' --> 'target-file' 1162s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/target-file/pattern_file?: Not a directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'pattern_file' --> 'not_exists' 1162s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1162s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'not_exists' --> 'dir-target' 1162s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'not_exists' --> '.' 1162s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'not_exists' --> 'target-file' 1162s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'not_exists' --> 'not_exists' 1162s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'not_exists' --> 'dir_no-access' 1162s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'not_exists' --> 'dir_no-write' 1162s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists?: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'not_exists' --> 'dir-target' 1162s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'lost_symlink' --> 'dir-target' 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'lost_symlink' --> '.' 1162s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/lost_symlink: File exists 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'lost_symlink' --> 'target-file' 1162s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/target-file/lost_symlink: Not a directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'lost_symlink' --> 'not_exists' 1162s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1162s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1162s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1162s ok 8 /live-g-file/test_copy_move 1162s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir1 1162s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir1: Directory not empty 1162s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir2 1162s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir2: No such file or directory 1162s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/executable_file 1162s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/readonly_file 1162s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_pr?i?lis? z 1162s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists 1162s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists: No such file or directory 1162s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists 1162s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/not_exists: No such file or directory 1162s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-execute/file 1162s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/dir_no-execute/file: No such file or directory 1162s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-6PKP02/testdir_live-g-file/lost_symlink 1162s ok 9 /live-g-file/test_delete 1162s # We do not have CAP_DAC_OVERRIDE or equivalent 1162s ok 10 /live-g-file/test_make_directory_with_parents 1162s # Cleaning target testing structure in 'testdir_live-g-file'... 1162s # deleting 'dir1' 1162s # deleting 'subdir' 1162s # deleting 'dir-target' 1162s # deleting 'dir2' 1162s # deleting 'target-file' 1162s # deleting 'normal_file-symlink' 1162s # deleting 'pattern_file' 1162s # deleting 'executable_file' 1162s # deleting 'private_file' 1162s # deleting 'normal_file2' 1162s # deleting 'UTF_pr?i?lis? z' 1162s # deleting 'lost_symlink' 1162s # deleting 'dir_no-access' 1162s # deleting 'dir_no-write' 1162s # deleting 'target-file' 1162s # deleting 'normal_file' 1162s # deleting 'normal_file-symlink' 1162s # deleting 'executable_file~' 1162s # deleting 'private_file' 1162s # deleting 'normal_file2~' 1162s # deleting 'a' 1162s # deleting 'UTF_pr?i?lis? z' 1162s # deleting 'dir_hidden' 1162s # deleting '.a-hidden-file' 1162s # deleting 'file-in-.hidden1' 1162s # deleting '.hidden' 1162s # deleting 'file-in-.hidden2' 1162s # deleting 'pattern_file' 1162s # deleting 'normal_file2' 1162s # deleting 'not_exists2' 1162s # deleting 'not_exists3' 1162s # deleting 'not_exists4' 1162s ok 11 /live-g-file/final_clean 1162s # Start of test_unix_is_mountpoint tests 1162s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1162s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1162s # End of test_unix_is_mountpoint tests 1162s # End of live-g-file tests 1162s ok - glib/live-g-file.test 1162s # Running test: glib/memory-monitor.test 1162s TAP version 14 1162s # random seed: R02Sbb17a23d9ef6ad16b6959bf8389df6b0 1162s 1..1 1162s # Start of memory-monitor tests 1162s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1162s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1162s ok 1 /memory-monitor/default 1162s # End of memory-monitor tests 1162s ok - glib/memory-monitor.test 1162s # Running test: glib/spawn-multithreaded.test 1162s TAP version 14 1162s # random seed: R02S06e675df385fa2c8d78df1c32a09d5c6 1162s 1..4 1162s # Start of gthread tests 1163s # Child 12060 (ttl 1) exited, status 0 1164s # Child 12061 (ttl 2) exited, status 0 1164s ok 1 /gthread/spawn-childs 1164s # slow test /gthread/spawn-childs executed in 2.00 secs 1164s # Created pid: 12065 (ttl 2) 1164s # Created pid: 12066 (ttl 1) 1165s # Child 12066 (ttl 1) exited, status 0 1166s # Child 12065 (ttl 2) exited, status 0 1166s ok 2 /gthread/spawn-childs-threads 1166s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1166s ok 3 /gthread/spawn-sync 1166s ok 4 /gthread/spawn-async 1166s # End of gthread tests 1166s ok - glib/spawn-multithreaded.test 1166s # Running test: glib/node.test 1166s TAP version 14 1166s # random seed: R02Sa13c7d155dbf0262fb364fca715d49c1 1166s 1..6 1166s # Start of node tests 1166s ok 1 /node/allocation 1166s ok 2 /node/construction 1166s ok 3 /node/traversal 1166s ok 4 /node/misc 1166s ok 5 /node/unlink 1166s ok 6 /node/copy 1166s # End of node tests 1166s ok - glib/node.test 1166s # Running test: glib/accumulator.test 1166s TAP version 14 1166s # random seed: R02S242d21af23482f4060f4591b99cee182 1166s 1..1 1166s # Start of gobject tests 1166s ok 1 /gobject/accumulator 1166s # End of gobject tests 1166s ok - glib/accumulator.test 1166s # Running test: glib/notify-init2.test 1166s TAP version 14 1166s # random seed: R02S6d7e7ef595e0682940870ec31455a356 1166s 1..1 1166s # Start of properties tests 1166s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1166s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1166s ok 1 /properties/notify-in-init2 1166s # End of properties tests 1166s ok - glib/notify-init2.test 1166s # Running test: glib/g-file-info-filesystem-readonly.test 1166s TAP version 14 1166s # random seed: R02Saa320f7146c282aa9663a96699686f8f 1166s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1166s 1..2 1166s # Start of g-file-info-filesystem-readonly tests 1166s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1166s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1166s # End of g-file-info-filesystem-readonly tests 1166s ok - glib/g-file-info-filesystem-readonly.test 1166s # Running test: glib/markup-escape.test 1166s TAP version 14 1166s # random seed: R02S8d654aa20c48a21feba40677ff6420b9 1166s 1..41 1166s # Start of markup tests 1166s ok 1 /markup/format 1166s # Start of escape-text tests 1166s ok 2 /markup/escape-text/0 1166s ok 3 /markup/escape-text/1 1166s ok 4 /markup/escape-text/2 1166s ok 5 /markup/escape-text/3 1166s ok 6 /markup/escape-text/4 1166s ok 7 /markup/escape-text/5 1166s ok 8 /markup/escape-text/6 1166s ok 9 /markup/escape-text/7 1166s ok 10 /markup/escape-text/8 1166s ok 11 /markup/escape-text/9 1166s ok 12 /markup/escape-text/10 1166s ok 13 /markup/escape-text/11 1166s ok 14 /markup/escape-text/12 1166s ok 15 /markup/escape-text/13 1166s ok 16 /markup/escape-text/14 1166s ok 17 /markup/escape-text/15 1166s ok 18 /markup/escape-text/16 1166s ok 19 /markup/escape-text/17 1166s ok 20 /markup/escape-text/18 1166s ok 21 /markup/escape-text/19 1166s ok 22 /markup/escape-text/20 1166s ok 23 /markup/escape-text/21 1166s ok 24 /markup/escape-text/22 1166s # End of escape-text tests 1166s # Start of escape-unichar tests 1166s ok 25 /markup/escape-unichar/0 1166s ok 26 /markup/escape-unichar/1 1166s ok 27 /markup/escape-unichar/2 1166s ok 28 /markup/escape-unichar/3 1166s ok 29 /markup/escape-unichar/4 1166s ok 30 /markup/escape-unichar/5 1166s ok 31 /markup/escape-unichar/6 1166s ok 32 /markup/escape-unichar/7 1166s ok 33 /markup/escape-unichar/8 1166s ok 34 /markup/escape-unichar/9 1166s ok 35 /markup/escape-unichar/10 1166s ok 36 /markup/escape-unichar/11 1166s ok 37 /markup/escape-unichar/12 1166s ok 38 /markup/escape-unichar/13 1166s ok 39 /markup/escape-unichar/14 1166s ok 40 /markup/escape-unichar/15 1166s ok 41 /markup/escape-unichar/16 1166s # End of escape-unichar tests 1166s # End of markup tests 1166s ok - glib/markup-escape.test 1166s # Running test: glib/async-close-output-stream.test 1166s TAP version 14 1166s # random seed: R02S3ddba15603841e00c12bf5783d2a8bb5 1166s 1..3 1166s # Start of close-async tests 1166s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1166s ok 1 /close-async/without-flush 1166s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1166s ok 2 /close-async/with-flush 1166s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1166s ok 3 /close-async/with-async-flush 1166s # End of close-async tests 1166s ok - glib/async-close-output-stream.test 1166s # Running test: glib/binding.test 1166s TAP version 14 1166s # random seed: R02S4fbb5a862bea60a37e097855b6594573 1166s 1..19 1166s # Start of binding tests 1166s ok 1 /binding/default 1166s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1166s ok 2 /binding/canonicalisation 1166s ok 3 /binding/bidirectional 1166s ok 4 /binding/transform 1166s ok 5 /binding/transform-default 1166s ok 6 /binding/transform-closure 1166s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1166s ok 7 /binding/chain 1166s ok 8 /binding/sync-create 1166s ok 9 /binding/invert-boolean 1166s ok 10 /binding/same-object 1166s ok 11 /binding/unbind 1166s ok 12 /binding/unbind-weak 1166s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1166s ok 13 /binding/unbind-multiple 1166s ok 14 /binding/fail 1166s ok 15 /binding/interface 1166s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1166s ok 16 /binding/concurrent-unbind 1166s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1166s ok 17 /binding/concurrent-finalizing 1166s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1166s ok 18 /binding/dispose-source 1166s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1166s ok 19 /binding/dispose-target 1166s # End of binding tests 1166s ok - glib/binding.test 1166s # Running test: glib/testfilemonitor.test 1166s TAP version 14 1166s # random seed: R02Sf2653f640f50af5f4c025624a18265ad 1166s 1..8 1166s # Start of monitor tests 1166s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1166s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1166s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1166s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s # Start of file tests 1166s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1166s # End of file tests 1166s # End of monitor tests 1166s ok - glib/testfilemonitor.test 1166s # Running test: glib/completion.test 1166s TAP version 14 1166s # random seed: R02S9c199e93c5b99156c4db79781994b690 1166s 1..1 1166s # Start of completion tests 1166s ok 1 /completion/test-completion 1166s # End of completion tests 1166s ok - glib/completion.test 1166s # Running test: glib/utils-c-89.test 1166s TAP version 14 1166s # random seed: R02S3d02f37c1b998775e97d8798e3479ce9 1166s 1..40 1166s # Start of utils tests 1166s ok 1 /utils/language-names 1166s ok 2 /utils/locale-variants 1166s ok 3 /utils/version 1166s ok 4 /utils/appname 1166s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1166s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1166s ok 5 /utils/prgname-thread-safety 1166s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1166s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1166s ok 6 /utils/tmpdir 1166s ok 7 /utils/basic_bits 1166s ok 8 /utils/bits 1166s ok 9 /utils/swap 1166s ok 10 /utils/find-program 1166s ok 11 /utils/find-program-for-path 1166s ok 12 /utils/debug 1166s ok 13 /utils/codeset 1166s ok 14 /utils/codeset2 1166s ok 15 /utils/console-charset 1166s ok 16 /utils/gettext 1166s ok 17 /utils/username 1166s ok 18 /utils/realname 1166s ok 19 /utils/hostname 1166s ok 20 /utils/xdgdirs 1166s ok 21 /utils/specialdir 1166s # NAME: Ubuntu 1166s ok 22 /utils/os-info 1166s ok 23 /utils/clear-pointer 1166s ok 24 /utils/clear-pointer-cast 1166s ok 25 /utils/take-pointer 1166s ok 26 /utils/clear-source 1166s ok 27 /utils/misc-mem 1166s # /utils/aligned-mem summary: Aligned memory allocator 1166s # Alignment must not be zero 1166s # Alignment must be a power of two 1166s # Alignment must be a multiple of sizeof(void*) 1166s ok 28 /utils/aligned-mem 1166s # /utils/free-sized summary: Check that g_free_sized() works 1166s ok 29 /utils/free-sized 1166s ok 30 /utils/nullify 1166s ok 31 /utils/atexit 1166s ok 32 /utils/check-setuid 1166s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1166s ok 33 /utils/int-limits 1166s ok 34 /utils/clear-list 1166s ok 35 /utils/clear-slist 1166s # Start of specialdir tests 1166s ok 36 /utils/specialdir/desktop 1166s # End of specialdir tests 1166s # Start of clear-pointer tests 1166s ok 37 /utils/clear-pointer/side-effects 1166s # End of clear-pointer tests 1166s # Start of aligned-mem tests 1166s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1166s ok 38 /utils/aligned-mem/alignment 1166s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1166s ok 39 /utils/aligned-mem/zeroed 1166s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1166s ok 40 /utils/aligned-mem/free-sized 1166s # Start of subprocess tests 1166s # End of subprocess tests 1166s # End of aligned-mem tests 1166s # End of utils tests 1166s ok - glib/utils-c-89.test 1166s # Running test: glib/g-icon.test 1166s TAP version 14 1166s # random seed: R02S7b2afea065a81ee1b269427eb3395ddf 1166s 1..6 1166s # Start of icons tests 1166s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1166s ok 1 /icons/to-string 1166s ok 2 /icons/serialize 1166s ok 3 /icons/themed 1166s ok 4 /icons/emblemed 1166s ok 5 /icons/file 1166s ok 6 /icons/bytes 1166s # End of icons tests 1166s ok - glib/g-icon.test 1166s # Running test: glib/include.test 1166s TAP version 14 1166s # random seed: R02S2f048d10fdcf6999eaf919084cef7df9 1166s 1..1 1166s # Start of include tests 1166s ok 1 /include/rwlock 1166s # End of include tests 1166s ok - glib/include.test 1166s # Running test: glib/1bit-mutex.test 1166s TAP version 14 1166s # random seed: R02S3aedd9b9d1f338510993b87cfd71b343 1166s 1..2 1166s # Start of glib tests 1166s # Start of 1bit-mutex tests 1167s # Executing: glib/1bit-mutex.test 1172s # Executing: glib/1bit-mutex.test 1172s ok 1 /glib/1bit-mutex/int 1172s # slow test /glib/1bit-mutex/int executed in 5.90 secs 1177s # Executing: glib/1bit-mutex.test 1178s ok 2 /glib/1bit-mutex/pointer 1178s # slow test /glib/1bit-mutex/pointer executed in 6.11 secs 1178s # End of 1bit-mutex tests 1178s # End of glib tests 1178s ok - glib/1bit-mutex.test 1178s # Running test: glib/signals-refcount1.test 1178s TAP version 14 1178s # random seed: R02Sde7af3be8685c03a94aff85a70a83d2c 1178s 1..1 1178s # Start of gobject tests 1178s # Start of refcount tests 1178s # init 0x5ad14bdb1420 1178s # 1178s # init 0x5ad14bdb15c0 1178s # 1182s # Executing: glib/signals-refcount1.test 1183s # dispose 0x5ad14bdb1420! 1183s # 1183s # dispose 0x5ad14bdb15c0! 1183s # 1183s ok 1 /gobject/refcount/signals 1183s # slow test /gobject/refcount/signals executed in 5.00 secs 1183s # End of refcount tests 1183s # End of gobject tests 1183s ok - glib/signals-refcount1.test 1183s # Running test: glib/permission.test 1183s TAP version 14 1183s # random seed: R02S5d09ed1264b278b6e08c9b562e6cf5fb 1183s 1..1 1183s # Start of permission tests 1183s ok 1 /permission/simple 1183s # End of permission tests 1183s ok - glib/permission.test 1183s # Running test: glib/mappedfile.test 1183s TAP version 14 1183s # random seed: R02S13df05ac6b2f05cb173bacc3d4b3b08d 1183s 1..7 1183s # Start of mappedfile tests 1183s ok 1 /mappedfile/basic 1183s ok 2 /mappedfile/empty 1183s ok 3 /mappedfile/device 1183s ok 4 /mappedfile/nonexisting 1183s ok 5 /mappedfile/writable 1183s ok 6 /mappedfile/writable_fd 1183s ok 7 /mappedfile/gbytes 1183s # End of mappedfile tests 1183s ok - glib/mappedfile.test 1183s # Running test: glib/async-splice-output-stream.test 1183s TAP version 14 1183s # random seed: R02Se65ac34abc7f43ede41d635b936b303b 1183s 1..5 1183s # Start of async-splice tests 1183s ok 1 /async-splice/copy-chunks 1183s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1183s ok 2 /async-splice/copy-chunks-threaded-input 1183s ok 3 /async-splice/copy-chunks-threaded-output 1183s ok 4 /async-splice/copy-chunks-threaded 1183s ok 5 /async-splice/cancelled 1183s # End of async-splice tests 1183s ok - glib/async-splice-output-stream.test 1183s # Running test: glib/memory-settings-backend.test 1183s TAP version 14 1183s # random seed: R02S5cd1be61a607fe8e49a30974629fdf67 1183s 1..1 1183s # Start of memory-settings-backend tests 1183s ok 1 /memory-settings-backend/extension-point-registered 1183s # End of memory-settings-backend tests 1183s ok - glib/memory-settings-backend.test 1183s # Running test: glib/closure-refcount.test 1183s TAP version 14 1183s # random seed: R02Sf6e27755d629461da2b0bcdb84e6964f 1183s 1..1 1183s # Start of closure tests 1183s # Init 0x5d2cd93351d0 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from thread2 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from thread1 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from thread2 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from main thread 1183s # Yielding from thread1 1183s # Yielding from main thread 1183s # Yielding from thread2 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread1 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread2 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread1 1184s # Yielding from main thread 1184s # Yielding from thread2 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread1 1184s # Yielding from thread2 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread2 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread1 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread2 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread1 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread2 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread1 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread1 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread2 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread1 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from main thread 1184s # Yielding from thread2 1184s # Yielding from main thread 1184s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from thread1 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from thread2 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from thread1 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Yielding from main thread 1185s # Stopping 1185s # Stopped 1185s ok 1 /closure/refcount 1185s # slow test /closure/refcount executed in 1.53 secs 1185s # End of closure tests 1185s ok - glib/closure-refcount.test 1185s # Running test: glib/registered-type-info.test 1185s TAP version 14 1185s # random seed: R02S93b720f53928aeeb28c27c40d0bee5d7 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_RXNF02/registered-type-info/boxed/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_RXNF02/registered-type-info/boxed/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_RXNF02/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_RXNF02/registered-type-info/boxed/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_RXNF02/registered-type-info/boxed/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_RXNF02/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_RXNF02/registered-type-info/boxed/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_RXNF02/registered-type-info/boxed/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_RXNF02/registered-type-info/boxed/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_RXNF02/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/sleepy-stream.test 1185s TAP version 14 1185s # random seed: R02S1b7c83ea95e1070026f2a6d2090a4e1e 1185s 1..2 1185s # Start of filter-stream tests 1185s ok 1 /filter-stream/input 1185s ok 2 /filter-stream/async 1185s # End of filter-stream tests 1185s ok - glib/sleepy-stream.test 1185s # Running test: glib/mainloop.test 1185s TAP version 14 1185s # random seed: R02S40f813ecc51aa9476a2884e9df962c87 1185s 1..45 1185s # Start of maincontext tests 1185s ok 1 /maincontext/basic 1185s # Add same-priority sources: 12 1185s # Find each source: 0 1185s # Remove in random order: 11 1185s ok 2 /maincontext/nsources_same_priority 1185s # Add different-priority sources: 11 1185s # Find each source: 0 1185s # Remove in random order: 15 1185s ok 3 /maincontext/nsources_different_priority 1185s # Add sources from threads: 183 1185s # Remove sources from threads: 37 1185s ok 4 /maincontext/nsources_threadpool 1185s ok 5 /maincontext/source_finalization 1185s # /maincontext/idle-once summary: Test g_idle_add_once() works 1185s ok 6 /maincontext/idle-once 1185s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1185s ok 7 /maincontext/timeout-once 1185s # Start of source_finalization_from_source tests 1185s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1185s ok 8 /maincontext/source_finalization_from_source/0 1185s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1185s ok 9 /maincontext/source_finalization_from_source/1 1185s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1185s ok 10 /maincontext/source_finalization_from_source/2 1185s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1185s ok 11 /maincontext/source_finalization_from_source/3 1185s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1185s ok 12 /maincontext/source_finalization_from_source/4 1185s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1185s ok 13 /maincontext/source_finalization_from_source/5 1185s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1185s ok 14 /maincontext/source_finalization_from_source/6 1185s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1185s ok 15 /maincontext/source_finalization_from_source/7 1185s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1185s ok 16 /maincontext/source_finalization_from_source/8 1185s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1185s ok 17 /maincontext/source_finalization_from_source/9 1185s # End of source_finalization_from_source tests 1185s # Start of source_finalization_from_dispatch tests 1185s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1185s ok 18 /maincontext/source_finalization_from_dispatch/0 1185s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1185s ok 19 /maincontext/source_finalization_from_dispatch/1 1185s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1185s ok 20 /maincontext/source_finalization_from_dispatch/2 1185s # End of source_finalization_from_dispatch tests 1185s # End of maincontext tests 1185s # Start of mainloop tests 1185s ok 21 /mainloop/basic 1185s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1185s ok 23 /mainloop/priorities 1186s ok 24 /mainloop/invoke 1186s # slow test /mainloop/invoke executed in 0.50 secs 1187s # Executing: glib/mainloop.test 1187s ok 25 /mainloop/child_sources 1187s # slow test /mainloop/child_sources executed in 1.18 secs 1189s ok 26 /mainloop/recursive_child_sources 1189s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 1189s ok 27 /mainloop/recursive_loop_child_sources 1189s ok 28 /mainloop/swapping_child_sources 1189s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1189s ok 29 /mainloop/blocked_child_sources 1190s ok 30 /mainloop/source_time 1190s # slow test /mainloop/source_time executed in 1.00 secs 1190s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1190s ok 31 /mainloop/overflow 1190s ok 32 /mainloop/ready-time 1190s # slow test /mainloop/ready-time executed in 0.50 secs 1190s ok 33 /mainloop/wakeup 1190s ok 34 /mainloop/remove-invalid 1190s ok 35 /mainloop/unref-while-pending 1191s ok 36 /mainloop/unix-fd 1191s # slow test /mainloop/unix-fd executed in 0.69 secs 1191s ok 37 /mainloop/unix-fd-source 1191s ok 38 /mainloop/source-unix-fd-api 1191s ok 39 /mainloop/wait 1191s ok 40 /mainloop/unix-file-poll 1191s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1191s ok 41 /mainloop/unix-fd-priority 1191s ok 42 /mainloop/nfds 1191s ok 43 /mainloop/steal-fd 1191s # Start of ownerless-polling tests 1191s ok 44 /mainloop/ownerless-polling/attach-first 1191s ok 45 /mainloop/ownerless-polling/pop-first 1191s # End of ownerless-polling tests 1191s # End of mainloop tests 1191s ok - glib/mainloop.test 1191s # Running test: glib/gdbus-message.test 1191s TAP version 14 1191s # random seed: R02S428e1cc6fd2e30fdb14f15e6d656c8aa 1191s 1..3 1191s # Start of gdbus tests 1191s # Start of message tests 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/lock/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/lock/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_5T7E02/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_5T7E02/gdbus/message/lock/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/lock/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_5T7E02/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_5T7E02/gdbus/message/lock/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/lock/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/lock/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_5T7E02/gdbus/message/lock/.dirs/runtime 1191s ok 1 /gdbus/message/lock 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/copy/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/copy/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_5T7E02/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_5T7E02/gdbus/message/copy/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/copy/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_5T7E02/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_5T7E02/gdbus/message/copy/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/copy/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/copy/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_5T7E02/gdbus/message/copy/.dirs/runtime 1191s ok 2 /gdbus/message/copy 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/bytes-needed/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/bytes-needed/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_5T7E02/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_5T7E02/gdbus/message/bytes-needed/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/bytes-needed/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_5T7E02/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_5T7E02/gdbus/message/bytes-needed/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/bytes-needed/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_5T7E02/gdbus/message/bytes-needed/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_5T7E02/gdbus/message/bytes-needed/.dirs/runtime 1191s # Vector: 0 1191s # Vector: 1 1191s # Vector: 2 1191s # Vector: 3 1191s # Vector: 4 1191s # Vector: 5 1191s ok 3 /gdbus/message/bytes-needed 1191s # End of message tests 1191s # End of gdbus tests 1191s ok - glib/gdbus-message.test 1191s # Running test: glib/search-utils.test 1191s TAP version 14 1191s # random seed: R02Sebd945b6d118e0522fc9a6bedc08752c 1191s # GLib-DEBUG: Current user locale: C.UTF-8 1191s 1..6 1191s # Start of search tests 1191s # GLib-DEBUG: Started 1191s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1191s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1191s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1191s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1191s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1191s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1191s ok 1 /search/basic 1191s # GLib-DEBUG: Started 1191s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1191s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1191s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1191s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 1191s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 1191s ok 2 /search/composed 1191s # GLib-DEBUG: Started 1191s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1191s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1191s ok 3 /search/decomposed 1191s # GLib-DEBUG: Started 1191s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 1191s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1191s ok 4 /search/turkish 1191s # GLib-DEBUG: Started 1191s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1191s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1191s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1191s ok 5 /search/c_locale_unicode 1191s # GLib-DEBUG: Started 1191s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1191s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1191s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1191s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1191s ok 6 /search/multi_words 1191s # End of search tests 1191s ok - glib/search-utils.test 1191s # Running test: glib/thread-deprecated.test 1191s TAP version 14 1191s # random seed: R02Seabe74b62d9b86df469debb0e8f995dd 1191s 1..6 1191s # Start of thread tests 1192s # Executing: glib/thread-deprecated.test 1192s ok 1 /thread/mutex 1192s ok 2 /thread/static-rec-mutex 1196s ok 3 /thread/static-private 1196s # slow test /thread/static-private executed in 4.40 secs 1197s # Executing: glib/thread-deprecated.test 1201s ok 4 /thread/static-rw-lock 1201s # slow test /thread/static-rw-lock executed in 5.00 secs 1201s ok 5 /thread/once 1202s # Executing: glib/thread-deprecated.test 1207s # Executing: glib/thread-deprecated.test 1211s ok 6 /thread/rerun-all 1211s # slow test /thread/rerun-all executed in 10.02 secs 1211s # End of thread tests 1211s ok - glib/thread-deprecated.test 1211s # Running test: glib/hostutils.test 1211s TAP version 14 1211s # random seed: R02Sd309cb7dc4e24fce99e5fd4c073ba74c 1211s 1..3 1211s # Start of hostutils tests 1211s ok 1 /hostutils/to_ascii 1211s ok 2 /hostutils/to_unicode 1211s ok 3 /hostutils/is_ip_addr 1212s # End of hostutils tests 1212s ok - glib/hostutils.test 1212s # Running test: glib/collate.test 1212s TAP version 14 1212s # random seed: R02Sda1ed58bd7af1bbcabd9ab6eb03cce6b 1212s 1..9 1212s # Start of unicode tests 1212s # Start of collate tests 1212s ok 1 /unicode/collate/0 1212s ok 2 /unicode/collate/1 1212s ok 3 /unicode/collate/2 1212s # End of collate tests 1212s # Start of collate-key tests 1212s ok 4 /unicode/collate-key/0 1212s ok 5 /unicode/collate-key/1 1212s ok 6 /unicode/collate-key/2 1212s # End of collate-key tests 1212s # Start of collate-filename tests 1212s ok 7 /unicode/collate-filename/0 1212s ok 8 /unicode/collate-filename/1 1212s ok 9 /unicode/collate-filename/2 1212s # End of collate-filename tests 1212s # End of unicode tests 1212s ok - glib/collate.test 1212s # Running test: glib/performance.test 1212s Running test simple-construction 1212s # Executing: glib/performance.test 1217s # Executing: glib/performance.test 1219s simple-construction: Millions of constructed objects per second: 30.071 1219s Running test simple-construction1 1222s # Executing: glib/performance.test 1222s simple-construction1: Millions of constructed objects per second: 129.192 1222s Running test complex-construction 1225s complex-construction: Millions of constructed objects per second: 9.896 1225s Running test complex-construction1 1227s # Executing: glib/performance.test 1229s complex-construction1: Millions of constructed objects per second: 18.426 1229s Running test complex-construction2 1232s # Executing: glib/performance.test 1233s complex-construction2: Millions of constructed objects per second: 21.462 1233s Running test finalization 1235s finalization: Millions of finalized objects per second: 6.561 1235s Running test type-check 1235s type-check: Million type checks per second: -inf 1235s Running test emit-unhandled 1236s emit-unhandled: Emissions per second: 8524623 1236s Running test emit-unhandled-empty 1237s # Executing: glib/performance.test 1237s emit-unhandled-empty: Emissions per second: 68560116 1237s Running test emit-unhandled-generic 1238s emit-unhandled-generic: Emissions per second: 13026352 1238s Running test emit-unhandled-generic-empty 1239s emit-unhandled-generic-empty: Emissions per second: 67959166 1239s Running test emit-unhandled-args 1240s emit-unhandled-args: Emissions per second: 7003248 1240s Running test emit-handled 1241s emit-handled: Emissions per second: 5354117 1241s Running test emit-handled-empty 1242s # Executing: glib/performance.test 1242s emit-handled-empty: Emissions per second: 5582894 1242s Running test emit-handled-generic 1243s emit-handled-generic: Emissions per second: 5556633 1243s Running test emit-handled-generic-empty 1244s emit-handled-generic-empty: Emissions per second: 11292225 1244s Running test emit-handled-args 1245s emit-handled-args: Emissions per second: 4799400 1245s Running test notify-unhandled 1246s notify-unhandled: Notify (unhandled) per second: 55937748 1246s Running test notify-by-pspec-unhandled 1247s # Executing: glib/performance.test 1247s notify-by-pspec-unhandled: Notify (unhandled) per second: 121617289 1247s Running test notify-handled 1248s notify-handled: Notify per second: 3351052 1248s Running test notify-by-pspec-handled 1249s notify-by-pspec-handled: Notify per second: 3490964 1249s Running test property-set 1250s property-set: Property set per second: 28401189 1250s Running test property-get 1251s property-get: Property get per second: 25602594 1251s Running test refcount 1252s # Executing: glib/performance.test 1252s refcount: Million refs+unref per second: 78.97 1252s Running test refcount-1 1253s refcount-1: Million refs+unref per second: 243.81 1253s Running test refcount-toggle 1254s refcount-toggle: Million refs+unref per second: 120.09 1254s ok - glib/performance.test 1254s # Running test: glib/properties-refcount2.test 1254s TAP version 14 1254s # random seed: R02S9313a70193f18ab5a27e74a034f6a34d 1254s 1..1 1254s # Start of gobject tests 1254s # Start of refcount tests 1254s # init 0x5e9124249770 1254s # 1254s # . 1254s # . 1254s # . 1254s # . 1254s # . 1254s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # . 1255s # dispose 0x5e9124249770! 1255s # 1255s ok 1 /gobject/refcount/properties-2 1255s # slow test /gobject/refcount/properties-2 executed in 0.56 secs 1255s # End of refcount tests 1255s # End of gobject tests 1255s ok - glib/properties-refcount2.test 1255s # Running test: glib/repository.test 1255s TAP version 14 1255s # random seed: R02Sf00cd319522224836feeb3c4838d22b5 1255s 1..23 1255s # Start of repository tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/basic/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/basic/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/basic/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/basic/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/basic/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/basic/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/basic/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/basic/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/basic/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/basic/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1255s ok 1 /repository/basic 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/info/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/info/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/info/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/info/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/info/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/info/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/info/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/info/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/info/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/info/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1255s ok 2 /repository/info 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/dependencies/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/dependencies/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/dependencies/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/dependencies/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/dependencies/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/dependencies/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/dependencies/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/dependencies/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/dependencies/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/dependencies/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1255s ok 3 /repository/dependencies 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/arg-info/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/arg-info/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/arg-info/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/arg-info/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/arg-info/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/arg-info/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/arg-info/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/arg-info/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/arg-info/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/arg-info/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1255s ok 4 /repository/arg-info 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/callable-info/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/callable-info/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/callable-info/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/callable-info/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/callable-info/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/callable-info/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/callable-info/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/callable-info/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/callable-info/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/callable-info/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1255s ok 5 /repository/callable-info 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/callback-info/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/callback-info/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/callback-info/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/callback-info/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/callback-info/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/callback-info/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/callback-info/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/callback-info/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/callback-info/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/callback-info/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1255s ok 6 /repository/callback-info 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/char-types/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/char-types/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/char-types/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/char-types/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/char-types/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/char-types/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/char-types/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/char-types/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/char-types/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/char-types/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1255s ok 7 /repository/char-types 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/constructor-return-type/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/constructor-return-type/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/constructor-return-type/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/constructor-return-type/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/constructor-return-type/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/constructor-return-type/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/constructor-return-type/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/constructor-return-type/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1255s ok 8 /repository/constructor-return-type 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/enum-info-c-identifier/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/enum-info-c-identifier/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/enum-info-c-identifier/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/enum-info-c-identifier/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/enum-info-c-identifier/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/enum-info-c-identifier/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/enum-info-c-identifier/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/enum-info-c-identifier/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1255s ok 9 /repository/enum-info-c-identifier 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/enum-info-static-methods/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/enum-info-static-methods/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/enum-info-static-methods/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/enum-info-static-methods/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/enum-info-static-methods/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/enum-info-static-methods/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/enum-info-static-methods/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/enum-info-static-methods/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/enum-info-static-methods summary: Test an enum with methods 1255s ok 10 /repository/enum-info-static-methods 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/error-quark/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/error-quark/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/error-quark/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/error-quark/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/error-quark/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/error-quark/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/error-quark/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/error-quark/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/error-quark/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/error-quark/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/error-quark summary: Test finding an error quark by error domain 1255s ok 11 /repository/error-quark 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/flags-info-c-identifier/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/flags-info-c-identifier/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/flags-info-c-identifier/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/flags-info-c-identifier/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/flags-info-c-identifier/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/flags-info-c-identifier/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/flags-info-c-identifier/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/flags-info-c-identifier/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1255s ok 12 /repository/flags-info-c-identifier 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/fundamental-ref-func/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/fundamental-ref-func/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/fundamental-ref-func/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/fundamental-ref-func/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/fundamental-ref-func/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/fundamental-ref-func/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/fundamental-ref-func/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/fundamental-ref-func/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1255s ok 13 /repository/fundamental-ref-func 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/instance-method-ownership-transfer/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/instance-method-ownership-transfer/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/instance-method-ownership-transfer/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/instance-method-ownership-transfer/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/instance-method-ownership-transfer/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/instance-method-ownership-transfer/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/instance-method-ownership-transfer/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/instance-method-ownership-transfer/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1255s ok 14 /repository/instance-method-ownership-transfer 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/object-gtype-interfaces/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/object-gtype-interfaces/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/object-gtype-interfaces/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/object-gtype-interfaces/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/object-gtype-interfaces/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/object-gtype-interfaces/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/object-gtype-interfaces/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/object-gtype-interfaces/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1255s ok 15 /repository/object-gtype-interfaces 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/signal-info-with-array-length-arg/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/signal-info-with-array-length-arg/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/signal-info-with-array-length-arg/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/signal-info-with-array-length-arg/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/signal-info-with-array-length-arg/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/signal-info-with-array-length-arg/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/signal-info-with-array-length-arg/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/signal-info-with-array-length-arg/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1255s ok 16 /repository/signal-info-with-array-length-arg 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/type-info-name/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/type-info-name/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/type-info-name/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/type-info-name/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/type-info-name/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/type-info-name/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/type-info-name/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/type-info-name/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1255s ok 17 /repository/type-info-name 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-no-invoker/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-no-invoker/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-no-invoker/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-no-invoker/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-no-invoker/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-no-invoker/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1255s ok 18 /repository/vfunc-info-with-no-invoker 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1255s ok 19 /repository/vfunc-info-with-invoker-on-interface 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-object/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-object/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-object/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-object/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1255s ok 20 /repository/vfunc-info-with-invoker-on-object 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/find-by-gtype/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/find-by-gtype/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/find-by-gtype/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/find-by-gtype/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/find-by-gtype/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/find-by-gtype/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/find-by-gtype/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/find-by-gtype/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/find-by-gtype summary: Test finding a GType 1255s ok 21 /repository/find-by-gtype 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/loaded-namespaces/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/loaded-namespaces/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/loaded-namespaces/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/loaded-namespaces/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/loaded-namespaces/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/loaded-namespaces/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/loaded-namespaces/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/loaded-namespaces/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1255s ok 22 /repository/loaded-namespaces 1255s # Start of base-info tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_Q5KM02/repository/base-info/clear/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_Q5KM02/repository/base-info/clear/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_Q5KM02/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_Q5KM02/repository/base-info/clear/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_Q5KM02/repository/base-info/clear/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_Q5KM02/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_Q5KM02/repository/base-info/clear/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_Q5KM02/repository/base-info/clear/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_Q5KM02/repository/base-info/clear/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_Q5KM02/repository/base-info/clear/.dirs/runtime 1255s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1255s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1255s ok 23 /repository/base-info/clear 1255s # End of base-info tests 1255s # End of repository tests 1255s ok - glib/repository.test 1255s # Running test: glib/init.test 1255s TAP version 14 1255s # random seed: R02Sda3a113b4b75fdddf152b4f40357ea32 1255s 1..2 1255s # Start of thread tests 1255s # Start of deprecated tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_VOXM02/thread/deprecated/init/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_VOXM02/thread/deprecated/init/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_VOXM02/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_VOXM02/thread/deprecated/init/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_VOXM02/thread/deprecated/init/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_VOXM02/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_VOXM02/thread/deprecated/init/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_VOXM02/thread/deprecated/init/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_VOXM02/thread/deprecated/init/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_VOXM02/thread/deprecated/init/.dirs/runtime 1255s ok 1 /thread/deprecated/init 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_VOXM02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_VOXM02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_VOXM02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_VOXM02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_VOXM02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_VOXM02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_VOXM02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_VOXM02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_VOXM02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_VOXM02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1255s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1255s # End of deprecated tests 1255s # End of thread tests 1255s ok - glib/init.test 1255s # Running test: glib/signals.test 1255s TAP version 14 1255s # random seed: R02S0c7561d2e642aecbd93c7951c6131e6b 1255s 1..31 1255s # Start of gobject tests 1255s # Start of signals tests 1255s ok 1 /gobject/signals/all-types 1255s ok 2 /gobject/signals/variant 1255s ok 3 /gobject/signals/destroy-target-object 1255s ok 4 /gobject/signals/generic-marshaller-1 1255s ok 5 /gobject/signals/generic-marshaller-2 1255s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1255s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1255s ok 8 /gobject/signals/generic-marshaller-int-return 1255s ok 9 /gobject/signals/generic-marshaller-uint-return 1255s ok 10 /gobject/signals/generic-marshaller-interface-return 1255s ok 11 /gobject/signals/custom-marshaller 1255s ok 12 /gobject/signals/connect 1255s ok 13 /gobject/signals/emission-hook 1255s ok 14 /gobject/signals/emitv 1255s ok 15 /gobject/signals/accumulator 1255s # Signal: accumulator-class-first 1255s # Signal: accumulator-class-last 1255s # Signal: accumulator-class-cleanup 1255s # Signal: accumulator-class-first-last 1255s # Signal: accumulator-class-first-last-cleanup 1255s # Signal: accumulator-class-last-cleanup 1255s ok 16 /gobject/signals/accumulator-class 1255s ok 17 /gobject/signals/introspection 1255s ok 18 /gobject/signals/block-handler 1255s ok 19 /gobject/signals/stop-emission 1255s ok 20 /gobject/signals/invocation-hint 1255s ok 21 /gobject/signals/test-disconnection-wrong-object 1255s ok 22 /gobject/signals/clear-signal-handler 1255s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1255s ok 23 /gobject/signals/lookup 1255s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1255s ok 24 /gobject/signals/parse-name 1255s ok 25 /gobject/signals/is-valid-name 1255s ok 26 /gobject/signals/weak-ref-disconnect 1255s # Start of lookup tests 1255s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1255s ok 27 /gobject/signals/lookup/invalid 1255s # End of lookup tests 1255s # Start of parse-name tests 1255s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1255s # Parser input: 1255s # Parser input: 7zip 1255s # Parser input: invalid:signal 1255s # Parser input: simple-detailed:: 1255s # Parser input: simple-detailed: 1255s # Parser input: : 1255s # Parser input: :: 1255s # Parser input: :valid-detail 1255s # Parser input: ::valid-detail 1255s ok 28 /gobject/signals/parse-name/invalid 1255s # End of parse-name tests 1255s # Start of invalid-name tests 1255s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1255s ok 29 /gobject/signals/invalid-name/colon 1255s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1255s ok 30 /gobject/signals/invalid-name/first-char 1255s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1255s ok 31 /gobject/signals/invalid-name/empty 1255s # End of invalid-name tests 1255s # End of signals tests 1255s # End of gobject tests 1255s ok - glib/signals.test 1255s # Running test: glib/gdbus-method-invocation.test 1255s TAP version 14 1255s # random seed: R02Sf47af62a560dd53ca638abeb11f0bece 1255s 1..1 1255s # Start of gdbus tests 1255s # Start of method-invocation tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_NSU7Z2/gdbus/method-invocation/return/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_NSU7Z2/gdbus/method-invocation/return/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_NSU7Z2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_NSU7Z2/gdbus/method-invocation/return/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_NSU7Z2/gdbus/method-invocation/return/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_NSU7Z2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_NSU7Z2/gdbus/method-invocation/return/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_NSU7Z2/gdbus/method-invocation/return/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_NSU7Z2/gdbus/method-invocation/return/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_NSU7Z2/gdbus/method-invocation/return/.dirs/runtime 1255s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # Calling org.freedesktop.DBus.Properties.Get 1255s # Calling org.freedesktop.DBus.Properties.Get 1255s # Calling org.freedesktop.DBus.Properties.Get 1255s # Calling org.freedesktop.DBus.Properties.Set 1255s # Calling org.freedesktop.DBus.Properties.GetAll 1255s # Calling org.example.Foo.WrongReturnType 1255s # Calling org.example.Foo.GetFDs 1255s # Calling org.example.Foo.GetFDs 1255s # Calling org.example.Foo.ReturnError 1255s # Calling org.example.Foo.CloseBeforeReturning 1255s ok 1 /gdbus/method-invocation/return 1255s # End of method-invocation tests 1255s # End of gdbus tests 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s ok - glib/gdbus-method-invocation.test 1255s # Running test: glib/strfuncs.test 1255s TAP version 14 1255s # random seed: R02Sed750b124eb9494394896ba2fc9b558a 1255s 1..50 1255s # Start of strfuncs tests 1255s ok 1 /strfuncs/ascii-strcasecmp 1255s ok 2 /strfuncs/ascii_strdown 1255s ok 3 /strfuncs/ascii_strdup 1255s ok 4 /strfuncs/ascii_strtod 1255s ok 5 /strfuncs/bounds-check 1255s ok 6 /strfuncs/has-prefix 1255s ok 7 /strfuncs/has-prefix-macro 1255s ok 8 /strfuncs/has-suffix 1255s ok 9 /strfuncs/has-suffix-macro 1255s ok 10 /strfuncs/memdup 1255s ok 11 /strfuncs/memdup2 1255s ok 12 /strfuncs/set_str 1255s ok 13 /strfuncs/stpcpy 1255s ok 14 /strfuncs/str_match_string 1255s ok 15 /strfuncs/str_tokenize_and_fold 1255s ok 16 /strfuncs/strcanon 1255s ok 17 /strfuncs/strchomp 1255s ok 18 /strfuncs/strchug 1255s ok 19 /strfuncs/strcompress-strescape 1255s ok 20 /strfuncs/strconcat 1255s ok 21 /strfuncs/strdelimit 1255s ok 22 /strfuncs/strdup 1255s ok 23 /strfuncs/strdup-printf 1255s ok 24 /strfuncs/strdupv 1255s ok 25 /strfuncs/strerror 1255s ok 26 /strfuncs/strip-context 1255s ok 27 /strfuncs/strjoin 1255s ok 28 /strfuncs/strjoinv 1255s ok 29 /strfuncs/strlcat 1255s ok 30 /strfuncs/strlcpy 1255s ok 31 /strfuncs/strncasecmp 1255s ok 32 /strfuncs/strndup 1255s ok 33 /strfuncs/strnfill 1255s ok 34 /strfuncs/strreverse 1255s ok 35 /strfuncs/strsignal 1255s ok 36 /strfuncs/strsplit 1255s ok 37 /strfuncs/strsplit-set 1255s ok 38 /strfuncs/strstr 1255s ok 39 /strfuncs/strtod 1255s ok 40 /strfuncs/strtoull-strtoll 1255s ok 41 /strfuncs/strup 1255s ok 42 /strfuncs/strv-contains 1255s ok 43 /strfuncs/strv-equal 1255s ok 44 /strfuncs/strv-length 1255s ok 45 /strfuncs/test-is-to-digit 1255s ok 46 /strfuncs/transliteration 1255s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1255s ok 47 /strfuncs/str-equal 1255s # Start of ascii-string-to-num tests 1255s ok 48 /strfuncs/ascii-string-to-num/pathological 1255s ok 49 /strfuncs/ascii-string-to-num/usual 1255s # End of ascii-string-to-num tests 1255s # Start of strdup tests 1255s ok 50 /strfuncs/strdup/inline 1255s # End of strdup tests 1255s # End of strfuncs tests 1255s ok - glib/strfuncs.test 1255s # Running test: glib/simple-proxy.test 1255s TAP version 14 1255s # random seed: R02Sb3b1462f09bab6dd2d74940f16a24ddf 1255s 1..3 1255s # Start of static-proxy tests 1255s ok 1 /static-proxy/uri 1255s ok 2 /static-proxy/socks 1255s ok 3 /static-proxy/ignore 1255s # End of static-proxy tests 1255s ok - glib/simple-proxy.test 1255s # Running test: glib/custom-dispatch.test 1255s TAP version 14 1255s # random seed: R02Sac10e18ba7dea6100233027feca1426c 1255s 1..2 1255s # Start of properties tests 1255s # Start of custom-dispatch tests 1255s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1255s ok 1 /properties/custom-dispatch/init 1255s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1255s ok 2 /properties/custom-dispatch/set 1255s # End of custom-dispatch tests 1255s # End of properties tests 1255s ok - glib/custom-dispatch.test 1255s # Running test: glib/resolver-parsing.test 1255s TAP version 14 1255s # random seed: R02Se5456a35f636f34f038a048ac3f58a8f 1255s 1..21 1255s # Start of gresolver tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/invalid-header/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/invalid-header/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/invalid-header/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/invalid-header/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/invalid-header/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/invalid-header/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/invalid-header/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/invalid-header/.dirs/runtime 1255s ok 1 /gresolver/invalid-header 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/record-ownership/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/record-ownership/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/record-ownership/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/record-ownership/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/record-ownership/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/record-ownership/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/record-ownership/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/record-ownership/.dirs/runtime 1255s ok 2 /gresolver/record-ownership 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/unknown-record-type/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/unknown-record-type/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/unknown-record-type/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/unknown-record-type/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/unknown-record-type/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/unknown-record-type/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/unknown-record-type/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/unknown-record-type/.dirs/runtime 1255s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1255s ok 3 /gresolver/unknown-record-type 1255s # Start of mx tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/valid/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/valid/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/valid/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/valid/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/valid/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/valid/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/valid/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/valid/.dirs/runtime 1255s ok 4 /gresolver/mx/valid 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/.dirs/runtime 1255s ok 5 /gresolver/mx/invalid 1255s # Start of invalid tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short/.dirs/runtime 1255s ok 6 /gresolver/mx/invalid/too-short 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short2/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short2/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short2/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short2/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short2/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/mx/invalid/too-short2/.dirs/runtime 1255s ok 7 /gresolver/mx/invalid/too-short2 1255s # End of invalid tests 1255s # End of mx tests 1255s # Start of ns tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/valid/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/valid/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/valid/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/valid/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/valid/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/valid/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/valid/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/valid/.dirs/runtime 1255s ok 8 /gresolver/ns/valid 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/invalid/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/invalid/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/invalid/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/invalid/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/invalid/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/invalid/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/invalid/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/ns/invalid/.dirs/runtime 1255s ok 9 /gresolver/ns/invalid 1255s # End of ns tests 1255s # Start of soa tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/valid/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/valid/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/valid/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/valid/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/valid/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/valid/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/valid/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/valid/.dirs/runtime 1255s ok 10 /gresolver/soa/valid 1255s # Start of invalid tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/mname/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/mname/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/mname/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/mname/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/mname/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/mname/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/mname/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/mname/.dirs/runtime 1255s ok 11 /gresolver/soa/invalid/mname 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/rname/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/rname/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/rname/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/rname/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/rname/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/rname/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/rname/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/rname/.dirs/runtime 1255s ok 12 /gresolver/soa/invalid/rname 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/too-short/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/too-short/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/too-short/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/too-short/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/too-short/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/too-short/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/too-short/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/soa/invalid/too-short/.dirs/runtime 1255s ok 13 /gresolver/soa/invalid/too-short 1255s # End of invalid tests 1255s # End of soa tests 1255s # Start of srv tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/valid/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/valid/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/valid/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/valid/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/valid/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/valid/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/valid/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/valid/.dirs/runtime 1255s ok 14 /gresolver/srv/valid 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/.dirs/runtime 1255s ok 15 /gresolver/srv/invalid 1255s # Start of invalid tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short/.dirs/runtime 1255s ok 16 /gresolver/srv/invalid/too-short 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short2/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short2/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short2/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short2/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short2/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/srv/invalid/too-short2/.dirs/runtime 1255s ok 17 /gresolver/srv/invalid/too-short2 1255s # End of invalid tests 1255s # End of srv tests 1255s # Start of txt tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/.dirs/runtime 1255s ok 18 /gresolver/txt/valid 1255s # Start of valid tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/multiple-strings/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/multiple-strings/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/multiple-strings/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/multiple-strings/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/multiple-strings/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1255s ok 19 /gresolver/txt/valid/multiple-strings 1255s # End of valid tests 1255s # Start of invalid tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/empty/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/empty/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/empty/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/empty/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/empty/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/empty/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/empty/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/empty/.dirs/runtime 1255s ok 20 /gresolver/txt/invalid/empty 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/overflow/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/overflow/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/overflow/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/overflow/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/overflow/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/overflow/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/overflow/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_UQ96Z2/gresolver/txt/invalid/overflow/.dirs/runtime 1255s ok 21 /gresolver/txt/invalid/overflow 1255s # End of invalid tests 1255s # End of txt tests 1255s # End of gresolver tests 1255s ok - glib/resolver-parsing.test 1255s # Running test: glib/network-address.test 1255s TAP version 14 1255s # random seed: R02S23993f72dd169e845adec216175d0e8c 1255s 1..72 1255s # Start of network-address tests 1255s ok 1 /network-address/basic 1255s ok 2 /network-address/scope-id 1255s ok 3 /network-address/uri-scope-id 1255s ok 4 /network-address/to-string 1255s # Start of parse-host tests 1255s ok 5 /network-address/parse-host/0 1255s ok 6 /network-address/parse-host/1 1255s ok 7 /network-address/parse-host/2 1255s ok 8 /network-address/parse-host/3 1255s ok 9 /network-address/parse-host/4 1255s ok 10 /network-address/parse-host/5 1255s ok 11 /network-address/parse-host/6 1255s ok 12 /network-address/parse-host/7 1255s ok 13 /network-address/parse-host/8 1255s ok 14 /network-address/parse-host/9 1255s ok 15 /network-address/parse-host/10 1255s ok 16 /network-address/parse-host/11 1255s ok 17 /network-address/parse-host/12 1255s ok 18 /network-address/parse-host/13 1255s # End of parse-host tests 1255s # Start of parse-uri tests 1255s ok 19 /network-address/parse-uri/0 1255s ok 20 /network-address/parse-uri/1 1255s ok 21 /network-address/parse-uri/2 1255s ok 22 /network-address/parse-uri/3 1255s ok 23 /network-address/parse-uri/4 1255s ok 24 /network-address/parse-uri/5 1255s ok 25 /network-address/parse-uri/6 1255s ok 26 /network-address/parse-uri/7 1255s ok 27 /network-address/parse-uri/8 1255s ok 28 /network-address/parse-uri/9 1255s # End of parse-uri tests 1255s # Start of resolve-address tests 1255s # Input: 192.168.1.2 1255s ok 29 /network-address/resolve-address/0 1255s # Input: fe80::42 1255s ok 30 /network-address/resolve-address/1 1255s # Input: 192.168.1.2:80 1255s ok 31 /network-address/resolve-address/2 1255s # Input: [fe80::42] 1255s ok 32 /network-address/resolve-address/3 1255s # Input: [fe80::42]:80 1255s ok 33 /network-address/resolve-address/4 1255s # Input: 192.168.258 1255s ok 34 /network-address/resolve-address/5 1255s # Input: 192.11010306 1255s ok 35 /network-address/resolve-address/6 1255s # Input: 3232235778 1255s ok 36 /network-address/resolve-address/7 1255s # Input: 0300.0250.0001.0001 1255s ok 37 /network-address/resolve-address/8 1255s # Input: 0xC0.0xA8.0x01.0x02 1255s ok 38 /network-address/resolve-address/9 1255s # Input: 0xc0.0xa8.0x01.0x02 1255s ok 39 /network-address/resolve-address/10 1255s # Input: 0xc0a80102 1255s ok 40 /network-address/resolve-address/11 1255s # End of resolve-address tests 1255s # Start of loopback tests 1255s ok 41 /network-address/loopback/basic 1255s ok 42 /network-address/loopback/sync 1255s ok 43 /network-address/loopback/async 1255s # End of loopback tests 1255s # Start of localhost tests 1255s ok 44 /network-address/localhost/async 1255s ok 45 /network-address/localhost/sync 1255s # End of localhost tests 1255s # Start of happy-eyeballs tests 1255s ok 46 /network-address/happy-eyeballs/basic 1255s ok 47 /network-address/happy-eyeballs/parallel 1255s ok 48 /network-address/happy-eyeballs/slow-ipv4 1255s ok 49 /network-address/happy-eyeballs/slow-ipv6 1256s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1256s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1256s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1256s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1256s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1256s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1256s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1256s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1256s # /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. 1256s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1257s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1257s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1257s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1257s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1257s # Executing: glib/network-address.test 1257s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1257s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1257s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1257s ok 57 /network-address/happy-eyeballs/both-error 1257s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1257s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1257s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1257s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1257s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1257s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1257s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1257s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1257s # End of happy-eyeballs tests 1257s # End of network-address tests 1257s # Start of gresolver tests 1257s # Start of resolve-address tests 1257s # Input: 192.168.1.2 1257s ok 61 /gresolver/resolve-address/0 1257s # Input: fe80::42 1257s ok 62 /gresolver/resolve-address/1 1257s # Input: 192.168.1.2:80 1257s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1257s ok 63 /gresolver/resolve-address/2 1257s # Input: [fe80::42] 1257s # Error: Error resolving ?[fe80::42]?: Name or service not known 1257s ok 64 /gresolver/resolve-address/3 1257s # Input: [fe80::42]:80 1257s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1257s ok 65 /gresolver/resolve-address/4 1257s # Input: 192.168.258 1257s # Error: Error resolving ?192.168.258?: Name or service not known 1257s ok 66 /gresolver/resolve-address/5 1257s # Input: 192.11010306 1257s # Error: Error resolving ?192.11010306?: Name or service not known 1257s ok 67 /gresolver/resolve-address/6 1257s # Input: 3232235778 1257s # Error: Error resolving ?3232235778?: Name or service not known 1257s ok 68 /gresolver/resolve-address/7 1257s # Input: 0300.0250.0001.0001 1257s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1257s ok 69 /gresolver/resolve-address/8 1257s # Input: 0xC0.0xA8.0x01.0x02 1257s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1257s ok 70 /gresolver/resolve-address/9 1257s # Input: 0xc0.0xa8.0x01.0x02 1257s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1257s ok 71 /gresolver/resolve-address/10 1257s # Input: 0xc0a80102 1257s # Error: Error resolving ?0xc0a80102?: Name or service not known 1257s ok 72 /gresolver/resolve-address/11 1257s # End of resolve-address tests 1257s # End of gresolver tests 1257s ok - glib/network-address.test 1257s # Running test: glib/struct-info.test 1257s TAP version 14 1257s # random seed: R02Sd0a259ff563249abece36141468f1af8 1257s 1..4 1257s # Start of struct-info tests 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_70CG02/struct-info/field-iterators/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_70CG02/struct-info/field-iterators/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_70CG02/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_70CG02/struct-info/field-iterators/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_70CG02/struct-info/field-iterators/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_70CG02/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_70CG02/struct-info/field-iterators/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_70CG02/struct-info/field-iterators/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_70CG02/struct-info/field-iterators/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_70CG02/struct-info/field-iterators/.dirs/runtime 1257s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1257s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1257s ok 1 /struct-info/field-iterators 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_70CG02/struct-info/sizeof-gvalue/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_70CG02/struct-info/sizeof-gvalue/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_70CG02/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_70CG02/struct-info/sizeof-gvalue/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_70CG02/struct-info/sizeof-gvalue/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_70CG02/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_70CG02/struct-info/sizeof-gvalue/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_70CG02/struct-info/sizeof-gvalue/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_70CG02/struct-info/sizeof-gvalue/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_70CG02/struct-info/sizeof-gvalue/.dirs/runtime 1257s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1257s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1257s ok 2 /struct-info/sizeof-gvalue 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_70CG02/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_70CG02/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_70CG02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_70CG02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_70CG02/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_70CG02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_70CG02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_70CG02/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_70CG02/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_70CG02/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1257s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1257s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1257s ok 3 /struct-info/is-pointer-for-struct-method-arg 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_70CG02/struct-info/boxed/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_70CG02/struct-info/boxed/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_70CG02/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_70CG02/struct-info/boxed/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_70CG02/struct-info/boxed/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_70CG02/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_70CG02/struct-info/boxed/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_70CG02/struct-info/boxed/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_70CG02/struct-info/boxed/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_70CG02/struct-info/boxed/.dirs/runtime 1257s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1257s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1257s ok 4 /struct-info/boxed 1257s # End of struct-info tests 1257s ok - glib/struct-info.test 1257s # Running test: glib/macros-c-17.test 1257s TAP version 14 1257s # random seed: R02S1c36e4964c5840ae195ea7a7d877ab67 1257s 1..4 1257s # Start of C tests 1257s ok 1 /C/standard-17 1257s # End of C tests 1257s # Start of alignof tests 1257s ok 2 /alignof/fallback 1257s # End of alignof tests 1257s # Start of assert tests 1257s ok 3 /assert/static 1257s # End of assert tests 1257s # Start of struct tests 1257s ok 4 /struct/sizeof_member 1257s # End of struct tests 1257s ok - glib/macros-c-17.test 1257s # Running test: glib/g-file-info.test 1257s TAP version 14 1257s # random seed: R02Sa089ec6652d4e50ae11a5010f6dab004 1257s 1..6 1257s # Start of g-file-info tests 1257s ok 1 /g-file-info/test_g_file_info 1257s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1257s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1257s ok 2 /g-file-info/xattrs 1257s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1257s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1257s ok 3 /g-file-info/set-modified-date-time-precision 1257s # Start of test_g_file_info tests 1257s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1257s ok 4 /g-file-info/test_g_file_info/modification-time 1257s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1257s ok 5 /g-file-info/test_g_file_info/access-time 1257s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1257s ok 6 /g-file-info/test_g_file_info/creation-time 1257s # End of test_g_file_info tests 1257s # End of g-file-info tests 1257s ok - glib/g-file-info.test 1257s # Running test: glib/boxed.test 1257s TAP version 14 1257s # random seed: R02Saafe73c04aa649aea30af1b9bbd81e28 1257s 1..27 1257s # Start of boxed tests 1257s ok 1 /boxed/define 1257s ok 2 /boxed/ownership 1257s ok 3 /boxed/closure 1257s ok 4 /boxed/date 1257s ok 5 /boxed/value 1257s ok 6 /boxed/string 1257s ok 7 /boxed/hashtable 1257s ok 8 /boxed/array 1257s ok 9 /boxed/ptrarray 1257s ok 10 /boxed/regex 1257s ok 11 /boxed/varianttype 1257s ok 12 /boxed/error 1257s ok 13 /boxed/datetime 1257s ok 14 /boxed/matchinfo 1257s ok 15 /boxed/keyfile 1257s ok 16 /boxed/mainloop 1257s ok 17 /boxed/maincontext 1257s ok 18 /boxed/source 1257s ok 19 /boxed/variantbuilder 1257s ok 20 /boxed/timezone 1257s ok 21 /boxed/pollfd 1257s ok 22 /boxed/markup 1257s ok 23 /boxed/thread 1257s ok 24 /boxed/checksum 1257s ok 25 /boxed/tree 1257s ok 26 /boxed/patternspec 1257s ok 27 /boxed/rand 1257s # End of boxed tests 1257s ok - glib/boxed.test 1257s # Running test: glib/dynamictests.test 1257s TAP version 14 1257s # random seed: R02Sbeddbb83e072bb863b5251a90800aff5 1257s 1..2 1257s # Start of GObject tests 1257s ok 1 /GObject/threaded-dynamic-ref-unref-init 1257s ok 2 /GObject/dynamic-interface-properties 1257s # End of GObject tests 1257s ok - glib/dynamictests.test 1257s # Running test: glib/sandbox.test 1257s TAP version 14 1257s # random seed: R02Sa3d857b327b6a5e1c18cd57f9b035559 1257s 1..4 1257s # Start of sandbox tests 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_GJYF02/sandbox/none/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_GJYF02/sandbox/none/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_GJYF02/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_GJYF02/sandbox/none/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_GJYF02/sandbox/none/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_GJYF02/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_GJYF02/sandbox/none/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_GJYF02/sandbox/none/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_GJYF02/sandbox/none/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_GJYF02/sandbox/none/.dirs/runtime 1257s ok 1 /sandbox/none 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_GJYF02/sandbox/snap/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_GJYF02/sandbox/snap/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_GJYF02/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_GJYF02/sandbox/snap/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_GJYF02/sandbox/snap/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_GJYF02/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_GJYF02/sandbox/snap/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_GJYF02/sandbox/snap/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_GJYF02/sandbox/snap/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_GJYF02/sandbox/snap/.dirs/runtime 1257s # Created snap.yaml in /tmp/test_sandbox_GJYF02/snap/current/meta/snap.yaml 1257s ok 2 /sandbox/snap 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_GJYF02/sandbox/classic-snap/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_GJYF02/sandbox/classic-snap/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_GJYF02/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_GJYF02/sandbox/classic-snap/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_GJYF02/sandbox/classic-snap/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_GJYF02/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_GJYF02/sandbox/classic-snap/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_GJYF02/sandbox/classic-snap/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_GJYF02/sandbox/classic-snap/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_GJYF02/sandbox/classic-snap/.dirs/runtime 1257s # Created snap.yaml in /tmp/test_sandbox_GJYF02/snap/current/meta/snap.yaml 1257s ok 3 /sandbox/classic-snap 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_GJYF02/sandbox/flatpak/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_GJYF02/sandbox/flatpak/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_GJYF02/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_GJYF02/sandbox/flatpak/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_GJYF02/sandbox/flatpak/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_GJYF02/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_GJYF02/sandbox/flatpak/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_GJYF02/sandbox/flatpak/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_GJYF02/sandbox/flatpak/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_GJYF02/sandbox/flatpak/.dirs/runtime 1257s # Creating .flatpak-info in /tmp/test_sandbox_GJYF02/sandbox/flatpak/.dirs/runtime/.flatpak-info 1257s ok 4 /sandbox/flatpak 1257s # End of sandbox tests 1257s ok - glib/sandbox.test 1257s # Running test: glib/gsubprocess.test 1257s TAP version 14 1257s # random seed: R02Sa5329302d30ba543df4fcaa16606f6d9 1257s 1..83 1257s # Start of gsubprocess tests 1257s ok 1 /gsubprocess/noop 1257s ok 2 /gsubprocess/noop-all-to-null 1257s ok 3 /gsubprocess/noop-no-wait 1257s ok 4 /gsubprocess/noop-stdin-inherit 1257s ok 5 /gsubprocess/search-path 1257s ok 6 /gsubprocess/search-path-from-envp 1260s ok 7 /gsubprocess/signal 1260s # slow test /gsubprocess/signal executed in 2.81 secs 1260s ok 8 /gsubprocess/exit1 1260s ok 9 /gsubprocess/echo1 1260s ok 10 /gsubprocess/echo-merged 1260s ok 11 /gsubprocess/cat-utf8 1261s ok 12 /gsubprocess/cat-eof 1261s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1262s # Executing: glib/gsubprocess.test 1264s ok 13 /gsubprocess/multi1 1264s # slow test /gsubprocess/multi1 executed in 3.01 secs 1264s ok 14 /gsubprocess/communicate 1267s # Executing: glib/gsubprocess.test 1267s ok 15 /gsubprocess/terminate 1267s # slow test /gsubprocess/terminate executed in 2.98 secs 1267s ok 16 /gsubprocess/env 1267s ok 17 /gsubprocess/cwd 1267s ok 18 /gsubprocess/launcher-close 1267s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1267s ok 19 /gsubprocess/stdout-file 1267s ok 20 /gsubprocess/stdout-fd 1267s ok 21 /gsubprocess/child-setup 1267s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1267s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1267s ok 22 /gsubprocess/launcher-environment 1267s # Start of exit1 tests 1267s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1267s ok 23 /gsubprocess/exit1/cancel 1267s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1267s ok 24 /gsubprocess/exit1/cancel_in_cb 1267s # End of exit1 tests 1267s # Start of communicate tests 1267s ok 25 /gsubprocess/communicate/cancelled 1267s ok 26 /gsubprocess/communicate/async 1267s ok 27 /gsubprocess/communicate/utf8 1267s # hello world 1267s ok 28 /gsubprocess/communicate/no-pipes 1267s ok 29 /gsubprocess/communicate/separate-stderr 1267s ok 30 /gsubprocess/communicate/stdout-only 1267s # hello world 1267s ok 31 /gsubprocess/communicate/stderr-only 1267s ok 32 /gsubprocess/communicate/stdout-silence 1267s ok 33 /gsubprocess/communicate/nothing 1267s # Start of async tests 1267s ok 34 /gsubprocess/communicate/async/cancelled 1267s # hello world 1267s ok 35 /gsubprocess/communicate/async/no-pipes 1267s ok 36 /gsubprocess/communicate/async/separate-stderr 1267s ok 37 /gsubprocess/communicate/async/stdout-only 1267s # hello world 1267s ok 38 /gsubprocess/communicate/async/stderr-only 1267s ok 39 /gsubprocess/communicate/async/stdout-silence 1267s # Start of cancelled tests 1267s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1267s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1267s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1267s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1267s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1267s # End of cancelled tests 1267s # End of async tests 1267s # Start of utf8 tests 1267s ok 45 /gsubprocess/communicate/utf8/cancelled 1267s ok 46 /gsubprocess/communicate/utf8/async 1267s # hello world 1267s ok 47 /gsubprocess/communicate/utf8/no-pipes 1267s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1267s ok 49 /gsubprocess/communicate/utf8/stdout-only 1267s # hello world 1267s ok 50 /gsubprocess/communicate/utf8/stderr-only 1267s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1267s ok 52 /gsubprocess/communicate/utf8/invalid 1267s # Start of async tests 1267s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1267s # hello world 1267s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1267s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1267s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1267s # hello world 1267s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1267s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1267s ok 59 /gsubprocess/communicate/utf8/async/invalid 1267s # Start of cancelled tests 1267s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1267s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1267s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1267s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1267s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1267s # End of cancelled tests 1267s # End of async tests 1267s # Start of cancelled tests 1267s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1267s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1267s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1267s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1267s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1267s # End of cancelled tests 1267s # End of utf8 tests 1267s # Start of cancelled tests 1267s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1267s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1267s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1267s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1267s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1267s # End of cancelled tests 1267s # End of communicate tests 1267s # Start of env tests 1267s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1267s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1267s ok 75 /gsubprocess/env/inherit 1267s # End of env tests 1267s # Start of pass-fd tests 1267s ok 76 /gsubprocess/pass-fd/basic 1267s ok 77 /gsubprocess/pass-fd/empty-child-setup 1267s ok 78 /gsubprocess/pass-fd/inherit-fds 1267s # End of pass-fd tests 1267s # Start of fd-conflation tests 1267s ok 79 /gsubprocess/fd-conflation/basic 1267s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1267s ok 81 /gsubprocess/fd-conflation/inherit-fds 1267s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1267s # End of fd-conflation tests 1267s # Start of exit-status tests 1267s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1267s ok 83 /gsubprocess/exit-status/trapped 1267s # End of exit-status tests 1267s # End of gsubprocess tests 1267s ok - glib/gsubprocess.test 1267s # Running test: glib/base64.test 1267s TAP version 14 1267s # random seed: R02Se008c61b281a4a0dc0586e1ce48a5fbd 1267s 1..28 1267s # Start of base64 tests 1267s ok 1 /base64/encode 1267s ok 2 /base64/decode 1267s ok 3 /base64/decode-inplace 1267s ok 4 /base64/encode-decode 1267s # Start of full tests 1267s ok 5 /base64/full/1 1267s ok 6 /base64/full/2 1267s ok 7 /base64/full/3 1267s ok 8 /base64/full/4 1267s # End of full tests 1267s # Start of encode tests 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1267s ok 9 /base64/encode/empty 1267s # Start of incremental tests 1267s # Start of small-block tests 1267s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1267s ok 10 /base64/encode/incremental/small-block/1 1267s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1267s ok 11 /base64/encode/incremental/small-block/2 1267s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1267s ok 12 /base64/encode/incremental/small-block/3 1267s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1267s ok 13 /base64/encode/incremental/small-block/4 1267s # End of small-block tests 1267s # End of incremental tests 1267s # End of encode tests 1267s # Start of incremental tests 1267s # Start of nobreak tests 1267s ok 14 /base64/incremental/nobreak/1 1267s ok 15 /base64/incremental/nobreak/2 1267s ok 16 /base64/incremental/nobreak/3 1267s ok 17 /base64/incremental/nobreak/4-a 1267s ok 18 /base64/incremental/nobreak/4-b 1267s ok 19 /base64/incremental/nobreak/4-c 1267s # End of nobreak tests 1267s # Start of break tests 1267s ok 20 /base64/incremental/break/1 1267s ok 21 /base64/incremental/break/2 1267s ok 22 /base64/incremental/break/3 1267s # End of break tests 1267s # Start of smallblock tests 1267s ok 23 /base64/incremental/smallblock/1 1267s ok 24 /base64/incremental/smallblock/2 1267s ok 25 /base64/incremental/smallblock/3 1267s ok 26 /base64/incremental/smallblock/4 1267s # End of smallblock tests 1267s # End of incremental tests 1267s # Start of decode tests 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1267s ok 27 /base64/decode/empty 1267s # End of decode tests 1267s # Start of encode-decode tests 1267s # Vector 0: 1267s # Vector 1: f 1267s # Vector 2: fo 1267s # Vector 3: foo 1267s # Vector 4: foob 1267s # Vector 5: fooba 1267s # Vector 6: foobar 1267s ok 28 /base64/encode-decode/rfc4648 1267s # End of encode-decode tests 1267s # End of base64 tests 1267s ok - glib/base64.test 1267s # Running test: glib/cxx-14.test 1267s TAP version 14 1267s # random seed: R02S4ba4d67192bb44d386efa0781c3ae7b2 1267s 1..2 1267s # Start of gtask tests 1267s # 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. 1267s ok 1 /gtask/name 1267s # Start of name tests 1267s # 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. 1267s ok 2 /gtask/name/macro-wrapper 1267s # End of name tests 1267s # End of gtask tests 1267s ok - glib/cxx-14.test 1267s # Running test: glib/refcount-macro.test 1267s TAP version 14 1267s # random seed: R02Sf03a04a854a2b5159f35a6a0d53b2d5b 1267s 1..4 1267s # Start of refcount tests 1267s ok 1 /refcount/grefcount 1267s ok 2 /refcount/gatomicrefcount 1267s # Start of grefcount tests 1267s ok 3 /refcount/grefcount/saturation 1267s # End of grefcount tests 1267s # Start of gatomicrefcount tests 1267s ok 4 /refcount/gatomicrefcount/saturation 1267s # End of gatomicrefcount tests 1267s # End of refcount tests 1267s ok - glib/refcount-macro.test 1267s # Running test: glib/timer.test 1267s TAP version 14 1267s # random seed: R02S2ccecf7ba93ec557a7f5ed0aba37bcda 1267s 1..10 1267s # Start of timer tests 1267s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1267s ok 2 /timer/stop 1267s ok 3 /timer/continue 1267s ok 4 /timer/reset 1267s ok 5 /timer/is_active 1267s # End of timer tests 1267s # Start of timeval tests 1267s ok 6 /timeval/add 1267s ok 7 /timeval/from-iso8601 1267s ok 8 /timeval/to-iso8601 1267s # Start of to-iso8601 tests 1267s ok 9 /timeval/to-iso8601/overflow 1267s # End of to-iso8601 tests 1267s # End of timeval tests 1267s # Start of usleep tests 1267s ok 10 /usleep/with-zero-wait 1267s # End of usleep tests 1267s ok - glib/timer.test 1267s # Running test: glib/test-printf.test 1267s TAP version 14 1267s # random seed: R02S7de8e9c36507c233ceebd8dd68bee97a 1267s 1..22 1267s # Start of snprintf tests 1267s ok 1 /snprintf/retval-and-trunc 1267s ok 2 /snprintf/%d 1267s ok 3 /snprintf/%d-invalid 1267s ok 4 /snprintf/%o 1267s ok 5 /snprintf/%u 1267s ok 6 /snprintf/%x 1267s ok 7 /snprintf/%X 1267s ok 8 /snprintf/%f 1267s ok 9 /snprintf/%e 1267s ok 10 /snprintf/%c 1267s ok 11 /snprintf/%s 1267s ok 12 /snprintf/%n 1267s ok 13 /snprintf/test-percent 1267s ok 14 /snprintf/test-positional-params 1267s ok 15 /snprintf/test-64bit 1267s # End of snprintf tests 1267s # Start of printf tests 1267s ok 16 /printf/test-percent 1267s ok 17 /printf/test-positional-params 1267s ok 18 /printf/test-64bit 1267s # Start of test-64bit tests 1267s # Start of subprocess tests 1267s # End of subprocess tests 1267s # End of test-64bit tests 1267s # End of printf tests 1267s # Start of sprintf tests 1267s ok 19 /sprintf/test-positional-params 1267s ok 20 /sprintf/upper-bound 1267s # End of sprintf tests 1267s # Start of vasprintf tests 1267s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1267s ok 21 /vasprintf/invalid-format-placeholder 1267s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1267s ok 22 /vasprintf/invalid-wide-string 1267s # End of vasprintf tests 1267s ok - glib/test-printf.test 1267s # Running test: glib/mem-overflow.test 1267s TAP version 14 1267s # random seed: R02S426e411e7fc05e2f4a2c329e53c379e3 1267s 1..2 1267s # Start of mem tests 1267s ok 1 /mem/overflow 1267s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1267s ok 2 /mem/empty-alloc 1267s # Start of overflow tests 1267s # Start of subprocess tests 1267s # End of subprocess tests 1267s # End of overflow tests 1267s # Start of empty-alloc tests 1267s # End of empty-alloc tests 1267s # End of mem tests 1267s ok - glib/mem-overflow.test 1267s # Running test: glib/cxx-17.test 1267s TAP version 14 1267s # random seed: R02Sff7c185bbca7dc9d46da6368def70bf1 1267s 1..2 1267s # Start of gtask tests 1267s # 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. 1267s ok 1 /gtask/name 1267s # Start of name tests 1267s # 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. 1267s ok 2 /gtask/name/macro-wrapper 1267s # End of name tests 1267s # End of gtask tests 1267s ok - glib/cxx-17.test 1267s # Running test: glib/function-info.test 1267s TAP version 14 1267s # random seed: R02S87c5f20d9a9e00121ceb73073e0dc7e1 1267s 1..1 1267s # Start of function-info tests 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_IYGH02/function-info/invoker/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_IYGH02/function-info/invoker/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_IYGH02/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_IYGH02/function-info/invoker/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_IYGH02/function-info/invoker/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_IYGH02/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_IYGH02/function-info/invoker/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_IYGH02/function-info/invoker/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_IYGH02/function-info/invoker/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_IYGH02/function-info/invoker/.dirs/runtime 1267s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1267s # /function-info/invoker summary: Test preparing a function invoker 1267s ok 1 /function-info/invoker 1267s # End of function-info tests 1267s ok - glib/function-info.test 1267s # Running test: glib/guuid.test 1267s TAP version 14 1267s # random seed: R02Sc27b3193e7d7ab2bcc44dd029e915873 1267s 1..2 1267s # Start of uuid tests 1267s ok 1 /uuid/string 1267s ok 2 /uuid/random 1267s # End of uuid tests 1267s ok - glib/guuid.test 1267s # Running test: glib/unicode-normalize.test 1267s TAP version 14 1267s # random seed: R02S4f7d274c6bafaa03e8e8e7a1ff6afc46 1267s 1..3 1267s # Start of unicode tests 1267s # Processing Part0 # Specific cases 1267s # Processing Part1 # Character by character test 1267s # Processing Part2 # Canonical Order Test 1267s # Processing Part3 # PRI #29 Test 1267s ok 1 /unicode/normalize 1267s # Invalid UTF-8 vector 0 1267s # Invalid UTF-8 vector 1 1267s # Invalid UTF-8 vector 2 1267s # Invalid UTF-8 vector 3 1267s # Invalid UTF-8 vector 4 1267s # Invalid UTF-8 vector 5 1267s # Invalid UTF-8 vector 6 1267s # Invalid UTF-8 vector 7 1267s # Invalid UTF-8 vector 8 1267s # Invalid UTF-8 vector 9 1267s # Invalid UTF-8 vector 10 1267s # Invalid UTF-8 vector 11 1267s # Invalid UTF-8 vector 12 1267s ok 2 /unicode/normalize-invalid 1267s # Start of normalize tests 1267s ok 3 /unicode/normalize/bad-length 1267s # End of normalize tests 1267s # End of unicode tests 1267s ok - glib/unicode-normalize.test 1267s # Running test: glib/deftype.test 1267s ok - glib/deftype.test 1267s # Running test: glib/gmenumodel.test 1267s TAP version 14 1267s # random seed: R02Sc668fb8fd2a1f2e7d94ee0e957cc1255 1267s 1..15 1267s # Start of gmenu tests 1267s ok 1 /gmenu/equality 1268s ok 2 /gmenu/random 1268s ok 3 /gmenu/attributes 1268s ok 4 /gmenu/links 1268s ok 5 /gmenu/mutable 1268s ok 6 /gmenu/convenience 1268s ok 7 /gmenu/menuitem 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1268s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1268s ok 8 /gmenu/input-validation 1268s # Start of dbus tests 1268s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1269s ok 9 /gmenu/dbus/roundtrip 1269s # slow test /gmenu/dbus/roundtrip executed in 1.02 secs 1269s ok 10 /gmenu/dbus/subscriptions 1270s ok 11 /gmenu/dbus/threaded 1270s # slow test /gmenu/dbus/threaded executed in 0.61 secs 1270s # Start of peer tests 1271s ok 12 /gmenu/dbus/peer/roundtrip 1271s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1271s ok 13 /gmenu/dbus/peer/subscriptions 1271s # End of peer tests 1271s # Start of export tests 1271s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1271s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1271s ok 14 /gmenu/dbus/export/error-handling 1271s # End of export tests 1271s # End of dbus tests 1271s # Start of attributes tests 1271s ok 15 /gmenu/attributes/iterate 1271s # End of attributes tests 1271s # End of gmenu tests 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s ok - glib/gmenumodel.test 1271s # Running test: glib/thread-pool.test 1271s TAP version 14 1271s # random seed: R02Seb2fc759f83f94cc10866923cfc61e50 1271s 1..5 1271s # Start of thread_pool tests 1271s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1271s ok 1 /thread_pool/shared 1271s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1271s ok 2 /thread_pool/exclusive 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1271s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1271s ok 3 /thread_pool/create_shared_after_exclusive 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1271s ok 4 /thread_pool/create_full 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1271s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1271s ok 5 /thread_pool/create_exclusive_after_shared 1271s # End of thread_pool tests 1271s ok - glib/thread-pool.test 1271s # Running test: glib/tree.test 1271s TAP version 14 1271s # random seed: R02Sac0484877c305c716ec80ae63482d62e 1271s 1..7 1271s # Start of tree tests 1271s ok 1 /tree/search 1271s ok 2 /tree/remove 1271s ok 3 /tree/destroy 1271s ok 4 /tree/traverse 1271s ok 5 /tree/insert 1271s ok 6 /tree/bounds 1271s ok 7 /tree/remove-all 1271s # End of tree tests 1271s ok - glib/tree.test 1271s # Running test: glib/debugcontroller.test 1271s TAP version 14 1271s # random seed: R02S64851d5de08da17f5f9efb6aad6c08e5 1271s 1..3 1271s # Start of debug-controller tests 1271s # Start of dbus tests 1271s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1271s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1271s # GLib-GIO-DEBUG: Debug output enabled 1271s # GLib-GIO-DEBUG: Debug output disabled 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s ok 1 /debug-controller/dbus/basic 1271s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1271s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1271s ok 2 /debug-controller/dbus/duplicate 1271s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1271s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1271s # End of dbus tests 1271s # End of debug-controller tests 1271s ok - glib/debugcontroller.test 1271s # Running test: glib/io-stream.test 1271s TAP version 14 1271s # random seed: R02S5378e78a9cb51183f3ad3193e5095aab 1271s 1..3 1271s # Start of io-stream tests 1271s ok 1 /io-stream/copy-chunks 1271s # Start of close tests 1271s # Start of async tests 1271s ok 2 /io-stream/close/async/memory 1271s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1271s ok 3 /io-stream/close/async/file 1271s # End of async tests 1271s # End of close tests 1271s # End of io-stream tests 1271s ok - glib/io-stream.test 1271s # Running test: glib/macros-c-11.test 1271s TAP version 14 1271s # random seed: R02S5011b7e2e78b4acbefdef4a6963d4474 1271s 1..4 1271s # Start of C tests 1271s ok 1 /C/standard-11 1271s # End of C tests 1271s # Start of alignof tests 1271s ok 2 /alignof/fallback 1271s # End of alignof tests 1271s # Start of assert tests 1271s ok 3 /assert/static 1271s # End of assert tests 1271s # Start of struct tests 1271s ok 4 /struct/sizeof_member 1271s # End of struct tests 1271s ok - glib/macros-c-11.test 1271s # Running test: glib/keyfile.test 1271s TAP version 14 1271s # random seed: R02S3f99ad783f87e86f459174bd06899210 1271s 1..36 1271s # Start of keyfile tests 1271s ok 1 /keyfile/line-ends 1271s ok 2 /keyfile/whitespace 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1271s ok 3 /keyfile/comments 1271s ok 4 /keyfile/listing 1271s ok 5 /keyfile/string 1271s ok 6 /keyfile/boolean 1271s ok 7 /keyfile/number 1271s ok 8 /keyfile/locale-string 1271s ok 9 /keyfile/lists 1271s ok 10 /keyfile/lists-set-get 1271s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1271s ok 11 /keyfile/group-remove 1271s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1271s ok 12 /keyfile/key-remove 1271s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1271s ok 13 /keyfile/groups 1271s ok 14 /keyfile/duplicate-keys 1271s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1271s ok 15 /keyfile/duplicate-groups 1271s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1271s ok 16 /keyfile/duplicate-groups2 1271s ok 17 /keyfile/group-names 1271s ok 18 /keyfile/key-names 1271s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1271s ok 19 /keyfile/reload 1271s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1271s ok 20 /keyfile/int64 1271s ok 21 /keyfile/load 1271s ok 22 /keyfile/save 1271s ok 23 /keyfile/load-fail 1271s ok 24 /keyfile/non-utf8 1271s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1271s ok 25 /keyfile/page-boundary 1271s ok 26 /keyfile/ref 1271s ok 27 /keyfile/replace-value 1271s ok 28 /keyfile/list-separator 1271s ok 29 /keyfile/empty-string 1271s ok 30 /keyfile/limbo 1271s # Testing invalid encoding ?non-UTF-8? 1271s # Testing invalid encoding ?UTF? 1271s # Testing invalid encoding ?UTF-9? 1271s ok 31 /keyfile/utf8 1271s ok 32 /keyfile/roundtrip 1271s ok 33 /keyfile/bytes 1271s ok 34 /keyfile/get-locale 1271s ok 35 /keyfile/free-when-not-last-ref 1271s # Start of locale-string tests 1271s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1271s ok 36 /keyfile/locale-string/multiple-loads 1271s # End of locale-string tests 1271s # End of keyfile tests 1271s ok - glib/keyfile.test 1271s # Running test: glib/portal-support-flatpak-none.test 1271s TAP version 14 1271s # random seed: R02S4fec52110a46f830effc1c57fb90abea 1271s 1..1 1271s # Start of portal-support tests 1271s # Start of flatpak tests 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_NV48Z2/portal-support/flatpak/none/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_NV48Z2/portal-support/flatpak/none/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_NV48Z2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_NV48Z2/portal-support/flatpak/none/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_NV48Z2/portal-support/flatpak/none/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_NV48Z2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_NV48Z2/portal-support/flatpak/none/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_NV48Z2/portal-support/flatpak/none/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_NV48Z2/portal-support/flatpak/none/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_NV48Z2/portal-support/flatpak/none/.dirs/runtime 1271s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_NV48Z2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1271s ok 1 /portal-support/flatpak/none 1271s # End of flatpak tests 1271s # End of portal-support tests 1271s ok - glib/portal-support-flatpak-none.test 1271s # Running test: glib/signals-refcount2.test 1271s TAP version 14 1271s # random seed: R02S39ccada727187a0487a31d84407abc52 1271s 1..1 1271s # Start of gobject tests 1271s # Start of refcount tests 1271s # init 0x5cee65c42420 1271s # 1271s # init 0x5cee65c425c0 1271s # 1272s # Executing: glib/signals-refcount2.test 1276s # dispose 0x5cee65c42420! 1276s # 1276s # dispose 0x5cee65c425c0! 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-refcount2.test 1276s # Running test: glib/properties-introspection.test 1276s TAP version 14 1276s # random seed: R02S2e6310a9b03c94ace95421829ecebc60 1276s 1..2 1276s # Start of properties tests 1276s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1276s ok 1 /properties/introspection 1276s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1276s ok 2 /properties/collision 1276s # End of properties tests 1276s ok - glib/properties-introspection.test 1276s # Running test: glib/value.test 1276s TAP version 14 1276s # random seed: R02S986bad69f5b22469226918315279d80b 1276s 1..9 1276s # Start of value tests 1276s ok 1 /value/basic 1276s ok 2 /value/collection 1276s ok 3 /value/copying 1276s ok 4 /value/enum-transformation 1276s ok 5 /value/gtype 1276s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1276s ok 6 /value/string 1276s # Next: GObject object in GValue of GObject to GValue of GObject 1276s # Next: GObject object in GValue of GObject to GValue of TestInterface 1276s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1276s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1276s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1276s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1276s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1276s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1276s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1276s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1276s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1276s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1276s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1276s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1276s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1276s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1276s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1276s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1276s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1276s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1276s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1276s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1276s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1276s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1276s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1276s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1276s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1276s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1276s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1276s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1276s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1276s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1276s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1276s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1276s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1276s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1276s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1276s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1276s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1276s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1276s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1276s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1276s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1276s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1276s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1276s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1276s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1276s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1276s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1276s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1276s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1276s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1276s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1276s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1276s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1276s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1276s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1276s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1276s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1276s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1276s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1276s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1276s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1276s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1276s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1276s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1276s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1276s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1276s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1276s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1276s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1276s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1276s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1276s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1276s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1276s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1276s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1276s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1276s ok 7 /value/transform-object 1276s # Start of array tests 1276s ok 8 /value/array/basic 1276s ok 9 /value/array/sort-with-data 1276s # End of array tests 1276s # End of value tests 1276s ok - glib/value.test 1276s # Running test: glib/override.test 1276s TAP version 14 1276s # random seed: R02S73a0b048cb007d00ad51535b0f690f4a 1276s 1..1 1276s # Start of gobject tests 1276s # *** emitting foo on a TestA instance 1276s # Expecting: TestA::foo,TestI::foo 1276s # Got: TestA::foo,TestI::foo 1276s # *** emitting bar on a TestA instance 1276s # Expecting: TestA::bar 1276s # Got: TestA::bar 1276s # *** emitting baz on a TestA instance 1276s # Expecting: TestA::baz 1276s # Got: TestA::baz 1276s # *** emitting foo on a TestB instance 1276s # Expecting: TestB::foo,TestA::foo,TestI::foo 1276s # Got: TestB::foo,TestA::foo,TestI::foo 1276s # *** emitting bar on a TestB instance 1276s # Expecting: TestB::bar,TestA::bar 1276s # Got: TestB::bar,TestA::bar 1276s # *** emitting baz on a TestB instance 1276s # Expecting: TestB::baz,TestA::baz 1276s # Got: TestB::baz,TestA::baz 1276s # *** emitting foo on a TestC instance 1276s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1276s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1276s # *** emitting bar on a TestC instance 1276s # Expecting: TestC::bar,TestB::bar,TestA::bar 1276s # Got: TestC::bar,TestB::bar,TestA::bar 1276s # *** emitting baz on a TestC instance 1276s # Expecting: TestC::baz,TestB::baz,TestA::baz 1276s # Got: TestC::baz,TestB::baz,TestA::baz 1276s ok 1 /gobject/override 1276s # End of gobject tests 1276s ok - glib/override.test 1276s # Running test: glib/throws.test 1276s TAP version 14 1276s # random seed: R02S3f948b8976323c70410c6c6a31cd4655 1276s 1..3 1276s # Start of throws tests 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_9754Z2/throws/invoke-gerror/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_9754Z2/throws/invoke-gerror/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_9754Z2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_9754Z2/throws/invoke-gerror/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_9754Z2/throws/invoke-gerror/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_9754Z2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_9754Z2/throws/invoke-gerror/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_9754Z2/throws/invoke-gerror/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_9754Z2/throws/invoke-gerror/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_9754Z2/throws/invoke-gerror/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1276s ok 1 /throws/invoke-gerror 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_9754Z2/throws/vfunc-can-throw-gerror/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_9754Z2/throws/vfunc-can-throw-gerror/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_9754Z2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_9754Z2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_9754Z2/throws/vfunc-can-throw-gerror/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_9754Z2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_9754Z2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_9754Z2/throws/vfunc-can-throw-gerror/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_9754Z2/throws/vfunc-can-throw-gerror/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_9754Z2/throws/vfunc-can-throw-gerror/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1276s ok 2 /throws/vfunc-can-throw-gerror 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_9754Z2/throws/callback-can-throw-gerror/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_9754Z2/throws/callback-can-throw-gerror/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_9754Z2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_9754Z2/throws/callback-can-throw-gerror/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_9754Z2/throws/callback-can-throw-gerror/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_9754Z2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_9754Z2/throws/callback-can-throw-gerror/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_9754Z2/throws/callback-can-throw-gerror/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_9754Z2/throws/callback-can-throw-gerror/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_9754Z2/throws/callback-can-throw-gerror/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1276s ok 3 /throws/callback-can-throw-gerror 1276s # End of throws tests 1276s ok - glib/throws.test 1276s # Running test: glib/assert-msg-test.py.test 1276s TAP version 13 1276s ok 1 __main__.TestAssertMessage.test_gassert 1276s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1276s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1276s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-laEP8zNfyp,guid=88e8ed0f7df4c6aac0268745678ab7e8', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.20kj3z/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.VL9fRkm8Kw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mQu4YQ/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.20kj3z/wrapper.sh --artifacts=/tmp/autopkgtest.20kj3z/installed-tests-artifacts --chdir=/tmp/autopkgtest.20kj3z/build.ScS/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.20kj3z/installed-tests-stderr --stdout=/tmp/autopkgtest.20kj3z/installed-tests-stdout --tmp=/tmp/autopkgtest.20kj3z/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests -- /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.20kj3z/build.ScS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.20kj3z/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1276s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1276s # Error: ** 1276s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1276s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1276s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1276s 1..2 1276s ok - glib/assert-msg-test.py.test 1276s # Running test: glib/memory-monitor-portal.test 1277s # Executing: glib/memory-monitor-portal.test 1277s TAP version 13 1277s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1277s 1..1 1277s ok - glib/memory-monitor-portal.test 1277s # Running test: glib/error.test 1277s TAP version 14 1277s # random seed: R02Sbeb7e5d6a843932cd2676004b177d670 1277s 1..3 1277s # Start of error tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_Y9VG02/error/from-errno/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_Y9VG02/error/from-errno/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_Y9VG02/error/from-errno/.dirs/system-config1:/tmp/test_error_Y9VG02/error/from-errno/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_Y9VG02/error/from-errno/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_Y9VG02/error/from-errno/.dirs/system-data1:/tmp/test_error_Y9VG02/error/from-errno/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_Y9VG02/error/from-errno/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_Y9VG02/error/from-errno/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_Y9VG02/error/from-errno/.dirs/runtime 1277s ok 1 /error/from-errno 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_Y9VG02/error/from-file-error/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_Y9VG02/error/from-file-error/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_Y9VG02/error/from-file-error/.dirs/system-config1:/tmp/test_error_Y9VG02/error/from-file-error/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_Y9VG02/error/from-file-error/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_Y9VG02/error/from-file-error/.dirs/system-data1:/tmp/test_error_Y9VG02/error/from-file-error/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_Y9VG02/error/from-file-error/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_Y9VG02/error/from-file-error/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_Y9VG02/error/from-file-error/.dirs/runtime 1277s ok 2 /error/from-file-error 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_Y9VG02/error/from-win32-error/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_Y9VG02/error/from-win32-error/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_Y9VG02/error/from-win32-error/.dirs/system-config1:/tmp/test_error_Y9VG02/error/from-win32-error/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_Y9VG02/error/from-win32-error/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_Y9VG02/error/from-win32-error/.dirs/system-data1:/tmp/test_error_Y9VG02/error/from-win32-error/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_Y9VG02/error/from-win32-error/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_Y9VG02/error/from-win32-error/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_Y9VG02/error/from-win32-error/.dirs/runtime 1277s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1277s # End of error tests 1277s ok - glib/error.test 1277s # Running test: glib/queue.test 1277s TAP version 14 1277s # random seed: R02S345bdac7951cea116e972fc80d51da53 1277s 1..12 1277s # Start of queue tests 1277s ok 1 /queue/basic 1277s ok 2 /queue/copy 1277s ok 3 /queue/off-by-one 1277s ok 4 /queue/find-custom 1277s ok 5 /queue/static 1277s ok 6 /queue/clear 1277s ok 7 /queue/free-full 1277s ok 8 /queue/clear-full 1277s ok 9 /queue/insert-sibling-link 1277s ok 10 /queue/push-nth-link 1277s # Start of clear-full tests 1277s ok 11 /queue/clear-full/noop 1277s # End of clear-full tests 1277s # Start of random tests 1277s ok 12 /queue/random/seed:1916215362 1277s # End of random tests 1277s # End of queue tests 1277s ok - glib/queue.test 1277s # Running test: glib/unix-fd.test 1277s TAP version 14 1277s # random seed: R02Sd0523b3878c25002e09ac437d4e8c417 1277s 1..2 1277s # Start of unix-fd tests 1277s ok 1 /unix-fd/fd-list 1277s ok 2 /unix-fd/scm 1277s # End of unix-fd tests 1277s ok - glib/unix-fd.test 1277s # Running test: glib/references.test 1277s TAP version 14 1277s # random seed: R02S6a788c192d18673cda506ceb139eac74 1277s 1..1 1277s # Start of gobject tests 1277s ok 1 /gobject/references 1277s # End of gobject tests 1277s ok - glib/references.test 1277s # Running test: glib/gdbus-proxy-unique-name.test 1277s TAP version 14 1277s # random seed: R02Sd6bc99c8c1d79412a4556bd3fc0f27eb 1277s 1..1 1277s # Start of gdbus tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_HNWO02/gdbus/proxy-unique-name/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_HNWO02/gdbus/proxy-unique-name/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_HNWO02/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_HNWO02/gdbus/proxy-unique-name/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_HNWO02/gdbus/proxy-unique-name/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_HNWO02/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_HNWO02/gdbus/proxy-unique-name/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_HNWO02/gdbus/proxy-unique-name/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_HNWO02/gdbus/proxy-unique-name/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_HNWO02/gdbus/proxy-unique-name/.dirs/runtime 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok 1 /gdbus/proxy-unique-name 1277s # End of gdbus tests 1277s ok - glib/gdbus-proxy-unique-name.test 1277s # Running test: glib/utils-c-11.test 1277s TAP version 14 1277s # random seed: R02Sa1821c39cc81a52cda30cc7db233a74b 1277s 1..40 1277s # Start of utils tests 1277s ok 1 /utils/language-names 1277s ok 2 /utils/locale-variants 1277s ok 3 /utils/version 1277s ok 4 /utils/appname 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1277s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1277s ok 5 /utils/prgname-thread-safety 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1277s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1277s ok 6 /utils/tmpdir 1277s ok 7 /utils/basic_bits 1277s ok 8 /utils/bits 1277s ok 9 /utils/swap 1277s ok 10 /utils/find-program 1277s ok 11 /utils/find-program-for-path 1277s ok 12 /utils/debug 1277s ok 13 /utils/codeset 1277s ok 14 /utils/codeset2 1277s ok 15 /utils/console-charset 1277s ok 16 /utils/gettext 1277s ok 17 /utils/username 1277s ok 18 /utils/realname 1277s ok 19 /utils/hostname 1277s ok 20 /utils/xdgdirs 1277s ok 21 /utils/specialdir 1277s # NAME: Ubuntu 1277s ok 22 /utils/os-info 1277s ok 23 /utils/clear-pointer 1277s ok 24 /utils/clear-pointer-cast 1277s ok 25 /utils/take-pointer 1277s ok 26 /utils/clear-source 1277s ok 27 /utils/misc-mem 1277s # /utils/aligned-mem summary: Aligned memory allocator 1277s # Alignment must not be zero 1277s # Alignment must be a power of two 1277s # Alignment must be a multiple of sizeof(void*) 1277s ok 28 /utils/aligned-mem 1277s # /utils/free-sized summary: Check that g_free_sized() works 1277s ok 29 /utils/free-sized 1277s ok 30 /utils/nullify 1277s ok 31 /utils/atexit 1277s ok 32 /utils/check-setuid 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1277s ok 33 /utils/int-limits 1277s ok 34 /utils/clear-list 1277s ok 35 /utils/clear-slist 1277s # Start of specialdir tests 1277s ok 36 /utils/specialdir/desktop 1277s # End of specialdir tests 1277s # Start of clear-pointer tests 1277s ok 37 /utils/clear-pointer/side-effects 1277s # End of clear-pointer tests 1277s # Start of aligned-mem tests 1277s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1277s ok 38 /utils/aligned-mem/alignment 1277s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1277s ok 39 /utils/aligned-mem/zeroed 1277s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1277s ok 40 /utils/aligned-mem/free-sized 1277s # Start of subprocess tests 1277s # End of subprocess tests 1277s # End of aligned-mem tests 1277s # End of utils tests 1277s ok - glib/utils-c-11.test 1277s # Running test: glib/shell.test 1277s TAP version 14 1277s # random seed: R02S46b2d1d7f9f14899589c03d8b0963dd1 1277s 1..51 1277s # Start of shell tests 1277s # Start of cmdline tests 1277s test cmdline: foo bar 1277s ok 1 /shell/cmdline/0 1277s test cmdline: foo 'bar' 1277s ok 2 /shell/cmdline/1 1277s test cmdline: foo "bar" 1277s ok 3 /shell/cmdline/2 1277s test cmdline: foo '' 'bar' 1277s ok 4 /shell/cmdline/3 1277s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1277s ok 5 /shell/cmdline/4 1277s test cmdline: foo blah foo bar baz 1277s ok 6 /shell/cmdline/5 1277s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1277s ok 7 /shell/cmdline/6 1277s test cmdline: foo \ 1277s bar 1277s ok 8 /shell/cmdline/7 1277s test cmdline: foo '' '' 1277s ok 9 /shell/cmdline/8 1277s test cmdline: foo \" la la la 1277s ok 10 /shell/cmdline/9 1277s test cmdline: foo \ foo woo woo\ 1277s ok 11 /shell/cmdline/10 1277s test cmdline: foo "yada yada \$\"" 1277s ok 12 /shell/cmdline/11 1277s test cmdline: foo "c:\\" 1277s ok 13 /shell/cmdline/12 1277s test cmdline: foo # bla bla bla 1277s bar 1277s ok 14 /shell/cmdline/13 1277s test cmdline: foo a#b 1277s ok 15 /shell/cmdline/14 1277s test cmdline: #foo 1277s ok 16 /shell/cmdline/15 1277s test cmdline: foo bar \ 1277s ok 17 /shell/cmdline/16 1277s test cmdline: foo 'bar baz 1277s ok 18 /shell/cmdline/17 1277s test cmdline: foo '"bar" baz 1277s ok 19 /shell/cmdline/18 1277s test cmdline: 1277s ok 20 /shell/cmdline/19 1277s test cmdline: 1277s ok 21 /shell/cmdline/20 1277s test cmdline: # foo bar 1277s ok 22 /shell/cmdline/21 1277s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1277s ok 23 /shell/cmdline/22 1277s # End of cmdline tests 1277s # Start of quote tests 1277s ok 24 /shell/quote/0 1277s ok 25 /shell/quote/1 1277s ok 26 /shell/quote/2 1277s ok 27 /shell/quote/3 1277s ok 28 /shell/quote/4 1277s ok 29 /shell/quote/5 1277s ok 30 /shell/quote/6 1277s # End of quote tests 1277s # Start of unquote tests 1277s ok 31 /shell/unquote/0 1277s ok 32 /shell/unquote/1 1277s ok 33 /shell/unquote/2 1277s ok 34 /shell/unquote/3 1277s ok 35 /shell/unquote/4 1277s ok 36 /shell/unquote/5 1277s ok 37 /shell/unquote/6 1277s ok 38 /shell/unquote/7 1277s ok 39 /shell/unquote/8 1277s ok 40 /shell/unquote/9 1277s ok 41 /shell/unquote/10 1277s ok 42 /shell/unquote/11 1277s ok 43 /shell/unquote/12 1277s ok 44 /shell/unquote/13 1277s ok 45 /shell/unquote/14 1277s ok 46 /shell/unquote/15 1277s ok 47 /shell/unquote/16 1277s ok 48 /shell/unquote/17 1277s ok 49 /shell/unquote/18 1277s ok 50 /shell/unquote/19 1277s ok 51 /shell/unquote/20 1277s # End of unquote tests 1277s # End of shell tests 1277s ok - glib/shell.test 1277s # Running test: glib/option-context.test 1277s TAP version 14 1277s # random seed: R02S35135f423c8e8985224696c2151d3491 1277s 1..57 1277s # Start of option tests 1277s ok 1 /option/basic 1277s ok 2 /option/translate 1277s ok 3 /option/strict-posix 1277s # Start of help tests 1277s ok 4 /option/help/options 1277s ok 5 /option/help/no-options 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1277s ok 6 /option/help/no-help-options 1277s # End of help tests 1277s # Start of group tests 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1277s ok 7 /option/group/captions 1277s ok 8 /option/group/main 1277s ok 9 /option/group/error-hook 1277s ok 10 /option/group/parse 1277s # Start of captions tests 1277s # Start of subprocess tests 1277s # End of subprocess tests 1277s # End of captions tests 1277s # End of group tests 1277s # Start of restoration tests 1277s ok 11 /option/restoration/int 1277s ok 12 /option/restoration/string 1277s ok 13 /option/restoration/boolean 1277s # End of restoration tests 1277s # Start of arg tests 1277s ok 14 /option/arg/reverse-string 1277s ok 15 /option/arg/optional-int 1277s # Start of repetition tests 1277s ok 16 /option/arg/repetition/int 1277s ok 17 /option/arg/repetition/string 1277s ok 18 /option/arg/repetition/filename 1277s ok 19 /option/arg/repetition/double 1277s ok 20 /option/arg/repetition/locale 1277s ok 21 /option/arg/repetition/int64 1277s # End of repetition tests 1277s # Start of array tests 1277s ok 22 /option/arg/array/string 1277s # End of array tests 1277s # Start of callback tests 1277s ok 23 /option/arg/callback/string 1277s ok 24 /option/arg/callback/count 1277s ok 25 /option/arg/callback/optional1 1277s ok 26 /option/arg/callback/optional2 1277s ok 27 /option/arg/callback/optional3 1277s ok 28 /option/arg/callback/optional4 1277s ok 29 /option/arg/callback/optional5 1277s ok 30 /option/arg/callback/optional6 1277s ok 31 /option/arg/callback/optional7 1277s ok 32 /option/arg/callback/optional8 1277s # End of callback tests 1277s # Start of remaining tests 1277s ok 33 /option/arg/remaining/callback 1277s ok 34 /option/arg/remaining/callback-false 1277s ok 35 /option/arg/remaining/non-option 1277s ok 36 /option/arg/remaining/separator 1277s ok 37 /option/arg/remaining/array 1277s # End of remaining tests 1277s # Start of ignore tests 1277s ok 38 /option/arg/ignore/long 1277s ok 39 /option/arg/ignore/short 1277s ok 40 /option/arg/ignore/arg 1277s # End of ignore tests 1277s # Start of rest tests 1277s ok 41 /option/arg/rest/non-option 1277s ok 42 /option/arg/rest/separator1 1277s ok 43 /option/arg/rest/separator2 1277s ok 44 /option/arg/rest/separator3 1277s ok 45 /option/arg/rest/separator4 1277s ok 46 /option/arg/rest/separator5 1277s # End of rest tests 1277s # End of arg tests 1277s # Start of context tests 1277s ok 47 /option/context/add 1277s ok 48 /option/context/empty2 1277s ok 49 /option/context/empty3 1277s # End of context tests 1277s # Start of bug tests 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1277s ok 50 /option/bug/unknown-short 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1277s ok 51 /option/bug/lonely-dash 1277s ok 52 /option/bug/triple-dash 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1277s ok 53 /option/bug/missing-arg 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1277s ok 54 /option/bug/dash-arg 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1277s ok 55 /option/bug/short-remaining 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1277s ok 56 /option/bug/double-free 1277s ok 57 /option/bug/double-zero 1277s # End of bug tests 1277s # End of option tests 1277s ok - glib/option-context.test 1277s # Running test: glib/bookmarkfile.test 1277s TAP version 14 1277s # random seed: R02S942dc2b199e16cedcbd3f90065caa30b 1277s 1..96 1277s # Start of bookmarks tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/load-from-data-dirs/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/load-from-data-dirs/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/load-from-data-dirs/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/load-from-data-dirs/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/load-from-data-dirs/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/load-from-data-dirs/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/load-from-data-dirs/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/load-from-data-dirs/.dirs/runtime 1277s ok 1 /bookmarks/load-from-data-dirs 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/to-file/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/to-file/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/to-file/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/to-file/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/to-file/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/to-file/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/to-file/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/to-file/.dirs/runtime 1277s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_KIBQ02/bookmarkfile-test-Q1BQ02.xbel 1277s # Roundtrip from a valid bookmark file 1277s ok 2 /bookmarks/to-file 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/move-item/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/move-item/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/move-item/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/move-item/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/move-item/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/move-item/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/move-item/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/move-item/.dirs/runtime 1277s ok 3 /bookmarks/move-item 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/corner-cases/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/corner-cases/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/corner-cases/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/corner-cases/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/corner-cases/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/corner-cases/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/corner-cases/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/corner-cases/.dirs/runtime 1277s ok 4 /bookmarks/corner-cases 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/misc/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/misc/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/misc/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/misc/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/misc/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/misc/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/misc/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/misc/.dirs/runtime 1277s ok 5 /bookmarks/misc 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/deprecated/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/deprecated/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/deprecated/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/deprecated/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/deprecated/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/deprecated/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/deprecated/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/deprecated/.dirs/runtime 1277s ok 6 /bookmarks/deprecated 1277s # Start of parse tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-40.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-40.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-40.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-40.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-40.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-40.xbel/.dirs/runtime 1277s ok 7 /bookmarks/parse/fail-40.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-17.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-17.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-17.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-17.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-17.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-17.xbel/.dirs/runtime 1277s ok 8 /bookmarks/parse/fail-17.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-13.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-13.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-13.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-13.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-13.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-13.xbel/.dirs/runtime 1277s ok 9 /bookmarks/parse/fail-13.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-24.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-24.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-24.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-24.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-24.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-24.xbel/.dirs/runtime 1277s ok 10 /bookmarks/parse/fail-24.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-30.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-30.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-30.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-30.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-30.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-30.xbel/.dirs/runtime 1277s ok 11 /bookmarks/parse/fail-30.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-26.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-26.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-26.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-26.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-26.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-26.xbel/.dirs/runtime 1277s ok 12 /bookmarks/parse/fail-26.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-41.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-41.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-41.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-41.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-41.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-41.xbel/.dirs/runtime 1277s ok 13 /bookmarks/parse/fail-41.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-34.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-34.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-34.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-34.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-34.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-34.xbel/.dirs/runtime 1277s ok 14 /bookmarks/parse/fail-34.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-15.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-15.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-15.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-15.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-15.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-15.xbel/.dirs/runtime 1277s ok 15 /bookmarks/parse/fail-15.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-16.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-16.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-16.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-16.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-16.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-16.xbel/.dirs/runtime 1277s ok 16 /bookmarks/parse/fail-16.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-39.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-39.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-39.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-39.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-39.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-39.xbel/.dirs/runtime 1277s ok 17 /bookmarks/parse/fail-39.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-38.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-38.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-38.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-38.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-38.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-38.xbel/.dirs/runtime 1277s ok 18 /bookmarks/parse/fail-38.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-29.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-29.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-29.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-29.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-29.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-29.xbel/.dirs/runtime 1277s ok 19 /bookmarks/parse/fail-29.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-37.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-37.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-37.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-37.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-37.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-37.xbel/.dirs/runtime 1277s ok 20 /bookmarks/parse/fail-37.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-31.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-31.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-31.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-31.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-31.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-31.xbel/.dirs/runtime 1277s ok 21 /bookmarks/parse/fail-31.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-21.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-21.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-21.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-21.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-21.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-21.xbel/.dirs/runtime 1277s ok 22 /bookmarks/parse/fail-21.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-04.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-04.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-04.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-04.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-04.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-04.xbel/.dirs/runtime 1277s ok 23 /bookmarks/parse/fail-04.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-36.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-36.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-36.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-36.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-36.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-36.xbel/.dirs/runtime 1277s ok 24 /bookmarks/parse/fail-36.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-08.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-08.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-08.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-08.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-08.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-08.xbel/.dirs/runtime 1277s ok 25 /bookmarks/parse/fail-08.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-11.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-11.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-11.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-11.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-11.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-11.xbel/.dirs/runtime 1277s ok 26 /bookmarks/parse/fail-11.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-22.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-22.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-22.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-22.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-22.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-22.xbel/.dirs/runtime 1277s ok 27 /bookmarks/parse/fail-22.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-01.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-01.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-01.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-01.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-01.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-01.xbel/.dirs/runtime 1277s ok 28 /bookmarks/parse/fail-01.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-23.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-23.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-23.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-23.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-23.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-23.xbel/.dirs/runtime 1277s ok 29 /bookmarks/parse/fail-23.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-19.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-19.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-19.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-19.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-19.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-19.xbel/.dirs/runtime 1277s ok 30 /bookmarks/parse/fail-19.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-27.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-27.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-27.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-27.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-27.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-27.xbel/.dirs/runtime 1277s ok 31 /bookmarks/parse/fail-27.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-03.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-03.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-03.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-03.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-03.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-03.xbel/.dirs/runtime 1277s ok 32 /bookmarks/parse/fail-03.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-18.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-18.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-18.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-18.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-18.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-18.xbel/.dirs/runtime 1277s ok 33 /bookmarks/parse/fail-18.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-42.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-42.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-42.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-42.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-42.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-42.xbel/.dirs/runtime 1277s ok 34 /bookmarks/parse/fail-42.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-01.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-01.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-01.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-01.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-01.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-01.xbel/.dirs/runtime 1277s ok 35 /bookmarks/parse/valid-01.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-20.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-20.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-20.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-20.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-20.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-20.xbel/.dirs/runtime 1277s ok 36 /bookmarks/parse/fail-20.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-35.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-35.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-35.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-35.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-35.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-35.xbel/.dirs/runtime 1277s ok 37 /bookmarks/parse/fail-35.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-02.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-02.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-02.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-02.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-02.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-02.xbel/.dirs/runtime 1277s ok 38 /bookmarks/parse/valid-02.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-09.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-09.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-09.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-09.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-09.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-09.xbel/.dirs/runtime 1277s ok 39 /bookmarks/parse/fail-09.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-03.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-03.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-03.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-03.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-03.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/valid-03.xbel/.dirs/runtime 1277s ok 40 /bookmarks/parse/valid-03.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-12.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-12.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-12.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-12.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-12.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-12.xbel/.dirs/runtime 1277s ok 41 /bookmarks/parse/fail-12.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-05.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-05.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-05.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-05.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-05.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-05.xbel/.dirs/runtime 1277s ok 42 /bookmarks/parse/fail-05.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-33.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-33.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-33.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-33.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-33.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-33.xbel/.dirs/runtime 1277s ok 43 /bookmarks/parse/fail-33.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-06.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-06.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-06.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-06.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-06.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-06.xbel/.dirs/runtime 1277s ok 44 /bookmarks/parse/fail-06.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-28.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-28.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-28.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-28.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-28.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-28.xbel/.dirs/runtime 1277s ok 45 /bookmarks/parse/fail-28.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-02.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-02.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-02.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-02.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-02.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-02.xbel/.dirs/runtime 1277s ok 46 /bookmarks/parse/fail-02.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-07.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-07.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-07.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-07.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-07.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-07.xbel/.dirs/runtime 1277s ok 47 /bookmarks/parse/fail-07.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-14.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-14.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-14.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-14.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-14.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-14.xbel/.dirs/runtime 1277s ok 48 /bookmarks/parse/fail-14.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-25.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-25.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-25.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-25.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-25.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-25.xbel/.dirs/runtime 1277s ok 49 /bookmarks/parse/fail-25.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-10.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-10.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-10.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-10.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-10.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-10.xbel/.dirs/runtime 1277s ok 50 /bookmarks/parse/fail-10.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-32.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-32.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-32.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-32.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-32.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/parse/fail-32.xbel/.dirs/runtime 1277s ok 51 /bookmarks/parse/fail-32.xbel 1277s # End of parse tests 1277s # Start of copy tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-40.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-40.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-40.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-40.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-40.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-40.xbel/.dirs/runtime 1277s ok 52 /bookmarks/copy/fail-40.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-17.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-17.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-17.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-17.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-17.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-17.xbel/.dirs/runtime 1277s ok 53 /bookmarks/copy/fail-17.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-13.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-13.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-13.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-13.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-13.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-13.xbel/.dirs/runtime 1277s ok 54 /bookmarks/copy/fail-13.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-24.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-24.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-24.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-24.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-24.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-24.xbel/.dirs/runtime 1277s ok 55 /bookmarks/copy/fail-24.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-30.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-30.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-30.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-30.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-30.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-30.xbel/.dirs/runtime 1277s ok 56 /bookmarks/copy/fail-30.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-26.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-26.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-26.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-26.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-26.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-26.xbel/.dirs/runtime 1277s ok 57 /bookmarks/copy/fail-26.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-41.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-41.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-41.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-41.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-41.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-41.xbel/.dirs/runtime 1277s ok 58 /bookmarks/copy/fail-41.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-34.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-34.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-34.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-34.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-34.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-34.xbel/.dirs/runtime 1277s ok 59 /bookmarks/copy/fail-34.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-15.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-15.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-15.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-15.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-15.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-15.xbel/.dirs/runtime 1277s ok 60 /bookmarks/copy/fail-15.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-16.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-16.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-16.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-16.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-16.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-16.xbel/.dirs/runtime 1277s ok 61 /bookmarks/copy/fail-16.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-39.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-39.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-39.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-39.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-39.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-39.xbel/.dirs/runtime 1277s ok 62 /bookmarks/copy/fail-39.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-38.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-38.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-38.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-38.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-38.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-38.xbel/.dirs/runtime 1277s ok 63 /bookmarks/copy/fail-38.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-29.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-29.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-29.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-29.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-29.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-29.xbel/.dirs/runtime 1277s ok 64 /bookmarks/copy/fail-29.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-37.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-37.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-37.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-37.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-37.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-37.xbel/.dirs/runtime 1277s ok 65 /bookmarks/copy/fail-37.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-31.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-31.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-31.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-31.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-31.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-31.xbel/.dirs/runtime 1277s ok 66 /bookmarks/copy/fail-31.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-21.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-21.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-21.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-21.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-21.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-21.xbel/.dirs/runtime 1277s ok 67 /bookmarks/copy/fail-21.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-04.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-04.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-04.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-04.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-04.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-04.xbel/.dirs/runtime 1277s ok 68 /bookmarks/copy/fail-04.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-36.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-36.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-36.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-36.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-36.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-36.xbel/.dirs/runtime 1277s ok 69 /bookmarks/copy/fail-36.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-08.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-08.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-08.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-08.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-08.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-08.xbel/.dirs/runtime 1277s ok 70 /bookmarks/copy/fail-08.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-11.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-11.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-11.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-11.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-11.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-11.xbel/.dirs/runtime 1277s ok 71 /bookmarks/copy/fail-11.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-22.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-22.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-22.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-22.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-22.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-22.xbel/.dirs/runtime 1277s ok 72 /bookmarks/copy/fail-22.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-01.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-01.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-01.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-01.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-01.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-01.xbel/.dirs/runtime 1277s ok 73 /bookmarks/copy/fail-01.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-23.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-23.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-23.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-23.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-23.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-23.xbel/.dirs/runtime 1277s ok 74 /bookmarks/copy/fail-23.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-19.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-19.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-19.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-19.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-19.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-19.xbel/.dirs/runtime 1277s ok 75 /bookmarks/copy/fail-19.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-27.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-27.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-27.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-27.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-27.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-27.xbel/.dirs/runtime 1277s ok 76 /bookmarks/copy/fail-27.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-03.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-03.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-03.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-03.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-03.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-03.xbel/.dirs/runtime 1277s ok 77 /bookmarks/copy/fail-03.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-18.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-18.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-18.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-18.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-18.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-18.xbel/.dirs/runtime 1277s ok 78 /bookmarks/copy/fail-18.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-42.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-42.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-42.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-42.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-42.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-42.xbel/.dirs/runtime 1277s ok 79 /bookmarks/copy/fail-42.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-01.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-01.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-01.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-01.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-01.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-01.xbel/.dirs/runtime 1277s ok 80 /bookmarks/copy/valid-01.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-20.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-20.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-20.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-20.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-20.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-20.xbel/.dirs/runtime 1277s ok 81 /bookmarks/copy/fail-20.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-35.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-35.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-35.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-35.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-35.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-35.xbel/.dirs/runtime 1277s ok 82 /bookmarks/copy/fail-35.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-02.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-02.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-02.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-02.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-02.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-02.xbel/.dirs/runtime 1277s ok 83 /bookmarks/copy/valid-02.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-09.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-09.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-09.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-09.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-09.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-09.xbel/.dirs/runtime 1277s ok 84 /bookmarks/copy/fail-09.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-03.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-03.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-03.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-03.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-03.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/valid-03.xbel/.dirs/runtime 1277s ok 85 /bookmarks/copy/valid-03.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-12.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-12.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-12.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-12.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-12.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-12.xbel/.dirs/runtime 1277s ok 86 /bookmarks/copy/fail-12.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-05.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-05.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-05.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-05.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-05.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-05.xbel/.dirs/runtime 1277s ok 87 /bookmarks/copy/fail-05.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-33.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-33.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-33.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-33.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-33.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-33.xbel/.dirs/runtime 1277s ok 88 /bookmarks/copy/fail-33.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-06.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-06.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-06.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-06.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-06.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-06.xbel/.dirs/runtime 1277s ok 89 /bookmarks/copy/fail-06.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-28.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-28.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-28.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-28.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-28.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-28.xbel/.dirs/runtime 1277s ok 90 /bookmarks/copy/fail-28.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-02.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-02.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-02.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-02.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-02.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-02.xbel/.dirs/runtime 1277s ok 91 /bookmarks/copy/fail-02.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-07.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-07.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-07.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-07.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-07.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-07.xbel/.dirs/runtime 1277s ok 92 /bookmarks/copy/fail-07.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-14.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-14.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-14.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-14.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-14.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-14.xbel/.dirs/runtime 1277s ok 93 /bookmarks/copy/fail-14.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-25.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-25.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-25.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-25.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-25.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-25.xbel/.dirs/runtime 1277s ok 94 /bookmarks/copy/fail-25.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-10.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-10.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-10.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-10.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-10.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-10.xbel/.dirs/runtime 1277s ok 95 /bookmarks/copy/fail-10.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-32.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-32.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-32.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-32.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-32.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KIBQ02/bookmarks/copy/fail-32.xbel/.dirs/runtime 1277s ok 96 /bookmarks/copy/fail-32.xbel 1277s # End of copy tests 1277s # End of bookmarks tests 1277s ok - glib/bookmarkfile.test 1277s # Running test: glib/portal-support-flatpak-full.test 1277s TAP version 14 1277s # random seed: R02Sbe87417f0eb3a4d4ce9b2625ed84ba0a 1277s 1..1 1277s # Start of portal-support tests 1277s # Start of flatpak tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_MFIP02/portal-support/flatpak/full/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_MFIP02/portal-support/flatpak/full/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_MFIP02/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_MFIP02/portal-support/flatpak/full/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_MFIP02/portal-support/flatpak/full/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_MFIP02/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_MFIP02/portal-support/flatpak/full/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_MFIP02/portal-support/flatpak/full/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_MFIP02/portal-support/flatpak/full/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_MFIP02/portal-support/flatpak/full/.dirs/runtime 1277s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_MFIP02/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1277s ok 1 /portal-support/flatpak/full 1277s # End of flatpak tests 1277s # End of portal-support tests 1277s ok - glib/portal-support-flatpak-full.test 1277s # Running test: glib/gdbus-connection-loss.test 1277s TAP version 14 1277s # random seed: R02Sfb5ea71ba1120d4793c69568f59e8eeb 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s 1..1 1277s # Start of gdbus tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_ZRFP02/gdbus/connection-loss/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_ZRFP02/gdbus/connection-loss/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_ZRFP02/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_ZRFP02/gdbus/connection-loss/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_ZRFP02/gdbus/connection-loss/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_ZRFP02/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_ZRFP02/gdbus/connection-loss/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_ZRFP02/gdbus/connection-loss/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_ZRFP02/gdbus/connection-loss/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_ZRFP02/gdbus/connection-loss/.dirs/runtime 1277s ok 1 /gdbus/connection-loss 1277s # End of gdbus tests 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok - glib/gdbus-connection-loss.test 1277s # Running test: glib/dbus-appinfo.test 1277s TAP version 14 1277s # random seed: R02S6f9ec0d1ad81ac1219b6c0bf841b8521 1277s 1..3 1277s # Start of appinfo tests 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1277s ok 1 /appinfo/dbusappinfo 1277s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1277s dbus-daemon[13561]: [session uid=1000 pid=13561] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=13560 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1277s # Acquired a message bus connection 1277s dbus-daemon[13561]: [session uid=1000 pid=13561] Successfully activated service 'org.freedesktop.portal.Documents' 1277s # Acquired the name org.freedesktop.portal.Documents 1277s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1277s ok 2 /appinfo/flatpak-doc-export 1277s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1277s ok 3 /appinfo/flatpak-missing-doc-export 1277s # End of appinfo tests 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # Lost the name org.freedesktop.portal.Documents 1277s ok - glib/dbus-appinfo.test 1277s # Running test: glib/pattern.test 1277s TAP version 14 1277s # random seed: R02S0ebd043b47b5d50bae71d2fb0c34dddf 1277s 1..90 1277s # Start of pattern tests 1277s # Start of compile tests 1277s ok 1 /pattern/compile/0 1277s ok 2 /pattern/compile/1 1277s ok 3 /pattern/compile/2 1277s ok 4 /pattern/compile/3 1277s ok 5 /pattern/compile/4 1277s ok 6 /pattern/compile/5 1277s ok 7 /pattern/compile/6 1277s ok 8 /pattern/compile/7 1277s ok 9 /pattern/compile/8 1277s ok 10 /pattern/compile/9 1277s ok 11 /pattern/compile/10 1277s ok 12 /pattern/compile/11 1277s ok 13 /pattern/compile/12 1277s ok 14 /pattern/compile/13 1277s # End of compile tests 1277s # Start of copy tests 1277s ok 15 /pattern/copy/0 1277s ok 16 /pattern/copy/1 1277s ok 17 /pattern/copy/2 1277s ok 18 /pattern/copy/3 1277s ok 19 /pattern/copy/4 1277s ok 20 /pattern/copy/5 1277s ok 21 /pattern/copy/6 1277s ok 22 /pattern/copy/7 1277s ok 23 /pattern/copy/8 1277s ok 24 /pattern/copy/9 1277s ok 25 /pattern/copy/10 1277s ok 26 /pattern/copy/11 1277s ok 27 /pattern/copy/12 1277s ok 28 /pattern/copy/13 1277s # End of copy tests 1277s # Start of match tests 1277s ok 29 /pattern/match/0 1277s ok 30 /pattern/match/1 1277s ok 31 /pattern/match/2 1277s ok 32 /pattern/match/3 1277s ok 33 /pattern/match/4 1277s ok 34 /pattern/match/5 1277s ok 35 /pattern/match/6 1277s ok 36 /pattern/match/7 1277s ok 37 /pattern/match/8 1277s ok 38 /pattern/match/9 1277s ok 39 /pattern/match/10 1277s ok 40 /pattern/match/11 1277s ok 41 /pattern/match/12 1277s ok 42 /pattern/match/13 1277s ok 43 /pattern/match/14 1277s ok 44 /pattern/match/15 1277s ok 45 /pattern/match/16 1277s ok 46 /pattern/match/17 1277s ok 47 /pattern/match/18 1277s ok 48 /pattern/match/19 1277s ok 49 /pattern/match/20 1277s ok 50 /pattern/match/21 1277s ok 51 /pattern/match/22 1277s ok 52 /pattern/match/23 1277s ok 53 /pattern/match/24 1277s ok 54 /pattern/match/25 1277s ok 55 /pattern/match/26 1277s ok 56 /pattern/match/27 1277s ok 57 /pattern/match/28 1277s ok 58 /pattern/match/29 1277s ok 59 /pattern/match/30 1277s ok 60 /pattern/match/31 1277s ok 61 /pattern/match/32 1277s ok 62 /pattern/match/33 1277s ok 63 /pattern/match/34 1277s ok 64 /pattern/match/35 1277s ok 65 /pattern/match/36 1277s ok 66 /pattern/match/37 1277s ok 67 /pattern/match/38 1277s ok 68 /pattern/match/39 1277s ok 69 /pattern/match/40 1277s ok 70 /pattern/match/41 1277s ok 71 /pattern/match/42 1277s ok 72 /pattern/match/43 1277s ok 73 /pattern/match/44 1277s ok 74 /pattern/match/45 1277s ok 75 /pattern/match/46 1277s ok 76 /pattern/match/47 1277s ok 77 /pattern/match/48 1277s ok 78 /pattern/match/49 1277s ok 79 /pattern/match/50 1277s # End of match tests 1277s # Start of equal tests 1277s ok 80 /pattern/equal/0 1277s ok 81 /pattern/equal/1 1277s ok 82 /pattern/equal/2 1277s ok 83 /pattern/equal/3 1277s ok 84 /pattern/equal/4 1277s ok 85 /pattern/equal/5 1277s ok 86 /pattern/equal/6 1277s ok 87 /pattern/equal/7 1277s ok 88 /pattern/equal/8 1277s ok 89 /pattern/equal/9 1277s ok 90 /pattern/equal/10 1277s # End of equal tests 1277s # End of pattern tests 1277s ok - glib/pattern.test 1277s # Running test: glib/memchunk.test 1277s TAP version 14 1277s # random seed: R02Se16112f41da715bf3ac9bf4e04d5c1c9 1277s 1..1 1277s # Start of memchunk tests 1277s ok 1 /memchunk/basic 1277s # End of memchunk tests 1277s ok - glib/memchunk.test 1277s # Running test: glib/properties.test 1277s TAP version 14 1277s # random seed: R02S899dce6725a5bc93f07a057af6f411cc 1277s 1..13 1277s # Start of properties tests 1277s ok 1 /properties/install 1277s ok 2 /properties/install-many 1277s ok 3 /properties/notify 1277s ok 4 /properties/notify-queue 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1277s ok 5 /properties/construct 1277s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1277s # Test g_object_get_property with an initialized value 1277s # Test g_object_get_property with an uninitialized value 1277s # Test g_object_get_property with a transformable value 1277s ok 6 /properties/get-property 1277s ok 7 /properties/testv_with_no_properties 1277s ok 8 /properties/testv_with_valid_properties 1277s ok 9 /properties/testv_with_invalid_property_type 1277s ok 10 /properties/testv_with_invalid_property_names 1277s ok 11 /properties/testv_getv 1277s ok 12 /properties/testv_notify_queue 1277s # Start of set-property tests 1277s # Start of variant tests 1277s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1277s ok 13 /properties/set-property/variant/floating 1277s # End of variant tests 1277s # End of set-property tests 1277s # End of properties tests 1277s ok - glib/properties.test 1277s # Running test: glib/slice.test 1277s TAP version 14 1277s # random seed: R02S5c14a51515cf68aa4f264d62e625f525 1277s 1..3 1277s # Start of slice tests 1277s ok 1 /slice/copy 1277s ok 2 /slice/chain 1277s ok 3 /slice/allocate 1277s # End of slice tests 1277s ok - glib/slice.test 1277s # Running test: glib/cxx-2b.test 1277s TAP version 14 1277s # random seed: R02S9ab64f979950f7f7e19b88e66201b0e3 1277s 1..2 1277s # Start of gtask tests 1277s # 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. 1277s ok 1 /gtask/name 1277s # Start of name tests 1277s # 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. 1277s ok 2 /gtask/name/macro-wrapper 1277s # End of name tests 1277s # End of gtask tests 1277s ok - glib/cxx-2b.test 1277s # Running test: glib/application-command-line.test 1277s TAP version 14 1277s # random seed: R02S969dc2dbd91a5263b769f97ef5368e89 1277s 1..1 1277s # Start of application-command-line tests 1277s ok 1 /application-command-line/basic-properties 1277s # End of application-command-line tests 1277s ok - glib/application-command-line.test 1277s # Running test: glib/overflow.test 1277s TAP version 14 1277s # random seed: R02S190ee48be3e12415258b4665ce81d2c2 1277s 1..6 1277s # Start of glib tests 1277s # Start of checked-math tests 1277s ok 1 /glib/checked-math/guint-add 1277s ok 2 /glib/checked-math/guint-mul 1277s ok 3 /glib/checked-math/guint64-add 1277s ok 4 /glib/checked-math/guint64-mul 1277s ok 5 /glib/checked-math/gsize-add 1277s ok 6 /glib/checked-math/gsize-mul 1277s # End of checked-math tests 1277s # End of glib tests 1277s ok - glib/overflow.test 1277s # Running test: glib/cxx-03.test 1277s TAP version 14 1277s # random seed: R02S8ec442979f94572b5cac962353eeb1f3 1277s 1..2 1277s # Start of gtask tests 1277s # 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. 1277s ok 1 /gtask/name 1277s # Start of name tests 1277s # 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. 1277s ok 2 /gtask/name/macro-wrapper 1277s # End of name tests 1277s # End of gtask tests 1277s ok - glib/cxx-03.test 1277s # Running test: glib/gdbus-sasl.test 1277s TAP version 14 1277s # random seed: R02Sa13c741094059441a9f53a9b93903d33 1277s 1..1 1277s # Start of gdbus tests 1277s # Start of sasl tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_NKK6Z2/gdbus/sasl/server/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_NKK6Z2/gdbus/sasl/server/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_NKK6Z2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_NKK6Z2/gdbus/sasl/server/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_NKK6Z2/gdbus/sasl/server/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_NKK6Z2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_NKK6Z2/gdbus/sasl/server/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_NKK6Z2/gdbus/sasl/server/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_NKK6Z2/gdbus/sasl/server/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_NKK6Z2/gdbus/sasl/server/.dirs/runtime 1277s # New handshake: EXTERNAL with incorrect initial response 1277s # C:“AUTH EXTERNAL 30†1277s # Expect: /^REJECTED.*$/ 1277s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1277s # New handshake: EXTERNAL without initial response, failing to authenticate 1277s # C:“AUTH EXTERNAL†1277s # Expect: /^DATA$/ 1277s # S:“DATA†1277s # C:“DATA 30†1277s # Expect: /^REJECTED.*$/ 1277s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1277s # New handshake: EXTERNAL with initial response 1277s # C:“AUTH EXTERNAL 31303030†1277s # Expect: /^OK [0-9a-f]+$/ 1277s # S:“OK 3b1cc7db02f1c11853d02394678ab912†1277s # New handshake: EXTERNAL without initial response 1277s # C:“AUTH EXTERNAL†1277s # Expect: /^DATA$/ 1277s # S:“DATA†1277s # C:“DATA 31303030†1277s # Expect: /^OK [0-9a-f]+$/ 1277s # S:“OK 3b1cc7db02f1c11853d02394678ab912†1277s # New handshake: EXTERNAL with empty authorization identity 1277s # C:“AUTH EXTERNAL†1277s # Expect: /^DATA$/ 1277s # S:“DATA†1277s # C:“DATA†1277s # Expect: /^OK [0-9a-f]+$/ 1277s # S:“OK 3b1cc7db02f1c11853d02394678ab912†1277s # New handshake: EXTERNAL with empty authorization identity and whitespace 1277s # C:“AUTH EXTERNAL†1277s # Expect: /^DATA$/ 1277s # S:“DATA†1277s # C:“DATA †1277s # Expect: /^OK [0-9a-f]+$/ 1277s # S:“OK 3b1cc7db02f1c11853d02394678ab912†1277s ok 1 /gdbus/sasl/server 1277s # End of sasl tests 1277s # End of gdbus tests 1277s ok - glib/gdbus-sasl.test 1277s # Running test: glib/uri.test 1277s TAP version 14 1277s # random seed: R02Sbfd6e9a0315b65750616c52391abdf37 1277s 1..24 1277s # Start of uri tests 1277s ok 1 /uri/file-to-uri 1277s ok 2 /uri/file-from-uri 1277s ok 3 /uri/file-roundtrip 1277s ok 4 /uri/list 1277s # Test 0: %2Babc %4F 1277s # Test 1: %2Babc %4F 1277s # Test 2: %00abc %4F 1277s # Test 3: /cursors/none.png 1277s # Test 4: /cursors%2fbad-subdir/none.png 1277s # Test 5: %0 1277s # Test 6: %ra 1277s # Test 7: %2r 1277s # Test 8: Timm B?der 1277s # Test 9: (null) 1277s ok 5 /uri/unescape-string 1277s ok 6 /uri/unescape-segment 1277s # Test 0: abcdefgABCDEFG._~ 1277s # Test 1: :+ \\?# 1277s # Test 2: a+b:c 1277s # Test 3: a+b:c\303\234 1277s # Test 4: \374;\322 1277s # Test 5: \303\261\303( 1277s ok 7 /uri/escape-string 1277s ok 8 /uri/escape-bytes 1277s ok 9 /uri/scheme 1277s ok 10 /uri/build 1277s ok 11 /uri/split 1277s ok 12 /uri/is_valid 1277s ok 13 /uri/to-string 1277s ok 14 /uri/join 1277s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1277s # Combination 0 1277s # Combination 1 1277s # Combination 2 1277s # Combination 3 1277s # Combination 4 1277s # Combination 5 1277s # Combination 6 1277s # Combination 7 1277s # Combination 8 1277s # Combination 9 1277s # Combination 10 1277s # Combination 11 1277s # Combination 12 1277s # Combination 13 1277s # Combination 14 1277s # Combination 15 1277s # Combination 16 1277s # Combination 17 1277s # Combination 18 1277s # Combination 19 1277s # Combination 20 1277s # Combination 21 1277s # Combination 22 1277s # Combination 23 1277s # Combination 24 1277s # Combination 25 1277s # Combination 26 1277s # Combination 27 1277s # Combination 28 1277s # Combination 29 1277s # Combination 30 1277s # Combination 31 1277s # Combination 32 1277s # Combination 33 1277s # Combination 34 1277s # Combination 35 1277s # Combination 36 1277s # Combination 37 1277s # Combination 38 1277s # Combination 39 1277s # Combination 40 1277s # Combination 41 1277s # Combination 42 1277s # Combination 43 1277s # Combination 44 1277s # Combination 45 1277s # Combination 46 1277s # Combination 47 1277s # Combination 48 1277s # Combination 49 1277s # Combination 50 1277s # Combination 51 1277s # Combination 52 1277s # Combination 53 1277s # Combination 54 1277s # Combination 55 1277s # Combination 56 1277s # Combination 57 1277s # Combination 58 1277s # Combination 59 1277s # Combination 60 1277s # Combination 61 1277s # Combination 62 1277s # Combination 63 1277s # Combination 64 1277s # Combination 65 1277s # Combination 66 1277s # Combination 67 1277s # Combination 68 1277s # Combination 69 1277s # Combination 70 1277s # Combination 71 1277s # Combination 72 1277s # Combination 73 1277s # Combination 74 1277s # Combination 75 1277s # Combination 76 1277s # Combination 77 1277s # Combination 78 1277s # Combination 79 1277s # Combination 80 1277s # Combination 81 1277s # Combination 82 1277s # Combination 83 1277s # Combination 84 1277s # Combination 85 1277s # Combination 86 1277s # Combination 87 1277s # Combination 88 1277s # Combination 89 1277s # Combination 90 1277s # Combination 91 1277s # Combination 92 1277s # Combination 93 1277s # Combination 94 1277s # Combination 95 1277s # Combination 96 1277s # Combination 97 1277s # Combination 98 1277s # Combination 99 1277s # Combination 100 1277s # Combination 101 1277s # Combination 102 1277s # Combination 103 1277s # Combination 104 1277s # Combination 105 1277s # Combination 106 1277s # Combination 107 1277s # Combination 108 1277s # Combination 109 1277s # Combination 110 1277s # Combination 111 1277s # Combination 112 1277s # Combination 113 1277s # Combination 114 1277s # Combination 115 1277s # Combination 116 1277s # Combination 117 1277s # Combination 118 1277s # Combination 119 1277s # Combination 120 1277s # Combination 121 1277s # Combination 122 1277s # Combination 123 1277s # Combination 124 1277s # Combination 125 1277s # Combination 126 1277s # Combination 127 1277s # Combination 128 1277s # Combination 129 1277s # Combination 130 1277s # Combination 131 1277s # Combination 132 1277s # Combination 133 1277s # Combination 134 1277s # Combination 135 1277s # Combination 136 1277s # Combination 137 1277s # Combination 138 1277s # Combination 139 1277s # Combination 140 1277s # Combination 141 1277s # Combination 142 1277s # Combination 143 1277s # Combination 144 1277s # Combination 145 1277s # Combination 146 1277s # Combination 147 1277s # Combination 148 1277s # Combination 149 1277s # Combination 150 1277s # Combination 151 1277s # Combination 152 1277s # Combination 153 1277s # Combination 154 1277s # Combination 155 1277s # Combination 156 1277s # Combination 157 1277s # Combination 158 1277s # Combination 159 1277s # Combination 160 1277s # Combination 161 1277s # Combination 162 1277s # Combination 163 1277s # Combination 164 1277s # Combination 165 1277s # Combination 166 1277s # Combination 167 1277s # Combination 168 1277s # Combination 169 1277s # Combination 170 1277s # Combination 171 1277s # Combination 172 1277s # Combination 173 1277s # Combination 174 1277s # Combination 175 1277s # Combination 176 1277s # Combination 177 1277s # Combination 178 1277s # Combination 179 1277s # Combination 180 1277s # Combination 181 1277s # Combination 182 1277s # Combination 183 1277s # Combination 184 1277s # Combination 185 1277s # Combination 186 1277s # Combination 187 1277s # Combination 188 1277s # Combination 189 1277s # Combination 190 1277s # Combination 191 1277s # Combination 192 1277s # Combination 193 1277s # Combination 194 1277s # Combination 195 1277s # Combination 196 1277s # Combination 197 1277s # Combination 198 1277s # Combination 199 1277s # Combination 200 1277s # Combination 201 1277s # Combination 202 1277s # Combination 203 1277s # Combination 204 1277s # Combination 205 1277s # Combination 206 1277s # Combination 207 1277s # Combination 208 1277s # Combination 209 1277s # Combination 210 1277s # Combination 211 1277s # Combination 212 1277s # Combination 213 1277s # Combination 214 1277s # Combination 215 1277s # Combination 216 1277s # Combination 217 1277s # Combination 218 1277s # Combination 219 1277s # Combination 220 1277s # Combination 221 1277s # Combination 222 1277s # Combination 223 1277s # Combination 224 1277s # Combination 225 1277s # Combination 226 1277s # Combination 227 1277s # Combination 228 1277s # Combination 229 1277s # Combination 230 1277s # Combination 231 1277s # Combination 232 1277s # Combination 233 1277s # Combination 234 1277s # Combination 235 1277s # Combination 236 1277s # Combination 237 1277s # Combination 238 1277s # Combination 239 1277s # Combination 240 1277s # Combination 241 1277s # Combination 242 1277s # Combination 243 1277s # Combination 244 1277s # Combination 245 1277s # Combination 246 1277s # Combination 247 1277s # Combination 248 1277s # Combination 249 1277s # Combination 250 1277s # Combination 251 1277s # Combination 252 1277s # Combination 253 1277s # Combination 254 1277s # Combination 255 1277s ok 15 /uri/join-split-round-trip 1277s ok 16 /uri/normalize 1277s # Start of unescape-bytes tests 1277s # Test 0: %00%00 1277s # Test 1: /cursors/none.png 1277s # Test 2: /cursors%2fbad-subdir/none.png 1277s # Test 3: %% 1277s # Test 4: % 1277s ok 17 /uri/unescape-bytes/nul-terminated 1277s # Test 0: %00%00 1277s # Test 1: /cursors/none.png 1277s # Test 2: /cursors%2fbad-subdir/none.png 1277s # Test 3: %% 1277s # Test 4: % 1277s ok 18 /uri/unescape-bytes/length 1277s # End of unescape-bytes tests 1277s # Start of parsing tests 1277s # Test 0: foo: 1277s # Test 1: file:/dev/null 1277s # Test 2: file:///dev/null 1277s # Test 3: ftp://user@host/path 1277s # Test 4: ftp://user@host:9999/path 1277s # Test 5: ftp://user:password@host/path 1277s # Test 6: ftp://user:password@host:9999/path 1277s # Test 7: ftp://user:password@host 1277s # Test 8: http://us%65r@host 1277s # Test 9: http://us%40r@host 1277s # Test 10: http://us%3ar@host 1277s # Test 11: http://us%2fr@host 1277s # Test 12: http://us%3fr@host 1277s # Test 13: http://host?query 1277s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1277s # 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 1277s # Test 16: http://space/%20 1277s # Test 17: http://delims/%3C%3E%23%25%22 1277s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1277s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1277s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1277s # Test 21: http://[3ffe:2a00:100:7031::1] 1277s # Test 22: http://[1080::8:800:200C:417A]/foo 1277s # Test 23: http://[::192.9.5.5]/ipng 1277s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1277s # Test 25: http://[2010:836B:4179::836B:4179] 1277s # Test 26: http://host/path with spaces 1277s # Test 27: http://host/path 1277s # Test 28: http://host/path 1277s # Test 29: http://host 1277s # Test 30: http://host:999 1277s # Test 31: http://host/pa 1277s # th 1277s # Test 32: http: 1277s # //host/path 1277s # Test 33: http:// host/path 1277s # Test 34: http://host/path? 1277s # Test 35: http://host/path# 1277s # Test 36: http://host/path% 1277s # Test 37: http://h%ost/path 1277s # Test 38: http://host/path%% 1277s # Test 39: http://host/path%%% 1277s # Test 40: http://host/path%/x/ 1277s # Test 41: http://host/path%0x/ 1277s # Test 42: http://host/path%ax 1277s # Test 43: http://host/p?th/ 1277s # Test 44: HTTP://////////////// 1277s # Test 45: http://@host 1277s # Test 46: http://:@host 1277s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1277s # Test 48: http://example.com/.. 1277s # Test 49: foo0://host/path 1277s # Test 50: f0.o://host/path 1277s # Test 51: http++://host/path 1277s # Test 52: http-ish://host/path 1277s # Test 53: http://[fe80::dead:beef%]/ 1277s # Test 54: http://[fe80::dead:beef%em1]/ 1277s # Test 55: http://[fe80::dead:beef%em1]/ 1277s # Test 56: http://[fe80::dead:beef%25em1]/ 1277s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1277s # Test 58: http://[fe80::dead:beef%25em%31]/ 1277s # Test 59: http://[fe80::dead:beef%10]/ 1277s # Test 60: http://[fe80::dead:beef%10]/ 1277s # Test 61: http://[fe80::dead:beef%25]/ 1277s # Test 62: http://[fe80::dead:beef%25]/ 1277s # Test 63: http://[192.168.0.1%25em1]/ 1277s # Test 64: http://[fe80::dead:beef%2em1]/ 1277s # Test 65: http://[fe80::dead:beef%2em1]/ 1277s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1277s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1277s # Test 68: http://xn--mixed-?p/ 1277s ok 19 /uri/parsing/absolute 1277s ok 20 /uri/parsing/relative 1277s # End of parsing tests 1277s # Start of iter-params tests 1277s # URI 0: p1=foo&p2=bar;p3=baz 1277s # URI 1: p1=foo&p2=bar 1277s # URI 2: p1=foo&&P1=bar 1277s # URI 3: %00=foo 1277s # URI 4: p1=%00 1277s # URI 5: p1=foo&p1=bar 1277s # URI 6: p1=foo&P1=bar 1277s # URI 7: =% 1277s # URI 8: = 1277s # URI 9: foo 1277s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1277s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1277s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1277s ok 21 /uri/iter-params/nul-terminated 1277s # URI 0: p1=foo&p2=bar;p3=baz 1277s # URI 1: p1=foo&p2=bar 1277s # URI 2: p1=foo&&P1=bar 1277s # URI 3: %00=foo 1277s # URI 4: p1=%00 1277s # URI 5: p1=foo&p1=bar 1277s # URI 6: p1=foo&P1=bar 1277s # URI 7: =% 1277s # URI 8: = 1277s # URI 9: foo 1277s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1277s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1277s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1277s ok 22 /uri/iter-params/length 1277s # End of iter-params tests 1277s # Start of parse-params tests 1277s # URI 0: p1=foo&p2=bar;p3=baz 1277s # URI 1: p1=foo&p2=bar 1277s # URI 2: p1=foo&&P1=bar 1277s # URI 3: %00=foo 1277s # URI 4: p1=%00 1277s # URI 5: p1=foo&p1=bar 1277s # URI 6: p1=foo&P1=bar 1277s # URI 7: =% 1277s # URI 8: = 1277s # URI 9: foo 1277s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1277s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1277s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1277s ok 23 /uri/parse-params/nul-terminated 1277s # URI 0: p1=foo&p2=bar;p3=baz 1277s # URI 1: p1=foo&p2=bar 1277s # URI 2: p1=foo&&P1=bar 1277s # URI 3: %00=foo 1277s # URI 4: p1=%00 1277s # URI 5: p1=foo&p1=bar 1277s # URI 6: p1=foo&P1=bar 1277s # URI 7: =% 1277s # URI 8: = 1277s # URI 9: foo 1277s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1277s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1277s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1277s ok 24 /uri/parse-params/length 1277s # End of parse-params tests 1277s # End of uri tests 1277s ok - glib/uri.test 1277s # Running test: glib/checksum.test 1277s TAP version 14 1277s # random seed: R02S8a248384a485f835a380a5ce6cc39490 1277s 1..1851 1277s # Start of checksum tests 1277s ok 1 /checksum/unsupported 1277s # Start of MD5 tests 1277s ok 2 /checksum/MD5/0 1277s ok 3 /checksum/MD5/1 1277s ok 4 /checksum/MD5/2 1277s ok 5 /checksum/MD5/3 1277s ok 6 /checksum/MD5/4 1277s ok 7 /checksum/MD5/5 1277s ok 8 /checksum/MD5/6 1277s ok 9 /checksum/MD5/7 1277s ok 10 /checksum/MD5/8 1277s ok 11 /checksum/MD5/9 1277s ok 12 /checksum/MD5/10 1277s ok 13 /checksum/MD5/11 1277s ok 14 /checksum/MD5/12 1277s ok 15 /checksum/MD5/13 1277s ok 16 /checksum/MD5/14 1277s ok 17 /checksum/MD5/15 1277s ok 18 /checksum/MD5/16 1277s ok 19 /checksum/MD5/17 1277s ok 20 /checksum/MD5/18 1277s ok 21 /checksum/MD5/19 1277s ok 22 /checksum/MD5/20 1277s ok 23 /checksum/MD5/21 1277s ok 24 /checksum/MD5/22 1277s ok 25 /checksum/MD5/23 1277s ok 26 /checksum/MD5/24 1277s ok 27 /checksum/MD5/25 1277s ok 28 /checksum/MD5/26 1277s ok 29 /checksum/MD5/27 1277s ok 30 /checksum/MD5/28 1277s ok 31 /checksum/MD5/29 1277s ok 32 /checksum/MD5/30 1277s ok 33 /checksum/MD5/31 1277s ok 34 /checksum/MD5/32 1277s ok 35 /checksum/MD5/33 1277s ok 36 /checksum/MD5/34 1277s ok 37 /checksum/MD5/35 1277s ok 38 /checksum/MD5/36 1277s ok 39 /checksum/MD5/37 1277s ok 40 /checksum/MD5/38 1277s ok 41 /checksum/MD5/39 1277s ok 42 /checksum/MD5/40 1277s ok 43 /checksum/MD5/41 1277s ok 44 /checksum/MD5/42 1277s ok 45 /checksum/MD5/43 1277s ok 46 /checksum/MD5/44 1277s ok 47 /checksum/MD5/45 1277s ok 48 /checksum/MD5/46 1277s ok 49 /checksum/MD5/47 1277s ok 50 /checksum/MD5/48 1277s ok 51 /checksum/MD5/49 1277s ok 52 /checksum/MD5/50 1277s ok 53 /checksum/MD5/51 1277s ok 54 /checksum/MD5/52 1277s ok 55 /checksum/MD5/53 1277s ok 56 /checksum/MD5/54 1277s ok 57 /checksum/MD5/55 1277s ok 58 /checksum/MD5/56 1277s ok 59 /checksum/MD5/57 1277s ok 60 /checksum/MD5/58 1277s ok 61 /checksum/MD5/59 1277s ok 62 /checksum/MD5/60 1277s ok 63 /checksum/MD5/61 1277s ok 64 /checksum/MD5/62 1277s ok 65 /checksum/MD5/63 1277s ok 66 /checksum/MD5/64 1277s ok 67 /checksum/MD5/65 1277s ok 68 /checksum/MD5/66 1277s ok 69 /checksum/MD5/67 1277s ok 70 /checksum/MD5/68 1277s ok 71 /checksum/MD5/69 1277s ok 72 /checksum/MD5/70 1277s ok 73 /checksum/MD5/71 1277s ok 74 /checksum/MD5/72 1277s ok 75 /checksum/MD5/73 1277s ok 76 /checksum/MD5/74 1277s ok 77 /checksum/MD5/75 1277s ok 78 /checksum/MD5/76 1277s ok 79 /checksum/MD5/77 1277s ok 80 /checksum/MD5/78 1277s ok 81 /checksum/MD5/79 1277s ok 82 /checksum/MD5/80 1277s ok 83 /checksum/MD5/81 1277s ok 84 /checksum/MD5/82 1277s ok 85 /checksum/MD5/83 1277s ok 86 /checksum/MD5/84 1277s ok 87 /checksum/MD5/85 1277s ok 88 /checksum/MD5/86 1277s ok 89 /checksum/MD5/87 1277s ok 90 /checksum/MD5/88 1277s ok 91 /checksum/MD5/89 1277s ok 92 /checksum/MD5/90 1277s ok 93 /checksum/MD5/91 1277s ok 94 /checksum/MD5/92 1277s ok 95 /checksum/MD5/93 1277s ok 96 /checksum/MD5/94 1277s ok 97 /checksum/MD5/95 1277s ok 98 /checksum/MD5/96 1277s ok 99 /checksum/MD5/97 1277s ok 100 /checksum/MD5/98 1277s ok 101 /checksum/MD5/99 1277s ok 102 /checksum/MD5/100 1277s ok 103 /checksum/MD5/101 1277s ok 104 /checksum/MD5/102 1277s ok 105 /checksum/MD5/103 1277s ok 106 /checksum/MD5/104 1277s ok 107 /checksum/MD5/105 1277s ok 108 /checksum/MD5/106 1277s ok 109 /checksum/MD5/107 1277s ok 110 /checksum/MD5/108 1277s ok 111 /checksum/MD5/109 1277s ok 112 /checksum/MD5/110 1277s ok 113 /checksum/MD5/111 1277s ok 114 /checksum/MD5/112 1277s ok 115 /checksum/MD5/113 1277s ok 116 /checksum/MD5/114 1277s ok 117 /checksum/MD5/115 1277s ok 118 /checksum/MD5/116 1277s ok 119 /checksum/MD5/117 1277s ok 120 /checksum/MD5/118 1277s ok 121 /checksum/MD5/119 1277s ok 122 /checksum/MD5/120 1277s ok 123 /checksum/MD5/121 1277s ok 124 /checksum/MD5/122 1277s ok 125 /checksum/MD5/123 1277s ok 126 /checksum/MD5/124 1277s ok 127 /checksum/MD5/125 1277s ok 128 /checksum/MD5/126 1277s ok 129 /checksum/MD5/127 1277s ok 130 /checksum/MD5/128 1277s ok 131 /checksum/MD5/129 1277s ok 132 /checksum/MD5/130 1277s ok 133 /checksum/MD5/131 1277s ok 134 /checksum/MD5/132 1277s ok 135 /checksum/MD5/133 1277s ok 136 /checksum/MD5/134 1277s ok 137 /checksum/MD5/135 1277s ok 138 /checksum/MD5/136 1277s ok 139 /checksum/MD5/137 1277s ok 140 /checksum/MD5/138 1277s ok 141 /checksum/MD5/139 1277s ok 142 /checksum/MD5/140 1277s ok 143 /checksum/MD5/141 1277s ok 144 /checksum/MD5/142 1277s ok 145 /checksum/MD5/143 1277s ok 146 /checksum/MD5/144 1277s ok 147 /checksum/MD5/145 1277s ok 148 /checksum/MD5/146 1277s ok 149 /checksum/MD5/147 1277s ok 150 /checksum/MD5/148 1277s ok 151 /checksum/MD5/149 1277s ok 152 /checksum/MD5/150 1277s ok 153 /checksum/MD5/151 1277s ok 154 /checksum/MD5/152 1277s ok 155 /checksum/MD5/153 1277s ok 156 /checksum/MD5/154 1277s ok 157 /checksum/MD5/155 1277s ok 158 /checksum/MD5/156 1277s ok 159 /checksum/MD5/157 1277s ok 160 /checksum/MD5/158 1277s ok 161 /checksum/MD5/159 1277s ok 162 /checksum/MD5/160 1277s ok 163 /checksum/MD5/161 1277s ok 164 /checksum/MD5/162 1277s ok 165 /checksum/MD5/163 1277s ok 166 /checksum/MD5/164 1277s ok 167 /checksum/MD5/165 1277s ok 168 /checksum/MD5/166 1277s ok 169 /checksum/MD5/167 1277s ok 170 /checksum/MD5/168 1277s ok 171 /checksum/MD5/169 1277s ok 172 /checksum/MD5/170 1277s ok 173 /checksum/MD5/171 1277s ok 174 /checksum/MD5/172 1277s ok 175 /checksum/MD5/173 1277s ok 176 /checksum/MD5/174 1277s ok 177 /checksum/MD5/175 1277s ok 178 /checksum/MD5/176 1277s ok 179 /checksum/MD5/177 1277s ok 180 /checksum/MD5/178 1277s ok 181 /checksum/MD5/179 1277s ok 182 /checksum/MD5/180 1277s ok 183 /checksum/MD5/181 1277s ok 184 /checksum/MD5/182 1277s ok 185 /checksum/MD5/183 1277s ok 186 /checksum/MD5/string 1277s ok 187 /checksum/MD5/bytes 1277s # Start of reset tests 1277s ok 188 /checksum/MD5/reset/0 1277s ok 189 /checksum/MD5/reset/1 1277s ok 190 /checksum/MD5/reset/2 1277s ok 191 /checksum/MD5/reset/3 1277s ok 192 /checksum/MD5/reset/4 1277s ok 193 /checksum/MD5/reset/5 1277s ok 194 /checksum/MD5/reset/6 1277s ok 195 /checksum/MD5/reset/7 1277s ok 196 /checksum/MD5/reset/8 1277s ok 197 /checksum/MD5/reset/9 1277s ok 198 /checksum/MD5/reset/10 1277s ok 199 /checksum/MD5/reset/11 1277s ok 200 /checksum/MD5/reset/12 1277s ok 201 /checksum/MD5/reset/13 1277s ok 202 /checksum/MD5/reset/14 1277s ok 203 /checksum/MD5/reset/15 1277s ok 204 /checksum/MD5/reset/16 1277s ok 205 /checksum/MD5/reset/17 1277s ok 206 /checksum/MD5/reset/18 1277s ok 207 /checksum/MD5/reset/19 1277s ok 208 /checksum/MD5/reset/20 1277s ok 209 /checksum/MD5/reset/21 1277s ok 210 /checksum/MD5/reset/22 1277s ok 211 /checksum/MD5/reset/23 1277s ok 212 /checksum/MD5/reset/24 1277s ok 213 /checksum/MD5/reset/25 1277s ok 214 /checksum/MD5/reset/26 1277s ok 215 /checksum/MD5/reset/27 1277s ok 216 /checksum/MD5/reset/28 1277s ok 217 /checksum/MD5/reset/29 1277s ok 218 /checksum/MD5/reset/30 1277s ok 219 /checksum/MD5/reset/31 1277s ok 220 /checksum/MD5/reset/32 1277s ok 221 /checksum/MD5/reset/33 1277s ok 222 /checksum/MD5/reset/34 1277s ok 223 /checksum/MD5/reset/35 1277s ok 224 /checksum/MD5/reset/36 1277s ok 225 /checksum/MD5/reset/37 1277s ok 226 /checksum/MD5/reset/38 1277s ok 227 /checksum/MD5/reset/39 1277s ok 228 /checksum/MD5/reset/40 1277s ok 229 /checksum/MD5/reset/41 1277s ok 230 /checksum/MD5/reset/42 1277s ok 231 /checksum/MD5/reset/43 1277s ok 232 /checksum/MD5/reset/44 1277s ok 233 /checksum/MD5/reset/45 1277s ok 234 /checksum/MD5/reset/46 1277s ok 235 /checksum/MD5/reset/47 1277s ok 236 /checksum/MD5/reset/48 1277s ok 237 /checksum/MD5/reset/49 1277s ok 238 /checksum/MD5/reset/50 1277s ok 239 /checksum/MD5/reset/51 1277s ok 240 /checksum/MD5/reset/52 1277s ok 241 /checksum/MD5/reset/53 1277s ok 242 /checksum/MD5/reset/54 1277s ok 243 /checksum/MD5/reset/55 1277s ok 244 /checksum/MD5/reset/56 1277s ok 245 /checksum/MD5/reset/57 1277s ok 246 /checksum/MD5/reset/58 1277s ok 247 /checksum/MD5/reset/59 1277s ok 248 /checksum/MD5/reset/60 1277s ok 249 /checksum/MD5/reset/61 1277s ok 250 /checksum/MD5/reset/62 1277s ok 251 /checksum/MD5/reset/63 1277s ok 252 /checksum/MD5/reset/64 1277s ok 253 /checksum/MD5/reset/65 1277s ok 254 /checksum/MD5/reset/66 1277s ok 255 /checksum/MD5/reset/67 1277s ok 256 /checksum/MD5/reset/68 1277s ok 257 /checksum/MD5/reset/69 1277s ok 258 /checksum/MD5/reset/70 1277s ok 259 /checksum/MD5/reset/71 1277s ok 260 /checksum/MD5/reset/72 1277s ok 261 /checksum/MD5/reset/73 1277s ok 262 /checksum/MD5/reset/74 1277s ok 263 /checksum/MD5/reset/75 1277s ok 264 /checksum/MD5/reset/76 1277s ok 265 /checksum/MD5/reset/77 1277s ok 266 /checksum/MD5/reset/78 1277s ok 267 /checksum/MD5/reset/79 1277s ok 268 /checksum/MD5/reset/80 1277s ok 269 /checksum/MD5/reset/81 1277s ok 270 /checksum/MD5/reset/82 1277s ok 271 /checksum/MD5/reset/83 1277s ok 272 /checksum/MD5/reset/84 1277s ok 273 /checksum/MD5/reset/85 1277s ok 274 /checksum/MD5/reset/86 1277s ok 275 /checksum/MD5/reset/87 1277s ok 276 /checksum/MD5/reset/88 1277s ok 277 /checksum/MD5/reset/89 1277s ok 278 /checksum/MD5/reset/90 1277s ok 279 /checksum/MD5/reset/91 1277s ok 280 /checksum/MD5/reset/92 1277s ok 281 /checksum/MD5/reset/93 1277s ok 282 /checksum/MD5/reset/94 1277s ok 283 /checksum/MD5/reset/95 1277s ok 284 /checksum/MD5/reset/96 1277s ok 285 /checksum/MD5/reset/97 1277s ok 286 /checksum/MD5/reset/98 1277s ok 287 /checksum/MD5/reset/99 1277s ok 288 /checksum/MD5/reset/100 1277s ok 289 /checksum/MD5/reset/101 1277s ok 290 /checksum/MD5/reset/102 1277s ok 291 /checksum/MD5/reset/103 1277s ok 292 /checksum/MD5/reset/104 1277s ok 293 /checksum/MD5/reset/105 1277s ok 294 /checksum/MD5/reset/106 1277s ok 295 /checksum/MD5/reset/107 1277s ok 296 /checksum/MD5/reset/108 1277s ok 297 /checksum/MD5/reset/109 1277s ok 298 /checksum/MD5/reset/110 1277s ok 299 /checksum/MD5/reset/111 1277s ok 300 /checksum/MD5/reset/112 1277s ok 301 /checksum/MD5/reset/113 1277s ok 302 /checksum/MD5/reset/114 1277s ok 303 /checksum/MD5/reset/115 1277s ok 304 /checksum/MD5/reset/116 1277s ok 305 /checksum/MD5/reset/117 1277s ok 306 /checksum/MD5/reset/118 1277s ok 307 /checksum/MD5/reset/119 1277s ok 308 /checksum/MD5/reset/120 1277s ok 309 /checksum/MD5/reset/121 1277s ok 310 /checksum/MD5/reset/122 1277s ok 311 /checksum/MD5/reset/123 1277s ok 312 /checksum/MD5/reset/124 1277s ok 313 /checksum/MD5/reset/125 1277s ok 314 /checksum/MD5/reset/126 1277s ok 315 /checksum/MD5/reset/127 1277s ok 316 /checksum/MD5/reset/128 1277s ok 317 /checksum/MD5/reset/129 1277s ok 318 /checksum/MD5/reset/130 1277s ok 319 /checksum/MD5/reset/131 1277s ok 320 /checksum/MD5/reset/132 1277s ok 321 /checksum/MD5/reset/133 1277s ok 322 /checksum/MD5/reset/134 1277s ok 323 /checksum/MD5/reset/135 1277s ok 324 /checksum/MD5/reset/136 1277s ok 325 /checksum/MD5/reset/137 1277s ok 326 /checksum/MD5/reset/138 1277s ok 327 /checksum/MD5/reset/139 1277s ok 328 /checksum/MD5/reset/140 1277s ok 329 /checksum/MD5/reset/141 1277s ok 330 /checksum/MD5/reset/142 1277s ok 331 /checksum/MD5/reset/143 1277s ok 332 /checksum/MD5/reset/144 1277s ok 333 /checksum/MD5/reset/145 1277s ok 334 /checksum/MD5/reset/146 1277s ok 335 /checksum/MD5/reset/147 1277s ok 336 /checksum/MD5/reset/148 1277s ok 337 /checksum/MD5/reset/149 1277s ok 338 /checksum/MD5/reset/150 1277s ok 339 /checksum/MD5/reset/151 1277s ok 340 /checksum/MD5/reset/152 1277s ok 341 /checksum/MD5/reset/153 1277s ok 342 /checksum/MD5/reset/154 1277s ok 343 /checksum/MD5/reset/155 1277s ok 344 /checksum/MD5/reset/156 1277s ok 345 /checksum/MD5/reset/157 1277s ok 346 /checksum/MD5/reset/158 1277s ok 347 /checksum/MD5/reset/159 1277s ok 348 /checksum/MD5/reset/160 1277s ok 349 /checksum/MD5/reset/161 1277s ok 350 /checksum/MD5/reset/162 1277s ok 351 /checksum/MD5/reset/163 1277s ok 352 /checksum/MD5/reset/164 1277s ok 353 /checksum/MD5/reset/165 1277s ok 354 /checksum/MD5/reset/166 1277s ok 355 /checksum/MD5/reset/167 1277s ok 356 /checksum/MD5/reset/168 1277s ok 357 /checksum/MD5/reset/169 1277s ok 358 /checksum/MD5/reset/170 1277s ok 359 /checksum/MD5/reset/171 1277s ok 360 /checksum/MD5/reset/172 1277s ok 361 /checksum/MD5/reset/173 1277s ok 362 /checksum/MD5/reset/174 1277s ok 363 /checksum/MD5/reset/175 1277s ok 364 /checksum/MD5/reset/176 1277s ok 365 /checksum/MD5/reset/177 1277s ok 366 /checksum/MD5/reset/178 1277s ok 367 /checksum/MD5/reset/179 1277s ok 368 /checksum/MD5/reset/180 1277s ok 369 /checksum/MD5/reset/181 1277s ok 370 /checksum/MD5/reset/182 1277s ok 371 /checksum/MD5/reset/183 1277s # End of reset tests 1277s # End of MD5 tests 1277s # Start of SHA1 tests 1277s ok 372 /checksum/SHA1/0 1277s ok 373 /checksum/SHA1/1 1277s ok 374 /checksum/SHA1/2 1277s ok 375 /checksum/SHA1/3 1277s ok 376 /checksum/SHA1/4 1277s ok 377 /checksum/SHA1/5 1277s ok 378 /checksum/SHA1/6 1277s ok 379 /checksum/SHA1/7 1277s ok 380 /checksum/SHA1/8 1277s ok 381 /checksum/SHA1/9 1277s ok 382 /checksum/SHA1/10 1277s ok 383 /checksum/SHA1/11 1277s ok 384 /checksum/SHA1/12 1277s ok 385 /checksum/SHA1/13 1277s ok 386 /checksum/SHA1/14 1277s ok 387 /checksum/SHA1/15 1277s ok 388 /checksum/SHA1/16 1277s ok 389 /checksum/SHA1/17 1277s ok 390 /checksum/SHA1/18 1277s ok 391 /checksum/SHA1/19 1277s ok 392 /checksum/SHA1/20 1277s ok 393 /checksum/SHA1/21 1277s ok 394 /checksum/SHA1/22 1277s ok 395 /checksum/SHA1/23 1277s ok 396 /checksum/SHA1/24 1277s ok 397 /checksum/SHA1/25 1277s ok 398 /checksum/SHA1/26 1277s ok 399 /checksum/SHA1/27 1277s ok 400 /checksum/SHA1/28 1277s ok 401 /checksum/SHA1/29 1277s ok 402 /checksum/SHA1/30 1277s ok 403 /checksum/SHA1/31 1277s ok 404 /checksum/SHA1/32 1277s ok 405 /checksum/SHA1/33 1277s ok 406 /checksum/SHA1/34 1277s ok 407 /checksum/SHA1/35 1277s ok 408 /checksum/SHA1/36 1277s ok 409 /checksum/SHA1/37 1277s ok 410 /checksum/SHA1/38 1277s ok 411 /checksum/SHA1/39 1277s ok 412 /checksum/SHA1/40 1277s ok 413 /checksum/SHA1/41 1277s ok 414 /checksum/SHA1/42 1277s ok 415 /checksum/SHA1/43 1277s ok 416 /checksum/SHA1/44 1277s ok 417 /checksum/SHA1/45 1277s ok 418 /checksum/SHA1/46 1277s ok 419 /checksum/SHA1/47 1277s ok 420 /checksum/SHA1/48 1277s ok 421 /checksum/SHA1/49 1277s ok 422 /checksum/SHA1/50 1277s ok 423 /checksum/SHA1/51 1277s ok 424 /checksum/SHA1/52 1277s ok 425 /checksum/SHA1/53 1277s ok 426 /checksum/SHA1/54 1277s ok 427 /checksum/SHA1/55 1277s ok 428 /checksum/SHA1/56 1277s ok 429 /checksum/SHA1/57 1277s ok 430 /checksum/SHA1/58 1277s ok 431 /checksum/SHA1/59 1277s ok 432 /checksum/SHA1/60 1277s ok 433 /checksum/SHA1/61 1277s ok 434 /checksum/SHA1/62 1277s ok 435 /checksum/SHA1/63 1277s ok 436 /checksum/SHA1/64 1277s ok 437 /checksum/SHA1/65 1277s ok 438 /checksum/SHA1/66 1277s ok 439 /checksum/SHA1/67 1277s ok 440 /checksum/SHA1/68 1277s ok 441 /checksum/SHA1/69 1277s ok 442 /checksum/SHA1/70 1277s ok 443 /checksum/SHA1/71 1277s ok 444 /checksum/SHA1/72 1277s ok 445 /checksum/SHA1/73 1277s ok 446 /checksum/SHA1/74 1277s ok 447 /checksum/SHA1/75 1277s ok 448 /checksum/SHA1/76 1277s ok 449 /checksum/SHA1/77 1277s ok 450 /checksum/SHA1/78 1277s ok 451 /checksum/SHA1/79 1277s ok 452 /checksum/SHA1/80 1277s ok 453 /checksum/SHA1/81 1277s ok 454 /checksum/SHA1/82 1277s ok 455 /checksum/SHA1/83 1277s ok 456 /checksum/SHA1/84 1277s ok 457 /checksum/SHA1/85 1277s ok 458 /checksum/SHA1/86 1277s ok 459 /checksum/SHA1/87 1277s ok 460 /checksum/SHA1/88 1277s ok 461 /checksum/SHA1/89 1277s ok 462 /checksum/SHA1/90 1277s ok 463 /checksum/SHA1/91 1277s ok 464 /checksum/SHA1/92 1277s ok 465 /checksum/SHA1/93 1277s ok 466 /checksum/SHA1/94 1277s ok 467 /checksum/SHA1/95 1277s ok 468 /checksum/SHA1/96 1277s ok 469 /checksum/SHA1/97 1277s ok 470 /checksum/SHA1/98 1277s ok 471 /checksum/SHA1/99 1277s ok 472 /checksum/SHA1/100 1277s ok 473 /checksum/SHA1/101 1277s ok 474 /checksum/SHA1/102 1277s ok 475 /checksum/SHA1/103 1277s ok 476 /checksum/SHA1/104 1277s ok 477 /checksum/SHA1/105 1277s ok 478 /checksum/SHA1/106 1277s ok 479 /checksum/SHA1/107 1277s ok 480 /checksum/SHA1/108 1277s ok 481 /checksum/SHA1/109 1277s ok 482 /checksum/SHA1/110 1277s ok 483 /checksum/SHA1/111 1277s ok 484 /checksum/SHA1/112 1277s ok 485 /checksum/SHA1/113 1277s ok 486 /checksum/SHA1/114 1277s ok 487 /checksum/SHA1/115 1277s ok 488 /checksum/SHA1/116 1277s ok 489 /checksum/SHA1/117 1277s ok 490 /checksum/SHA1/118 1277s ok 491 /checksum/SHA1/119 1277s ok 492 /checksum/SHA1/120 1277s ok 493 /checksum/SHA1/121 1277s ok 494 /checksum/SHA1/122 1277s ok 495 /checksum/SHA1/123 1277s ok 496 /checksum/SHA1/124 1277s ok 497 /checksum/SHA1/125 1277s ok 498 /checksum/SHA1/126 1277s ok 499 /checksum/SHA1/127 1277s ok 500 /checksum/SHA1/128 1277s ok 501 /checksum/SHA1/129 1277s ok 502 /checksum/SHA1/130 1277s ok 503 /checksum/SHA1/131 1277s ok 504 /checksum/SHA1/132 1277s ok 505 /checksum/SHA1/133 1277s ok 506 /checksum/SHA1/134 1277s ok 507 /checksum/SHA1/135 1277s ok 508 /checksum/SHA1/136 1277s ok 509 /checksum/SHA1/137 1277s ok 510 /checksum/SHA1/138 1277s ok 511 /checksum/SHA1/139 1277s ok 512 /checksum/SHA1/140 1277s ok 513 /checksum/SHA1/141 1277s ok 514 /checksum/SHA1/142 1277s ok 515 /checksum/SHA1/143 1277s ok 516 /checksum/SHA1/144 1277s ok 517 /checksum/SHA1/145 1277s ok 518 /checksum/SHA1/146 1277s ok 519 /checksum/SHA1/147 1277s ok 520 /checksum/SHA1/148 1277s ok 521 /checksum/SHA1/149 1277s ok 522 /checksum/SHA1/150 1277s ok 523 /checksum/SHA1/151 1277s ok 524 /checksum/SHA1/152 1277s ok 525 /checksum/SHA1/153 1277s ok 526 /checksum/SHA1/154 1277s ok 527 /checksum/SHA1/155 1277s ok 528 /checksum/SHA1/156 1277s ok 529 /checksum/SHA1/157 1277s ok 530 /checksum/SHA1/158 1277s ok 531 /checksum/SHA1/159 1277s ok 532 /checksum/SHA1/160 1277s ok 533 /checksum/SHA1/161 1277s ok 534 /checksum/SHA1/162 1277s ok 535 /checksum/SHA1/163 1277s ok 536 /checksum/SHA1/164 1277s ok 537 /checksum/SHA1/165 1277s ok 538 /checksum/SHA1/166 1277s ok 539 /checksum/SHA1/167 1277s ok 540 /checksum/SHA1/168 1277s ok 541 /checksum/SHA1/169 1277s ok 542 /checksum/SHA1/170 1277s ok 543 /checksum/SHA1/171 1277s ok 544 /checksum/SHA1/172 1277s ok 545 /checksum/SHA1/173 1277s ok 546 /checksum/SHA1/174 1277s ok 547 /checksum/SHA1/175 1277s ok 548 /checksum/SHA1/176 1277s ok 549 /checksum/SHA1/177 1277s ok 550 /checksum/SHA1/178 1277s ok 551 /checksum/SHA1/179 1277s ok 552 /checksum/SHA1/180 1277s ok 553 /checksum/SHA1/181 1277s ok 554 /checksum/SHA1/182 1277s ok 555 /checksum/SHA1/183 1277s ok 556 /checksum/SHA1/string 1277s ok 557 /checksum/SHA1/bytes 1277s # Start of reset tests 1277s ok 558 /checksum/SHA1/reset/0 1277s ok 559 /checksum/SHA1/reset/1 1277s ok 560 /checksum/SHA1/reset/2 1277s ok 561 /checksum/SHA1/reset/3 1277s ok 562 /checksum/SHA1/reset/4 1277s ok 563 /checksum/SHA1/reset/5 1277s ok 564 /checksum/SHA1/reset/6 1277s ok 565 /checksum/SHA1/reset/7 1277s ok 566 /checksum/SHA1/reset/8 1277s ok 567 /checksum/SHA1/reset/9 1277s ok 568 /checksum/SHA1/reset/10 1277s ok 569 /checksum/SHA1/reset/11 1277s ok 570 /checksum/SHA1/reset/12 1277s ok 571 /checksum/SHA1/reset/13 1277s ok 572 /checksum/SHA1/reset/14 1277s ok 573 /checksum/SHA1/reset/15 1277s ok 574 /checksum/SHA1/reset/16 1277s ok 575 /checksum/SHA1/reset/17 1277s ok 576 /checksum/SHA1/reset/18 1277s ok 577 /checksum/SHA1/reset/19 1277s ok 578 /checksum/SHA1/reset/20 1277s ok 579 /checksum/SHA1/reset/21 1277s ok 580 /checksum/SHA1/reset/22 1277s ok 581 /checksum/SHA1/reset/23 1277s ok 582 /checksum/SHA1/reset/24 1277s ok 583 /checksum/SHA1/reset/25 1277s ok 584 /checksum/SHA1/reset/26 1277s ok 585 /checksum/SHA1/reset/27 1277s ok 586 /checksum/SHA1/reset/28 1277s ok 587 /checksum/SHA1/reset/29 1277s ok 588 /checksum/SHA1/reset/30 1277s ok 589 /checksum/SHA1/reset/31 1277s ok 590 /checksum/SHA1/reset/32 1277s ok 591 /checksum/SHA1/reset/33 1277s ok 592 /checksum/SHA1/reset/34 1277s ok 593 /checksum/SHA1/reset/35 1277s ok 594 /checksum/SHA1/reset/36 1277s ok 595 /checksum/SHA1/reset/37 1277s ok 596 /checksum/SHA1/reset/38 1277s ok 597 /checksum/SHA1/reset/39 1277s ok 598 /checksum/SHA1/reset/40 1277s ok 599 /checksum/SHA1/reset/41 1277s ok 600 /checksum/SHA1/reset/42 1277s ok 601 /checksum/SHA1/reset/43 1277s ok 602 /checksum/SHA1/reset/44 1277s ok 603 /checksum/SHA1/reset/45 1277s ok 604 /checksum/SHA1/reset/46 1277s ok 605 /checksum/SHA1/reset/47 1277s ok 606 /checksum/SHA1/reset/48 1277s ok 607 /checksum/SHA1/reset/49 1277s ok 608 /checksum/SHA1/reset/50 1277s ok 609 /checksum/SHA1/reset/51 1277s ok 610 /checksum/SHA1/reset/52 1277s ok 611 /checksum/SHA1/reset/53 1277s ok 612 /checksum/SHA1/reset/54 1277s ok 613 /checksum/SHA1/reset/55 1277s ok 614 /checksum/SHA1/reset/56 1277s ok 615 /checksum/SHA1/reset/57 1277s ok 616 /checksum/SHA1/reset/58 1277s ok 617 /checksum/SHA1/reset/59 1277s ok 618 /checksum/SHA1/reset/60 1277s ok 619 /checksum/SHA1/reset/61 1277s ok 620 /checksum/SHA1/reset/62 1277s ok 621 /checksum/SHA1/reset/63 1277s ok 622 /checksum/SHA1/reset/64 1277s ok 623 /checksum/SHA1/reset/65 1277s ok 624 /checksum/SHA1/reset/66 1277s ok 625 /checksum/SHA1/reset/67 1277s ok 626 /checksum/SHA1/reset/68 1277s ok 627 /checksum/SHA1/reset/69 1277s ok 628 /checksum/SHA1/reset/70 1277s ok 629 /checksum/SHA1/reset/71 1277s ok 630 /checksum/SHA1/reset/72 1277s ok 631 /checksum/SHA1/reset/73 1277s ok 632 /checksum/SHA1/reset/74 1277s ok 633 /checksum/SHA1/reset/75 1277s ok 634 /checksum/SHA1/reset/76 1277s ok 635 /checksum/SHA1/reset/77 1277s ok 636 /checksum/SHA1/reset/78 1277s ok 637 /checksum/SHA1/reset/79 1277s ok 638 /checksum/SHA1/reset/80 1277s ok 639 /checksum/SHA1/reset/81 1277s ok 640 /checksum/SHA1/reset/82 1277s ok 641 /checksum/SHA1/reset/83 1277s ok 642 /checksum/SHA1/reset/84 1277s ok 643 /checksum/SHA1/reset/85 1277s ok 644 /checksum/SHA1/reset/86 1277s ok 645 /checksum/SHA1/reset/87 1277s ok 646 /checksum/SHA1/reset/88 1277s ok 647 /checksum/SHA1/reset/89 1277s ok 648 /checksum/SHA1/reset/90 1277s ok 649 /checksum/SHA1/reset/91 1277s ok 650 /checksum/SHA1/reset/92 1277s ok 651 /checksum/SHA1/reset/93 1277s ok 652 /checksum/SHA1/reset/94 1277s ok 653 /checksum/SHA1/reset/95 1277s ok 654 /checksum/SHA1/reset/96 1277s ok 655 /checksum/SHA1/reset/97 1277s ok 656 /checksum/SHA1/reset/98 1277s ok 657 /checksum/SHA1/reset/99 1277s ok 658 /checksum/SHA1/reset/100 1277s ok 659 /checksum/SHA1/reset/101 1277s ok 660 /checksum/SHA1/reset/102 1277s ok 661 /checksum/SHA1/reset/103 1277s ok 662 /checksum/SHA1/reset/104 1277s ok 663 /checksum/SHA1/reset/105 1277s ok 664 /checksum/SHA1/reset/106 1277s ok 665 /checksum/SHA1/reset/107 1277s ok 666 /checksum/SHA1/reset/108 1277s ok 667 /checksum/SHA1/reset/109 1277s ok 668 /checksum/SHA1/reset/110 1277s ok 669 /checksum/SHA1/reset/111 1277s ok 670 /checksum/SHA1/reset/112 1277s ok 671 /checksum/SHA1/reset/113 1277s ok 672 /checksum/SHA1/reset/114 1277s ok 673 /checksum/SHA1/reset/115 1277s ok 674 /checksum/SHA1/reset/116 1277s ok 675 /checksum/SHA1/reset/117 1277s ok 676 /checksum/SHA1/reset/118 1277s ok 677 /checksum/SHA1/reset/119 1277s ok 678 /checksum/SHA1/reset/120 1277s ok 679 /checksum/SHA1/reset/121 1277s ok 680 /checksum/SHA1/reset/122 1277s ok 681 /checksum/SHA1/reset/123 1277s ok 682 /checksum/SHA1/reset/124 1277s ok 683 /checksum/SHA1/reset/125 1277s ok 684 /checksum/SHA1/reset/126 1277s ok 685 /checksum/SHA1/reset/127 1277s ok 686 /checksum/SHA1/reset/128 1277s ok 687 /checksum/SHA1/reset/129 1277s ok 688 /checksum/SHA1/reset/130 1277s ok 689 /checksum/SHA1/reset/131 1277s ok 690 /checksum/SHA1/reset/132 1277s ok 691 /checksum/SHA1/reset/133 1277s ok 692 /checksum/SHA1/reset/134 1277s ok 693 /checksum/SHA1/reset/135 1277s ok 694 /checksum/SHA1/reset/136 1277s ok 695 /checksum/SHA1/reset/137 1277s ok 696 /checksum/SHA1/reset/138 1277s ok 697 /checksum/SHA1/reset/139 1277s ok 698 /checksum/SHA1/reset/140 1277s ok 699 /checksum/SHA1/reset/141 1277s ok 700 /checksum/SHA1/reset/142 1277s ok 701 /checksum/SHA1/reset/143 1277s ok 702 /checksum/SHA1/reset/144 1277s ok 703 /checksum/SHA1/reset/145 1277s ok 704 /checksum/SHA1/reset/146 1277s ok 705 /checksum/SHA1/reset/147 1277s ok 706 /checksum/SHA1/reset/148 1277s ok 707 /checksum/SHA1/reset/149 1277s ok 708 /checksum/SHA1/reset/150 1277s ok 709 /checksum/SHA1/reset/151 1277s ok 710 /checksum/SHA1/reset/152 1277s ok 711 /checksum/SHA1/reset/153 1277s ok 712 /checksum/SHA1/reset/154 1277s ok 713 /checksum/SHA1/reset/155 1277s ok 714 /checksum/SHA1/reset/156 1277s ok 715 /checksum/SHA1/reset/157 1277s ok 716 /checksum/SHA1/reset/158 1277s ok 717 /checksum/SHA1/reset/159 1277s ok 718 /checksum/SHA1/reset/160 1277s ok 719 /checksum/SHA1/reset/161 1277s ok 720 /checksum/SHA1/reset/162 1277s ok 721 /checksum/SHA1/reset/163 1277s ok 722 /checksum/SHA1/reset/164 1277s ok 723 /checksum/SHA1/reset/165 1277s ok 724 /checksum/SHA1/reset/166 1277s ok 725 /checksum/SHA1/reset/167 1277s ok 726 /checksum/SHA1/reset/168 1277s ok 727 /checksum/SHA1/reset/169 1277s ok 728 /checksum/SHA1/reset/170 1277s ok 729 /checksum/SHA1/reset/171 1277s ok 730 /checksum/SHA1/reset/172 1277s ok 731 /checksum/SHA1/reset/173 1277s ok 732 /checksum/SHA1/reset/174 1277s ok 733 /checksum/SHA1/reset/175 1277s ok 734 /checksum/SHA1/reset/176 1277s ok 735 /checksum/SHA1/reset/177 1277s ok 736 /checksum/SHA1/reset/178 1277s ok 737 /checksum/SHA1/reset/179 1277s ok 738 /checksum/SHA1/reset/180 1277s ok 739 /checksum/SHA1/reset/181 1277s ok 740 /checksum/SHA1/reset/182 1277s ok 741 /checksum/SHA1/reset/183 1277s # End of reset tests 1277s # End of SHA1 tests 1277s # Start of SHA256 tests 1277s ok 742 /checksum/SHA256/0 1277s ok 743 /checksum/SHA256/1 1277s ok 744 /checksum/SHA256/2 1277s ok 745 /checksum/SHA256/3 1277s ok 746 /checksum/SHA256/4 1277s ok 747 /checksum/SHA256/5 1277s ok 748 /checksum/SHA256/6 1277s ok 749 /checksum/SHA256/7 1277s ok 750 /checksum/SHA256/8 1277s ok 751 /checksum/SHA256/9 1277s ok 752 /checksum/SHA256/10 1277s ok 753 /checksum/SHA256/11 1277s ok 754 /checksum/SHA256/12 1277s ok 755 /checksum/SHA256/13 1277s ok 756 /checksum/SHA256/14 1277s ok 757 /checksum/SHA256/15 1277s ok 758 /checksum/SHA256/16 1277s ok 759 /checksum/SHA256/17 1277s ok 760 /checksum/SHA256/18 1277s ok 761 /checksum/SHA256/19 1277s ok 762 /checksum/SHA256/20 1277s ok 763 /checksum/SHA256/21 1277s ok 764 /checksum/SHA256/22 1277s ok 765 /checksum/SHA256/23 1277s ok 766 /checksum/SHA256/24 1277s ok 767 /checksum/SHA256/25 1277s ok 768 /checksum/SHA256/26 1277s ok 769 /checksum/SHA256/27 1277s ok 770 /checksum/SHA256/28 1277s ok 771 /checksum/SHA256/29 1277s ok 772 /checksum/SHA256/30 1277s ok 773 /checksum/SHA256/31 1277s ok 774 /checksum/SHA256/32 1277s ok 775 /checksum/SHA256/33 1277s ok 776 /checksum/SHA256/34 1277s ok 777 /checksum/SHA256/35 1277s ok 778 /checksum/SHA256/36 1277s ok 779 /checksum/SHA256/37 1277s ok 780 /checksum/SHA256/38 1277s ok 781 /checksum/SHA256/39 1277s ok 782 /checksum/SHA256/40 1277s ok 783 /checksum/SHA256/41 1277s ok 784 /checksum/SHA256/42 1277s ok 785 /checksum/SHA256/43 1277s ok 786 /checksum/SHA256/44 1277s ok 787 /checksum/SHA256/45 1277s ok 788 /checksum/SHA256/46 1277s ok 789 /checksum/SHA256/47 1277s ok 790 /checksum/SHA256/48 1277s ok 791 /checksum/SHA256/49 1277s ok 792 /checksum/SHA256/50 1277s ok 793 /checksum/SHA256/51 1277s ok 794 /checksum/SHA256/52 1277s ok 795 /checksum/SHA256/53 1277s ok 796 /checksum/SHA256/54 1277s ok 797 /checksum/SHA256/55 1277s ok 798 /checksum/SHA256/56 1277s ok 799 /checksum/SHA256/57 1277s ok 800 /checksum/SHA256/58 1277s ok 801 /checksum/SHA256/59 1277s ok 802 /checksum/SHA256/60 1277s ok 803 /checksum/SHA256/61 1277s ok 804 /checksum/SHA256/62 1277s ok 805 /checksum/SHA256/63 1277s ok 806 /checksum/SHA256/64 1277s ok 807 /checksum/SHA256/65 1277s ok 808 /checksum/SHA256/66 1277s ok 809 /checksum/SHA256/67 1277s ok 810 /checksum/SHA256/68 1277s ok 811 /checksum/SHA256/69 1277s ok 812 /checksum/SHA256/70 1277s ok 813 /checksum/SHA256/71 1277s ok 814 /checksum/SHA256/72 1277s ok 815 /checksum/SHA256/73 1277s ok 816 /checksum/SHA256/74 1277s ok 817 /checksum/SHA256/75 1277s ok 818 /checksum/SHA256/76 1277s ok 819 /checksum/SHA256/77 1277s ok 820 /checksum/SHA256/78 1277s ok 821 /checksum/SHA256/79 1277s ok 822 /checksum/SHA256/80 1277s ok 823 /checksum/SHA256/81 1277s ok 824 /checksum/SHA256/82 1277s ok 825 /checksum/SHA256/83 1277s ok 826 /checksum/SHA256/84 1277s ok 827 /checksum/SHA256/85 1277s ok 828 /checksum/SHA256/86 1277s ok 829 /checksum/SHA256/87 1277s ok 830 /checksum/SHA256/88 1277s ok 831 /checksum/SHA256/89 1277s ok 832 /checksum/SHA256/90 1277s ok 833 /checksum/SHA256/91 1277s ok 834 /checksum/SHA256/92 1277s ok 835 /checksum/SHA256/93 1277s ok 836 /checksum/SHA256/94 1277s ok 837 /checksum/SHA256/95 1277s ok 838 /checksum/SHA256/96 1277s ok 839 /checksum/SHA256/97 1277s ok 840 /checksum/SHA256/98 1277s ok 841 /checksum/SHA256/99 1277s ok 842 /checksum/SHA256/100 1277s ok 843 /checksum/SHA256/101 1277s ok 844 /checksum/SHA256/102 1277s ok 845 /checksum/SHA256/103 1277s ok 846 /checksum/SHA256/104 1277s ok 847 /checksum/SHA256/105 1277s ok 848 /checksum/SHA256/106 1277s ok 849 /checksum/SHA256/107 1277s ok 850 /checksum/SHA256/108 1277s ok 851 /checksum/SHA256/109 1277s ok 852 /checksum/SHA256/110 1277s ok 853 /checksum/SHA256/111 1277s ok 854 /checksum/SHA256/112 1277s ok 855 /checksum/SHA256/113 1277s ok 856 /checksum/SHA256/114 1277s ok 857 /checksum/SHA256/115 1277s ok 858 /checksum/SHA256/116 1277s ok 859 /checksum/SHA256/117 1277s ok 860 /checksum/SHA256/118 1277s ok 861 /checksum/SHA256/119 1277s ok 862 /checksum/SHA256/120 1277s ok 863 /checksum/SHA256/121 1277s ok 864 /checksum/SHA256/122 1277s ok 865 /checksum/SHA256/123 1277s ok 866 /checksum/SHA256/124 1277s ok 867 /checksum/SHA256/125 1277s ok 868 /checksum/SHA256/126 1277s ok 869 /checksum/SHA256/127 1277s ok 870 /checksum/SHA256/128 1277s ok 871 /checksum/SHA256/129 1277s ok 872 /checksum/SHA256/130 1277s ok 873 /checksum/SHA256/131 1277s ok 874 /checksum/SHA256/132 1277s ok 875 /checksum/SHA256/133 1277s ok 876 /checksum/SHA256/134 1277s ok 877 /checksum/SHA256/135 1277s ok 878 /checksum/SHA256/136 1277s ok 879 /checksum/SHA256/137 1277s ok 880 /checksum/SHA256/138 1277s ok 881 /checksum/SHA256/139 1277s ok 882 /checksum/SHA256/140 1277s ok 883 /checksum/SHA256/141 1277s ok 884 /checksum/SHA256/142 1277s ok 885 /checksum/SHA256/143 1277s ok 886 /checksum/SHA256/144 1277s ok 887 /checksum/SHA256/145 1277s ok 888 /checksum/SHA256/146 1277s ok 889 /checksum/SHA256/147 1277s ok 890 /checksum/SHA256/148 1277s ok 891 /checksum/SHA256/149 1277s ok 892 /checksum/SHA256/150 1277s ok 893 /checksum/SHA256/151 1277s ok 894 /checksum/SHA256/152 1277s ok 895 /checksum/SHA256/153 1277s ok 896 /checksum/SHA256/154 1277s ok 897 /checksum/SHA256/155 1277s ok 898 /checksum/SHA256/156 1277s ok 899 /checksum/SHA256/157 1277s ok 900 /checksum/SHA256/158 1277s ok 901 /checksum/SHA256/159 1277s ok 902 /checksum/SHA256/160 1277s ok 903 /checksum/SHA256/161 1277s ok 904 /checksum/SHA256/162 1277s ok 905 /checksum/SHA256/163 1277s ok 906 /checksum/SHA256/164 1277s ok 907 /checksum/SHA256/165 1277s ok 908 /checksum/SHA256/166 1277s ok 909 /checksum/SHA256/167 1277s ok 910 /checksum/SHA256/168 1277s ok 911 /checksum/SHA256/169 1277s ok 912 /checksum/SHA256/170 1277s ok 913 /checksum/SHA256/171 1277s ok 914 /checksum/SHA256/172 1277s ok 915 /checksum/SHA256/173 1277s ok 916 /checksum/SHA256/174 1277s ok 917 /checksum/SHA256/175 1277s ok 918 /checksum/SHA256/176 1277s ok 919 /checksum/SHA256/177 1277s ok 920 /checksum/SHA256/178 1277s ok 921 /checksum/SHA256/179 1277s ok 922 /checksum/SHA256/180 1277s ok 923 /checksum/SHA256/181 1277s ok 924 /checksum/SHA256/182 1277s ok 925 /checksum/SHA256/183 1277s ok 926 /checksum/SHA256/string 1277s ok 927 /checksum/SHA256/bytes 1277s # Start of reset tests 1277s ok 928 /checksum/SHA256/reset/0 1277s ok 929 /checksum/SHA256/reset/1 1277s ok 930 /checksum/SHA256/reset/2 1277s ok 931 /checksum/SHA256/reset/3 1277s ok 932 /checksum/SHA256/reset/4 1277s ok 933 /checksum/SHA256/reset/5 1277s ok 934 /checksum/SHA256/reset/6 1277s ok 935 /checksum/SHA256/reset/7 1277s ok 936 /checksum/SHA256/reset/8 1277s ok 937 /checksum/SHA256/reset/9 1277s ok 938 /checksum/SHA256/reset/10 1277s ok 939 /checksum/SHA256/reset/11 1277s ok 940 /checksum/SHA256/reset/12 1277s ok 941 /checksum/SHA256/reset/13 1277s ok 942 /checksum/SHA256/reset/14 1277s ok 943 /checksum/SHA256/reset/15 1277s ok 944 /checksum/SHA256/reset/16 1277s ok 945 /checksum/SHA256/reset/17 1277s ok 946 /checksum/SHA256/reset/18 1277s ok 947 /checksum/SHA256/reset/19 1277s ok 948 /checksum/SHA256/reset/20 1277s ok 949 /checksum/SHA256/reset/21 1277s ok 950 /checksum/SHA256/reset/22 1277s ok 951 /checksum/SHA256/reset/23 1277s ok 952 /checksum/SHA256/reset/24 1277s ok 953 /checksum/SHA256/reset/25 1277s ok 954 /checksum/SHA256/reset/26 1277s ok 955 /checksum/SHA256/reset/27 1277s ok 956 /checksum/SHA256/reset/28 1277s ok 957 /checksum/SHA256/reset/29 1277s ok 958 /checksum/SHA256/reset/30 1277s ok 959 /checksum/SHA256/reset/31 1277s ok 960 /checksum/SHA256/reset/32 1277s ok 961 /checksum/SHA256/reset/33 1277s ok 962 /checksum/SHA256/reset/34 1277s ok 963 /checksum/SHA256/reset/35 1277s ok 964 /checksum/SHA256/reset/36 1277s ok 965 /checksum/SHA256/reset/37 1277s ok 966 /checksum/SHA256/reset/38 1277s ok 967 /checksum/SHA256/reset/39 1277s ok 968 /checksum/SHA256/reset/40 1277s ok 969 /checksum/SHA256/reset/41 1277s ok 970 /checksum/SHA256/reset/42 1277s ok 971 /checksum/SHA256/reset/43 1277s ok 972 /checksum/SHA256/reset/44 1277s ok 973 /checksum/SHA256/reset/45 1277s ok 974 /checksum/SHA256/reset/46 1277s ok 975 /checksum/SHA256/reset/47 1277s ok 976 /checksum/SHA256/reset/48 1277s ok 977 /checksum/SHA256/reset/49 1277s ok 978 /checksum/SHA256/reset/50 1277s ok 979 /checksum/SHA256/reset/51 1277s ok 980 /checksum/SHA256/reset/52 1277s ok 981 /checksum/SHA256/reset/53 1277s ok 982 /checksum/SHA256/reset/54 1277s ok 983 /checksum/SHA256/reset/55 1277s ok 984 /checksum/SHA256/reset/56 1277s ok 985 /checksum/SHA256/reset/57 1277s ok 986 /checksum/SHA256/reset/58 1277s ok 987 /checksum/SHA256/reset/59 1277s ok 988 /checksum/SHA256/reset/60 1277s ok 989 /checksum/SHA256/reset/61 1277s ok 990 /checksum/SHA256/reset/62 1277s ok 991 /checksum/SHA256/reset/63 1277s ok 992 /checksum/SHA256/reset/64 1277s ok 993 /checksum/SHA256/reset/65 1277s ok 994 /checksum/SHA256/reset/66 1277s ok 995 /checksum/SHA256/reset/67 1277s ok 996 /checksum/SHA256/reset/68 1277s ok 997 /checksum/SHA256/reset/69 1277s ok 998 /checksum/SHA256/reset/70 1277s ok 999 /checksum/SHA256/reset/71 1277s ok 1000 /checksum/SHA256/reset/72 1277s ok 1001 /checksum/SHA256/reset/73 1277s ok 1002 /checksum/SHA256/reset/74 1277s ok 1003 /checksum/SHA256/reset/75 1277s ok 1004 /checksum/SHA256/reset/76 1277s ok 1005 /checksum/SHA256/reset/77 1277s ok 1006 /checksum/SHA256/reset/78 1277s ok 1007 /checksum/SHA256/reset/79 1277s ok 1008 /checksum/SHA256/reset/80 1277s ok 1009 /checksum/SHA256/reset/81 1277s ok 1010 /checksum/SHA256/reset/82 1277s ok 1011 /checksum/SHA256/reset/83 1277s ok 1012 /checksum/SHA256/reset/84 1277s ok 1013 /checksum/SHA256/reset/85 1277s ok 1014 /checksum/SHA256/reset/86 1277s ok 1015 /checksum/SHA256/reset/87 1277s ok 1016 /checksum/SHA256/reset/88 1277s ok 1017 /checksum/SHA256/reset/89 1277s ok 1018 /checksum/SHA256/reset/90 1277s ok 1019 /checksum/SHA256/reset/91 1277s ok 1020 /checksum/SHA256/reset/92 1277s ok 1021 /checksum/SHA256/reset/93 1277s ok 1022 /checksum/SHA256/reset/94 1277s ok 1023 /checksum/SHA256/reset/95 1277s ok 1024 /checksum/SHA256/reset/96 1277s ok 1025 /checksum/SHA256/reset/97 1277s ok 1026 /checksum/SHA256/reset/98 1277s ok 1027 /checksum/SHA256/reset/99 1277s ok 1028 /checksum/SHA256/reset/100 1277s ok 1029 /checksum/SHA256/reset/101 1277s ok 1030 /checksum/SHA256/reset/102 1277s ok 1031 /checksum/SHA256/reset/103 1277s ok 1032 /checksum/SHA256/reset/104 1277s ok 1033 /checksum/SHA256/reset/105 1277s ok 1034 /checksum/SHA256/reset/106 1277s ok 1035 /checksum/SHA256/reset/107 1277s ok 1036 /checksum/SHA256/reset/108 1277s ok 1037 /checksum/SHA256/reset/109 1277s ok 1038 /checksum/SHA256/reset/110 1277s ok 1039 /checksum/SHA256/reset/111 1277s ok 1040 /checksum/SHA256/reset/112 1277s ok 1041 /checksum/SHA256/reset/113 1277s ok 1042 /checksum/SHA256/reset/114 1277s ok 1043 /checksum/SHA256/reset/115 1277s ok 1044 /checksum/SHA256/reset/116 1277s ok 1045 /checksum/SHA256/reset/117 1277s ok 1046 /checksum/SHA256/reset/118 1277s ok 1047 /checksum/SHA256/reset/119 1277s ok 1048 /checksum/SHA256/reset/120 1277s ok 1049 /checksum/SHA256/reset/121 1277s ok 1050 /checksum/SHA256/reset/122 1277s ok 1051 /checksum/SHA256/reset/123 1277s ok 1052 /checksum/SHA256/reset/124 1277s ok 1053 /checksum/SHA256/reset/125 1277s ok 1054 /checksum/SHA256/reset/126 1277s ok 1055 /checksum/SHA256/reset/127 1277s ok 1056 /checksum/SHA256/reset/128 1277s ok 1057 /checksum/SHA256/reset/129 1277s ok 1058 /checksum/SHA256/reset/130 1277s ok 1059 /checksum/SHA256/reset/131 1277s ok 1060 /checksum/SHA256/reset/132 1277s ok 1061 /checksum/SHA256/reset/133 1277s ok 1062 /checksum/SHA256/reset/134 1277s ok 1063 /checksum/SHA256/reset/135 1277s ok 1064 /checksum/SHA256/reset/136 1277s ok 1065 /checksum/SHA256/reset/137 1277s ok 1066 /checksum/SHA256/reset/138 1277s ok 1067 /checksum/SHA256/reset/139 1277s ok 1068 /checksum/SHA256/reset/140 1277s ok 1069 /checksum/SHA256/reset/141 1277s ok 1070 /checksum/SHA256/reset/142 1277s ok 1071 /checksum/SHA256/reset/143 1277s ok 1072 /checksum/SHA256/reset/144 1277s ok 1073 /checksum/SHA256/reset/145 1277s ok 1074 /checksum/SHA256/reset/146 1277s ok 1075 /checksum/SHA256/reset/147 1277s ok 1076 /checksum/SHA256/reset/148 1277s ok 1077 /checksum/SHA256/reset/149 1277s ok 1078 /checksum/SHA256/reset/150 1277s ok 1079 /checksum/SHA256/reset/151 1277s ok 1080 /checksum/SHA256/reset/152 1277s ok 1081 /checksum/SHA256/reset/153 1277s ok 1082 /checksum/SHA256/reset/154 1277s ok 1083 /checksum/SHA256/reset/155 1277s ok 1084 /checksum/SHA256/reset/156 1277s ok 1085 /checksum/SHA256/reset/157 1277s ok 1086 /checksum/SHA256/reset/158 1277s ok 1087 /checksum/SHA256/reset/159 1277s ok 1088 /checksum/SHA256/reset/160 1277s ok 1089 /checksum/SHA256/reset/161 1277s ok 1090 /checksum/SHA256/reset/162 1277s ok 1091 /checksum/SHA256/reset/163 1277s ok 1092 /checksum/SHA256/reset/164 1277s ok 1093 /checksum/SHA256/reset/165 1277s ok 1094 /checksum/SHA256/reset/166 1277s ok 1095 /checksum/SHA256/reset/167 1277s ok 1096 /checksum/SHA256/reset/168 1277s ok 1097 /checksum/SHA256/reset/169 1277s ok 1098 /checksum/SHA256/reset/170 1277s ok 1099 /checksum/SHA256/reset/171 1277s ok 1100 /checksum/SHA256/reset/172 1277s ok 1101 /checksum/SHA256/reset/173 1277s ok 1102 /checksum/SHA256/reset/174 1277s ok 1103 /checksum/SHA256/reset/175 1277s ok 1104 /checksum/SHA256/reset/176 1277s ok 1105 /checksum/SHA256/reset/177 1277s ok 1106 /checksum/SHA256/reset/178 1277s ok 1107 /checksum/SHA256/reset/179 1277s ok 1108 /checksum/SHA256/reset/180 1277s ok 1109 /checksum/SHA256/reset/181 1277s ok 1110 /checksum/SHA256/reset/182 1277s ok 1111 /checksum/SHA256/reset/183 1277s # End of reset tests 1277s # End of SHA256 tests 1277s # Start of SHA384 tests 1277s ok 1112 /checksum/SHA384/0 1277s ok 1113 /checksum/SHA384/1 1277s ok 1114 /checksum/SHA384/2 1277s ok 1115 /checksum/SHA384/3 1277s ok 1116 /checksum/SHA384/4 1277s ok 1117 /checksum/SHA384/5 1277s ok 1118 /checksum/SHA384/6 1277s ok 1119 /checksum/SHA384/7 1277s ok 1120 /checksum/SHA384/8 1277s ok 1121 /checksum/SHA384/9 1277s ok 1122 /checksum/SHA384/10 1277s ok 1123 /checksum/SHA384/11 1277s ok 1124 /checksum/SHA384/12 1277s ok 1125 /checksum/SHA384/13 1277s ok 1126 /checksum/SHA384/14 1277s ok 1127 /checksum/SHA384/15 1277s ok 1128 /checksum/SHA384/16 1277s ok 1129 /checksum/SHA384/17 1277s ok 1130 /checksum/SHA384/18 1277s ok 1131 /checksum/SHA384/19 1277s ok 1132 /checksum/SHA384/20 1277s ok 1133 /checksum/SHA384/21 1277s ok 1134 /checksum/SHA384/22 1277s ok 1135 /checksum/SHA384/23 1277s ok 1136 /checksum/SHA384/24 1277s ok 1137 /checksum/SHA384/25 1277s ok 1138 /checksum/SHA384/26 1277s ok 1139 /checksum/SHA384/27 1277s ok 1140 /checksum/SHA384/28 1277s ok 1141 /checksum/SHA384/29 1277s ok 1142 /checksum/SHA384/30 1277s ok 1143 /checksum/SHA384/31 1277s ok 1144 /checksum/SHA384/32 1277s ok 1145 /checksum/SHA384/33 1277s ok 1146 /checksum/SHA384/34 1277s ok 1147 /checksum/SHA384/35 1277s ok 1148 /checksum/SHA384/36 1277s ok 1149 /checksum/SHA384/37 1277s ok 1150 /checksum/SHA384/38 1277s ok 1151 /checksum/SHA384/39 1277s ok 1152 /checksum/SHA384/40 1277s ok 1153 /checksum/SHA384/41 1277s ok 1154 /checksum/SHA384/42 1277s ok 1155 /checksum/SHA384/43 1277s ok 1156 /checksum/SHA384/44 1277s ok 1157 /checksum/SHA384/45 1277s ok 1158 /checksum/SHA384/46 1277s ok 1159 /checksum/SHA384/47 1277s ok 1160 /checksum/SHA384/48 1277s ok 1161 /checksum/SHA384/49 1277s ok 1162 /checksum/SHA384/50 1277s ok 1163 /checksum/SHA384/51 1277s ok 1164 /checksum/SHA384/52 1277s ok 1165 /checksum/SHA384/53 1277s ok 1166 /checksum/SHA384/54 1277s ok 1167 /checksum/SHA384/55 1277s ok 1168 /checksum/SHA384/56 1277s ok 1169 /checksum/SHA384/57 1277s ok 1170 /checksum/SHA384/58 1277s ok 1171 /checksum/SHA384/59 1277s ok 1172 /checksum/SHA384/60 1277s ok 1173 /checksum/SHA384/61 1277s ok 1174 /checksum/SHA384/62 1277s ok 1175 /checksum/SHA384/63 1277s ok 1176 /checksum/SHA384/64 1277s ok 1177 /checksum/SHA384/65 1277s ok 1178 /checksum/SHA384/66 1277s ok 1179 /checksum/SHA384/67 1277s ok 1180 /checksum/SHA384/68 1277s ok 1181 /checksum/SHA384/69 1277s ok 1182 /checksum/SHA384/70 1277s ok 1183 /checksum/SHA384/71 1277s ok 1184 /checksum/SHA384/72 1277s ok 1185 /checksum/SHA384/73 1277s ok 1186 /checksum/SHA384/74 1277s ok 1187 /checksum/SHA384/75 1277s ok 1188 /checksum/SHA384/76 1277s ok 1189 /checksum/SHA384/77 1277s ok 1190 /checksum/SHA384/78 1277s ok 1191 /checksum/SHA384/79 1277s ok 1192 /checksum/SHA384/80 1277s ok 1193 /checksum/SHA384/81 1277s ok 1194 /checksum/SHA384/82 1277s ok 1195 /checksum/SHA384/83 1277s ok 1196 /checksum/SHA384/84 1277s ok 1197 /checksum/SHA384/85 1277s ok 1198 /checksum/SHA384/86 1277s ok 1199 /checksum/SHA384/87 1277s ok 1200 /checksum/SHA384/88 1277s ok 1201 /checksum/SHA384/89 1277s ok 1202 /checksum/SHA384/90 1277s ok 1203 /checksum/SHA384/91 1277s ok 1204 /checksum/SHA384/92 1277s ok 1205 /checksum/SHA384/93 1277s ok 1206 /checksum/SHA384/94 1277s ok 1207 /checksum/SHA384/95 1277s ok 1208 /checksum/SHA384/96 1277s ok 1209 /checksum/SHA384/97 1277s ok 1210 /checksum/SHA384/98 1277s ok 1211 /checksum/SHA384/99 1277s ok 1212 /checksum/SHA384/100 1277s ok 1213 /checksum/SHA384/101 1277s ok 1214 /checksum/SHA384/102 1277s ok 1215 /checksum/SHA384/103 1277s ok 1216 /checksum/SHA384/104 1277s ok 1217 /checksum/SHA384/105 1277s ok 1218 /checksum/SHA384/106 1277s ok 1219 /checksum/SHA384/107 1277s ok 1220 /checksum/SHA384/108 1277s ok 1221 /checksum/SHA384/109 1277s ok 1222 /checksum/SHA384/110 1277s ok 1223 /checksum/SHA384/111 1277s ok 1224 /checksum/SHA384/112 1277s ok 1225 /checksum/SHA384/113 1277s ok 1226 /checksum/SHA384/114 1277s ok 1227 /checksum/SHA384/115 1277s ok 1228 /checksum/SHA384/116 1277s ok 1229 /checksum/SHA384/117 1277s ok 1230 /checksum/SHA384/118 1277s ok 1231 /checksum/SHA384/119 1277s ok 1232 /checksum/SHA384/120 1277s ok 1233 /checksum/SHA384/121 1277s ok 1234 /checksum/SHA384/122 1277s ok 1235 /checksum/SHA384/123 1277s ok 1236 /checksum/SHA384/124 1277s ok 1237 /checksum/SHA384/125 1277s ok 1238 /checksum/SHA384/126 1277s ok 1239 /checksum/SHA384/127 1277s ok 1240 /checksum/SHA384/128 1277s ok 1241 /checksum/SHA384/129 1277s ok 1242 /checksum/SHA384/130 1277s ok 1243 /checksum/SHA384/131 1277s ok 1244 /checksum/SHA384/132 1277s ok 1245 /checksum/SHA384/133 1277s ok 1246 /checksum/SHA384/134 1277s ok 1247 /checksum/SHA384/135 1277s ok 1248 /checksum/SHA384/136 1277s ok 1249 /checksum/SHA384/137 1277s ok 1250 /checksum/SHA384/138 1277s ok 1251 /checksum/SHA384/139 1277s ok 1252 /checksum/SHA384/140 1277s ok 1253 /checksum/SHA384/141 1277s ok 1254 /checksum/SHA384/142 1277s ok 1255 /checksum/SHA384/143 1277s ok 1256 /checksum/SHA384/144 1277s ok 1257 /checksum/SHA384/145 1277s ok 1258 /checksum/SHA384/146 1277s ok 1259 /checksum/SHA384/147 1277s ok 1260 /checksum/SHA384/148 1277s ok 1261 /checksum/SHA384/149 1277s ok 1262 /checksum/SHA384/150 1277s ok 1263 /checksum/SHA384/151 1277s ok 1264 /checksum/SHA384/152 1277s ok 1265 /checksum/SHA384/153 1277s ok 1266 /checksum/SHA384/154 1277s ok 1267 /checksum/SHA384/155 1277s ok 1268 /checksum/SHA384/156 1277s ok 1269 /checksum/SHA384/157 1277s ok 1270 /checksum/SHA384/158 1277s ok 1271 /checksum/SHA384/159 1277s ok 1272 /checksum/SHA384/160 1277s ok 1273 /checksum/SHA384/161 1277s ok 1274 /checksum/SHA384/162 1277s ok 1275 /checksum/SHA384/163 1277s ok 1276 /checksum/SHA384/164 1277s ok 1277 /checksum/SHA384/165 1277s ok 1278 /checksum/SHA384/166 1277s ok 1279 /checksum/SHA384/167 1277s ok 1280 /checksum/SHA384/168 1277s ok 1281 /checksum/SHA384/169 1277s ok 1282 /checksum/SHA384/170 1277s ok 1283 /checksum/SHA384/171 1277s ok 1284 /checksum/SHA384/172 1277s ok 1285 /checksum/SHA384/173 1277s ok 1286 /checksum/SHA384/174 1277s ok 1287 /checksum/SHA384/175 1277s ok 1288 /checksum/SHA384/176 1277s ok 1289 /checksum/SHA384/177 1277s ok 1290 /checksum/SHA384/178 1277s ok 1291 /checksum/SHA384/179 1277s ok 1292 /checksum/SHA384/180 1277s ok 1293 /checksum/SHA384/181 1277s ok 1294 /checksum/SHA384/182 1277s ok 1295 /checksum/SHA384/183 1277s ok 1296 /checksum/SHA384/string 1277s ok 1297 /checksum/SHA384/bytes 1277s # Start of reset tests 1277s ok 1298 /checksum/SHA384/reset/0 1277s ok 1299 /checksum/SHA384/reset/1 1277s ok 1300 /checksum/SHA384/reset/2 1277s ok 1301 /checksum/SHA384/reset/3 1277s ok 1302 /checksum/SHA384/reset/4 1277s ok 1303 /checksum/SHA384/reset/5 1277s ok 1304 /checksum/SHA384/reset/6 1277s ok 1305 /checksum/SHA384/reset/7 1277s ok 1306 /checksum/SHA384/reset/8 1277s ok 1307 /checksum/SHA384/reset/9 1277s ok 1308 /checksum/SHA384/reset/10 1277s ok 1309 /checksum/SHA384/reset/11 1277s ok 1310 /checksum/SHA384/reset/12 1277s ok 1311 /checksum/SHA384/reset/13 1277s ok 1312 /checksum/SHA384/reset/14 1277s ok 1313 /checksum/SHA384/reset/15 1277s ok 1314 /checksum/SHA384/reset/16 1277s ok 1315 /checksum/SHA384/reset/17 1277s ok 1316 /checksum/SHA384/reset/18 1277s ok 1317 /checksum/SHA384/reset/19 1277s ok 1318 /checksum/SHA384/reset/20 1277s ok 1319 /checksum/SHA384/reset/21 1277s ok 1320 /checksum/SHA384/reset/22 1277s ok 1321 /checksum/SHA384/reset/23 1277s ok 1322 /checksum/SHA384/reset/24 1277s ok 1323 /checksum/SHA384/reset/25 1277s ok 1324 /checksum/SHA384/reset/26 1277s ok 1325 /checksum/SHA384/reset/27 1277s ok 1326 /checksum/SHA384/reset/28 1277s ok 1327 /checksum/SHA384/reset/29 1277s ok 1328 /checksum/SHA384/reset/30 1277s ok 1329 /checksum/SHA384/reset/31 1277s ok 1330 /checksum/SHA384/reset/32 1277s ok 1331 /checksum/SHA384/reset/33 1277s ok 1332 /checksum/SHA384/reset/34 1277s ok 1333 /checksum/SHA384/reset/35 1277s ok 1334 /checksum/SHA384/reset/36 1277s ok 1335 /checksum/SHA384/reset/37 1277s ok 1336 /checksum/SHA384/reset/38 1277s ok 1337 /checksum/SHA384/reset/39 1277s ok 1338 /checksum/SHA384/reset/40 1277s ok 1339 /checksum/SHA384/reset/41 1277s ok 1340 /checksum/SHA384/reset/42 1277s ok 1341 /checksum/SHA384/reset/43 1277s ok 1342 /checksum/SHA384/reset/44 1277s ok 1343 /checksum/SHA384/reset/45 1277s ok 1344 /checksum/SHA384/reset/46 1277s ok 1345 /checksum/SHA384/reset/47 1277s ok 1346 /checksum/SHA384/reset/48 1277s ok 1347 /checksum/SHA384/reset/49 1277s ok 1348 /checksum/SHA384/reset/50 1277s ok 1349 /checksum/SHA384/reset/51 1277s ok 1350 /checksum/SHA384/reset/52 1277s ok 1351 /checksum/SHA384/reset/53 1277s ok 1352 /checksum/SHA384/reset/54 1277s ok 1353 /checksum/SHA384/reset/55 1277s ok 1354 /checksum/SHA384/reset/56 1277s ok 1355 /checksum/SHA384/reset/57 1277s ok 1356 /checksum/SHA384/reset/58 1277s ok 1357 /checksum/SHA384/reset/59 1277s ok 1358 /checksum/SHA384/reset/60 1277s ok 1359 /checksum/SHA384/reset/61 1277s ok 1360 /checksum/SHA384/reset/62 1277s ok 1361 /checksum/SHA384/reset/63 1277s ok 1362 /checksum/SHA384/reset/64 1277s ok 1363 /checksum/SHA384/reset/65 1277s ok 1364 /checksum/SHA384/reset/66 1277s ok 1365 /checksum/SHA384/reset/67 1277s ok 1366 /checksum/SHA384/reset/68 1277s ok 1367 /checksum/SHA384/reset/69 1277s ok 1368 /checksum/SHA384/reset/70 1277s ok 1369 /checksum/SHA384/reset/71 1277s ok 1370 /checksum/SHA384/reset/72 1277s ok 1371 /checksum/SHA384/reset/73 1277s ok 1372 /checksum/SHA384/reset/74 1277s ok 1373 /checksum/SHA384/reset/75 1277s ok 1374 /checksum/SHA384/reset/76 1277s ok 1375 /checksum/SHA384/reset/77 1277s ok 1376 /checksum/SHA384/reset/78 1277s ok 1377 /checksum/SHA384/reset/79 1277s ok 1378 /checksum/SHA384/reset/80 1277s ok 1379 /checksum/SHA384/reset/81 1277s ok 1380 /checksum/SHA384/reset/82 1277s ok 1381 /checksum/SHA384/reset/83 1277s ok 1382 /checksum/SHA384/reset/84 1277s ok 1383 /checksum/SHA384/reset/85 1277s ok 1384 /checksum/SHA384/reset/86 1277s ok 1385 /checksum/SHA384/reset/87 1277s ok 1386 /checksum/SHA384/reset/88 1277s ok 1387 /checksum/SHA384/reset/89 1277s ok 1388 /checksum/SHA384/reset/90 1277s ok 1389 /checksum/SHA384/reset/91 1277s ok 1390 /checksum/SHA384/reset/92 1277s ok 1391 /checksum/SHA384/reset/93 1277s ok 1392 /checksum/SHA384/reset/94 1277s ok 1393 /checksum/SHA384/reset/95 1277s ok 1394 /checksum/SHA384/reset/96 1277s ok 1395 /checksum/SHA384/reset/97 1277s ok 1396 /checksum/SHA384/reset/98 1277s ok 1397 /checksum/SHA384/reset/99 1277s ok 1398 /checksum/SHA384/reset/100 1277s ok 1399 /checksum/SHA384/reset/101 1277s ok 1400 /checksum/SHA384/reset/102 1277s ok 1401 /checksum/SHA384/reset/103 1277s ok 1402 /checksum/SHA384/reset/104 1277s ok 1403 /checksum/SHA384/reset/105 1277s ok 1404 /checksum/SHA384/reset/106 1277s ok 1405 /checksum/SHA384/reset/107 1277s ok 1406 /checksum/SHA384/reset/108 1277s ok 1407 /checksum/SHA384/reset/109 1277s ok 1408 /checksum/SHA384/reset/110 1277s ok 1409 /checksum/SHA384/reset/111 1277s ok 1410 /checksum/SHA384/reset/112 1277s ok 1411 /checksum/SHA384/reset/113 1277s ok 1412 /checksum/SHA384/reset/114 1277s ok 1413 /checksum/SHA384/reset/115 1277s ok 1414 /checksum/SHA384/reset/116 1277s ok 1415 /checksum/SHA384/reset/117 1277s ok 1416 /checksum/SHA384/reset/118 1277s ok 1417 /checksum/SHA384/reset/119 1277s ok 1418 /checksum/SHA384/reset/120 1277s ok 1419 /checksum/SHA384/reset/121 1277s ok 1420 /checksum/SHA384/reset/122 1277s ok 1421 /checksum/SHA384/reset/123 1277s ok 1422 /checksum/SHA384/reset/124 1277s ok 1423 /checksum/SHA384/reset/125 1277s ok 1424 /checksum/SHA384/reset/126 1277s ok 1425 /checksum/SHA384/reset/127 1277s ok 1426 /checksum/SHA384/reset/128 1277s ok 1427 /checksum/SHA384/reset/129 1277s ok 1428 /checksum/SHA384/reset/130 1277s ok 1429 /checksum/SHA384/reset/131 1277s ok 1430 /checksum/SHA384/reset/132 1277s ok 1431 /checksum/SHA384/reset/133 1277s ok 1432 /checksum/SHA384/reset/134 1277s ok 1433 /checksum/SHA384/reset/135 1277s ok 1434 /checksum/SHA384/reset/136 1277s ok 1435 /checksum/SHA384/reset/137 1277s ok 1436 /checksum/SHA384/reset/138 1277s ok 1437 /checksum/SHA384/reset/139 1277s ok 1438 /checksum/SHA384/reset/140 1277s ok 1439 /checksum/SHA384/reset/141 1277s ok 1440 /checksum/SHA384/reset/142 1277s ok 1441 /checksum/SHA384/reset/143 1277s ok 1442 /checksum/SHA384/reset/144 1277s ok 1443 /checksum/SHA384/reset/145 1277s ok 1444 /checksum/SHA384/reset/146 1277s ok 1445 /checksum/SHA384/reset/147 1277s ok 1446 /checksum/SHA384/reset/148 1277s ok 1447 /checksum/SHA384/reset/149 1277s ok 1448 /checksum/SHA384/reset/150 1277s ok 1449 /checksum/SHA384/reset/151 1277s ok 1450 /checksum/SHA384/reset/152 1277s ok 1451 /checksum/SHA384/reset/153 1277s ok 1452 /checksum/SHA384/reset/154 1277s ok 1453 /checksum/SHA384/reset/155 1277s ok 1454 /checksum/SHA384/reset/156 1277s ok 1455 /checksum/SHA384/reset/157 1277s ok 1456 /checksum/SHA384/reset/158 1277s ok 1457 /checksum/SHA384/reset/159 1277s ok 1458 /checksum/SHA384/reset/160 1277s ok 1459 /checksum/SHA384/reset/161 1277s ok 1460 /checksum/SHA384/reset/162 1277s ok 1461 /checksum/SHA384/reset/163 1277s ok 1462 /checksum/SHA384/reset/164 1277s ok 1463 /checksum/SHA384/reset/165 1277s ok 1464 /checksum/SHA384/reset/166 1277s ok 1465 /checksum/SHA384/reset/167 1277s ok 1466 /checksum/SHA384/reset/168 1277s ok 1467 /checksum/SHA384/reset/169 1277s ok 1468 /checksum/SHA384/reset/170 1277s ok 1469 /checksum/SHA384/reset/171 1277s ok 1470 /checksum/SHA384/reset/172 1277s ok 1471 /checksum/SHA384/reset/173 1277s ok 1472 /checksum/SHA384/reset/174 1277s ok 1473 /checksum/SHA384/reset/175 1277s ok 1474 /checksum/SHA384/reset/176 1277s ok 1475 /checksum/SHA384/reset/177 1277s ok 1476 /checksum/SHA384/reset/178 1277s ok 1477 /checksum/SHA384/reset/179 1277s ok 1478 /checksum/SHA384/reset/180 1277s ok 1479 /checksum/SHA384/reset/181 1277s ok 1480 /checksum/SHA384/reset/182 1277s ok 1481 /checksum/SHA384/reset/183 1277s # End of reset tests 1277s # End of SHA384 tests 1277s # Start of SHA512 tests 1277s ok 1482 /checksum/SHA512/0 1277s ok 1483 /checksum/SHA512/1 1277s ok 1484 /checksum/SHA512/2 1277s ok 1485 /checksum/SHA512/3 1277s ok 1486 /checksum/SHA512/4 1277s ok 1487 /checksum/SHA512/5 1277s ok 1488 /checksum/SHA512/6 1277s ok 1489 /checksum/SHA512/7 1277s ok 1490 /checksum/SHA512/8 1277s ok 1491 /checksum/SHA512/9 1277s ok 1492 /checksum/SHA512/10 1277s ok 1493 /checksum/SHA512/11 1277s ok 1494 /checksum/SHA512/12 1277s ok 1495 /checksum/SHA512/13 1277s ok 1496 /checksum/SHA512/14 1277s ok 1497 /checksum/SHA512/15 1277s ok 1498 /checksum/SHA512/16 1277s ok 1499 /checksum/SHA512/17 1277s ok 1500 /checksum/SHA512/18 1277s ok 1501 /checksum/SHA512/19 1277s ok 1502 /checksum/SHA512/20 1277s ok 1503 /checksum/SHA512/21 1277s ok 1504 /checksum/SHA512/22 1277s ok 1505 /checksum/SHA512/23 1277s ok 1506 /checksum/SHA512/24 1277s ok 1507 /checksum/SHA512/25 1277s ok 1508 /checksum/SHA512/26 1277s ok 1509 /checksum/SHA512/27 1277s ok 1510 /checksum/SHA512/28 1277s ok 1511 /checksum/SHA512/29 1277s ok 1512 /checksum/SHA512/30 1277s ok 1513 /checksum/SHA512/31 1277s ok 1514 /checksum/SHA512/32 1277s ok 1515 /checksum/SHA512/33 1277s ok 1516 /checksum/SHA512/34 1277s ok 1517 /checksum/SHA512/35 1277s ok 1518 /checksum/SHA512/36 1277s ok 1519 /checksum/SHA512/37 1277s ok 1520 /checksum/SHA512/38 1277s ok 1521 /checksum/SHA512/39 1277s ok 1522 /checksum/SHA512/40 1277s ok 1523 /checksum/SHA512/41 1277s ok 1524 /checksum/SHA512/42 1277s ok 1525 /checksum/SHA512/43 1277s ok 1526 /checksum/SHA512/44 1277s ok 1527 /checksum/SHA512/45 1277s ok 1528 /checksum/SHA512/46 1277s ok 1529 /checksum/SHA512/47 1277s ok 1530 /checksum/SHA512/48 1277s ok 1531 /checksum/SHA512/49 1277s ok 1532 /checksum/SHA512/50 1277s ok 1533 /checksum/SHA512/51 1277s ok 1534 /checksum/SHA512/52 1277s ok 1535 /checksum/SHA512/53 1277s ok 1536 /checksum/SHA512/54 1277s ok 1537 /checksum/SHA512/55 1277s ok 1538 /checksum/SHA512/56 1277s ok 1539 /checksum/SHA512/57 1277s ok 1540 /checksum/SHA512/58 1277s ok 1541 /checksum/SHA512/59 1277s ok 1542 /checksum/SHA512/60 1277s ok 1543 /checksum/SHA512/61 1277s ok 1544 /checksum/SHA512/62 1277s ok 1545 /checksum/SHA512/63 1277s ok 1546 /checksum/SHA512/64 1277s ok 1547 /checksum/SHA512/65 1277s ok 1548 /checksum/SHA512/66 1277s ok 1549 /checksum/SHA512/67 1277s ok 1550 /checksum/SHA512/68 1277s ok 1551 /checksum/SHA512/69 1277s ok 1552 /checksum/SHA512/70 1277s ok 1553 /checksum/SHA512/71 1277s ok 1554 /checksum/SHA512/72 1277s ok 1555 /checksum/SHA512/73 1277s ok 1556 /checksum/SHA512/74 1277s ok 1557 /checksum/SHA512/75 1277s ok 1558 /checksum/SHA512/76 1277s ok 1559 /checksum/SHA512/77 1277s ok 1560 /checksum/SHA512/78 1277s ok 1561 /checksum/SHA512/79 1277s ok 1562 /checksum/SHA512/80 1277s ok 1563 /checksum/SHA512/81 1277s ok 1564 /checksum/SHA512/82 1277s ok 1565 /checksum/SHA512/83 1277s ok 1566 /checksum/SHA512/84 1277s ok 1567 /checksum/SHA512/85 1277s ok 1568 /checksum/SHA512/86 1277s ok 1569 /checksum/SHA512/87 1277s ok 1570 /checksum/SHA512/88 1277s ok 1571 /checksum/SHA512/89 1277s ok 1572 /checksum/SHA512/90 1277s ok 1573 /checksum/SHA512/91 1277s ok 1574 /checksum/SHA512/92 1277s ok 1575 /checksum/SHA512/93 1277s ok 1576 /checksum/SHA512/94 1277s ok 1577 /checksum/SHA512/95 1277s ok 1578 /checksum/SHA512/96 1277s ok 1579 /checksum/SHA512/97 1277s ok 1580 /checksum/SHA512/98 1277s ok 1581 /checksum/SHA512/99 1277s ok 1582 /checksum/SHA512/100 1277s ok 1583 /checksum/SHA512/101 1277s ok 1584 /checksum/SHA512/102 1277s ok 1585 /checksum/SHA512/103 1277s ok 1586 /checksum/SHA512/104 1277s ok 1587 /checksum/SHA512/105 1277s ok 1588 /checksum/SHA512/106 1277s ok 1589 /checksum/SHA512/107 1277s ok 1590 /checksum/SHA512/108 1277s ok 1591 /checksum/SHA512/109 1277s ok 1592 /checksum/SHA512/110 1277s ok 1593 /checksum/SHA512/111 1277s ok 1594 /checksum/SHA512/112 1277s ok 1595 /checksum/SHA512/113 1277s ok 1596 /checksum/SHA512/114 1277s ok 1597 /checksum/SHA512/115 1277s ok 1598 /checksum/SHA512/116 1277s ok 1599 /checksum/SHA512/117 1277s ok 1600 /checksum/SHA512/118 1277s ok 1601 /checksum/SHA512/119 1277s ok 1602 /checksum/SHA512/120 1277s ok 1603 /checksum/SHA512/121 1277s ok 1604 /checksum/SHA512/122 1277s ok 1605 /checksum/SHA512/123 1277s ok 1606 /checksum/SHA512/124 1277s ok 1607 /checksum/SHA512/125 1277s ok 1608 /checksum/SHA512/126 1277s ok 1609 /checksum/SHA512/127 1277s ok 1610 /checksum/SHA512/128 1277s ok 1611 /checksum/SHA512/129 1277s ok 1612 /checksum/SHA512/130 1277s ok 1613 /checksum/SHA512/131 1277s ok 1614 /checksum/SHA512/132 1277s ok 1615 /checksum/SHA512/133 1277s ok 1616 /checksum/SHA512/134 1277s ok 1617 /checksum/SHA512/135 1277s ok 1618 /checksum/SHA512/136 1277s ok 1619 /checksum/SHA512/137 1277s ok 1620 /checksum/SHA512/138 1277s ok 1621 /checksum/SHA512/139 1277s ok 1622 /checksum/SHA512/140 1277s ok 1623 /checksum/SHA512/141 1277s ok 1624 /checksum/SHA512/142 1277s ok 1625 /checksum/SHA512/143 1277s ok 1626 /checksum/SHA512/144 1277s ok 1627 /checksum/SHA512/145 1277s ok 1628 /checksum/SHA512/146 1277s ok 1629 /checksum/SHA512/147 1277s ok 1630 /checksum/SHA512/148 1277s ok 1631 /checksum/SHA512/149 1277s ok 1632 /checksum/SHA512/150 1277s ok 1633 /checksum/SHA512/151 1277s ok 1634 /checksum/SHA512/152 1277s ok 1635 /checksum/SHA512/153 1277s ok 1636 /checksum/SHA512/154 1277s ok 1637 /checksum/SHA512/155 1277s ok 1638 /checksum/SHA512/156 1277s ok 1639 /checksum/SHA512/157 1277s ok 1640 /checksum/SHA512/158 1277s ok 1641 /checksum/SHA512/159 1277s ok 1642 /checksum/SHA512/160 1277s ok 1643 /checksum/SHA512/161 1277s ok 1644 /checksum/SHA512/162 1277s ok 1645 /checksum/SHA512/163 1277s ok 1646 /checksum/SHA512/164 1277s ok 1647 /checksum/SHA512/165 1277s ok 1648 /checksum/SHA512/166 1277s ok 1649 /checksum/SHA512/167 1277s ok 1650 /checksum/SHA512/168 1277s ok 1651 /checksum/SHA512/169 1277s ok 1652 /checksum/SHA512/170 1277s ok 1653 /checksum/SHA512/171 1277s ok 1654 /checksum/SHA512/172 1277s ok 1655 /checksum/SHA512/173 1277s ok 1656 /checksum/SHA512/174 1277s ok 1657 /checksum/SHA512/175 1277s ok 1658 /checksum/SHA512/176 1277s ok 1659 /checksum/SHA512/177 1277s ok 1660 /checksum/SHA512/178 1277s ok 1661 /checksum/SHA512/179 1277s ok 1662 /checksum/SHA512/180 1277s ok 1663 /checksum/SHA512/181 1277s ok 1664 /checksum/SHA512/182 1277s ok 1665 /checksum/SHA512/183 1277s ok 1666 /checksum/SHA512/string 1277s ok 1667 /checksum/SHA512/bytes 1277s # Start of reset tests 1277s ok 1668 /checksum/SHA512/reset/0 1277s ok 1669 /checksum/SHA512/reset/1 1277s ok 1670 /checksum/SHA512/reset/2 1277s ok 1671 /checksum/SHA512/reset/3 1277s ok 1672 /checksum/SHA512/reset/4 1277s ok 1673 /checksum/SHA512/reset/5 1277s ok 1674 /checksum/SHA512/reset/6 1277s ok 1675 /checksum/SHA512/reset/7 1277s ok 1676 /checksum/SHA512/reset/8 1277s ok 1677 /checksum/SHA512/reset/9 1277s ok 1678 /checksum/SHA512/reset/10 1277s ok 1679 /checksum/SHA512/reset/11 1277s ok 1680 /checksum/SHA512/reset/12 1277s ok 1681 /checksum/SHA512/reset/13 1277s ok 1682 /checksum/SHA512/reset/14 1277s ok 1683 /checksum/SHA512/reset/15 1277s ok 1684 /checksum/SHA512/reset/16 1277s ok 1685 /checksum/SHA512/reset/17 1277s ok 1686 /checksum/SHA512/reset/18 1277s ok 1687 /checksum/SHA512/reset/19 1277s ok 1688 /checksum/SHA512/reset/20 1277s ok 1689 /checksum/SHA512/reset/21 1277s ok 1690 /checksum/SHA512/reset/22 1277s ok 1691 /checksum/SHA512/reset/23 1277s ok 1692 /checksum/SHA512/reset/24 1277s ok 1693 /checksum/SHA512/reset/25 1277s ok 1694 /checksum/SHA512/reset/26 1277s ok 1695 /checksum/SHA512/reset/27 1277s ok 1696 /checksum/SHA512/reset/28 1277s ok 1697 /checksum/SHA512/reset/29 1277s ok 1698 /checksum/SHA512/reset/30 1277s ok 1699 /checksum/SHA512/reset/31 1277s ok 1700 /checksum/SHA512/reset/32 1277s ok 1701 /checksum/SHA512/reset/33 1277s ok 1702 /checksum/SHA512/reset/34 1277s ok 1703 /checksum/SHA512/reset/35 1277s ok 1704 /checksum/SHA512/reset/36 1277s ok 1705 /checksum/SHA512/reset/37 1277s ok 1706 /checksum/SHA512/reset/38 1277s ok 1707 /checksum/SHA512/reset/39 1277s ok 1708 /checksum/SHA512/reset/40 1277s ok 1709 /checksum/SHA512/reset/41 1277s ok 1710 /checksum/SHA512/reset/42 1277s ok 1711 /checksum/SHA512/reset/43 1277s ok 1712 /checksum/SHA512/reset/44 1277s ok 1713 /checksum/SHA512/reset/45 1277s ok 1714 /checksum/SHA512/reset/46 1277s ok 1715 /checksum/SHA512/reset/47 1277s ok 1716 /checksum/SHA512/reset/48 1277s ok 1717 /checksum/SHA512/reset/49 1277s ok 1718 /checksum/SHA512/reset/50 1277s ok 1719 /checksum/SHA512/reset/51 1277s ok 1720 /checksum/SHA512/reset/52 1277s ok 1721 /checksum/SHA512/reset/53 1277s ok 1722 /checksum/SHA512/reset/54 1277s ok 1723 /checksum/SHA512/reset/55 1277s ok 1724 /checksum/SHA512/reset/56 1277s ok 1725 /checksum/SHA512/reset/57 1277s ok 1726 /checksum/SHA512/reset/58 1277s ok 1727 /checksum/SHA512/reset/59 1277s ok 1728 /checksum/SHA512/reset/60 1277s ok 1729 /checksum/SHA512/reset/61 1277s ok 1730 /checksum/SHA512/reset/62 1277s ok 1731 /checksum/SHA512/reset/63 1277s ok 1732 /checksum/SHA512/reset/64 1277s ok 1733 /checksum/SHA512/reset/65 1277s ok 1734 /checksum/SHA512/reset/66 1277s ok 1735 /checksum/SHA512/reset/67 1277s ok 1736 /checksum/SHA512/reset/68 1277s ok 1737 /checksum/SHA512/reset/69 1277s ok 1738 /checksum/SHA512/reset/70 1277s ok 1739 /checksum/SHA512/reset/71 1277s ok 1740 /checksum/SHA512/reset/72 1277s ok 1741 /checksum/SHA512/reset/73 1277s ok 1742 /checksum/SHA512/reset/74 1277s ok 1743 /checksum/SHA512/reset/75 1277s ok 1744 /checksum/SHA512/reset/76 1277s ok 1745 /checksum/SHA512/reset/77 1277s ok 1746 /checksum/SHA512/reset/78 1277s ok 1747 /checksum/SHA512/reset/79 1277s ok 1748 /checksum/SHA512/reset/80 1277s ok 1749 /checksum/SHA512/reset/81 1277s ok 1750 /checksum/SHA512/reset/82 1277s ok 1751 /checksum/SHA512/reset/83 1277s ok 1752 /checksum/SHA512/reset/84 1277s ok 1753 /checksum/SHA512/reset/85 1277s ok 1754 /checksum/SHA512/reset/86 1277s ok 1755 /checksum/SHA512/reset/87 1277s ok 1756 /checksum/SHA512/reset/88 1277s ok 1757 /checksum/SHA512/reset/89 1277s ok 1758 /checksum/SHA512/reset/90 1277s ok 1759 /checksum/SHA512/reset/91 1277s ok 1760 /checksum/SHA512/reset/92 1277s ok 1761 /checksum/SHA512/reset/93 1277s ok 1762 /checksum/SHA512/reset/94 1277s ok 1763 /checksum/SHA512/reset/95 1277s ok 1764 /checksum/SHA512/reset/96 1277s ok 1765 /checksum/SHA512/reset/97 1277s ok 1766 /checksum/SHA512/reset/98 1277s ok 1767 /checksum/SHA512/reset/99 1277s ok 1768 /checksum/SHA512/reset/100 1277s ok 1769 /checksum/SHA512/reset/101 1277s ok 1770 /checksum/SHA512/reset/102 1277s ok 1771 /checksum/SHA512/reset/103 1277s ok 1772 /checksum/SHA512/reset/104 1277s ok 1773 /checksum/SHA512/reset/105 1277s ok 1774 /checksum/SHA512/reset/106 1277s ok 1775 /checksum/SHA512/reset/107 1277s ok 1776 /checksum/SHA512/reset/108 1277s ok 1777 /checksum/SHA512/reset/109 1277s ok 1778 /checksum/SHA512/reset/110 1277s ok 1779 /checksum/SHA512/reset/111 1277s ok 1780 /checksum/SHA512/reset/112 1277s ok 1781 /checksum/SHA512/reset/113 1277s ok 1782 /checksum/SHA512/reset/114 1277s ok 1783 /checksum/SHA512/reset/115 1277s ok 1784 /checksum/SHA512/reset/116 1277s ok 1785 /checksum/SHA512/reset/117 1277s ok 1786 /checksum/SHA512/reset/118 1277s ok 1787 /checksum/SHA512/reset/119 1277s ok 1788 /checksum/SHA512/reset/120 1277s ok 1789 /checksum/SHA512/reset/121 1277s ok 1790 /checksum/SHA512/reset/122 1277s ok 1791 /checksum/SHA512/reset/123 1277s ok 1792 /checksum/SHA512/reset/124 1277s ok 1793 /checksum/SHA512/reset/125 1277s ok 1794 /checksum/SHA512/reset/126 1277s ok 1795 /checksum/SHA512/reset/127 1277s ok 1796 /checksum/SHA512/reset/128 1277s ok 1797 /checksum/SHA512/reset/129 1277s ok 1798 /checksum/SHA512/reset/130 1277s ok 1799 /checksum/SHA512/reset/131 1277s ok 1800 /checksum/SHA512/reset/132 1277s ok 1801 /checksum/SHA512/reset/133 1277s ok 1802 /checksum/SHA512/reset/134 1277s ok 1803 /checksum/SHA512/reset/135 1277s ok 1804 /checksum/SHA512/reset/136 1277s ok 1805 /checksum/SHA512/reset/137 1277s ok 1806 /checksum/SHA512/reset/138 1277s ok 1807 /checksum/SHA512/reset/139 1277s ok 1808 /checksum/SHA512/reset/140 1277s ok 1809 /checksum/SHA512/reset/141 1277s ok 1810 /checksum/SHA512/reset/142 1277s ok 1811 /checksum/SHA512/reset/143 1277s ok 1812 /checksum/SHA512/reset/144 1277s ok 1813 /checksum/SHA512/reset/145 1277s ok 1814 /checksum/SHA512/reset/146 1277s ok 1815 /checksum/SHA512/reset/147 1277s ok 1816 /checksum/SHA512/reset/148 1277s ok 1817 /checksum/SHA512/reset/149 1277s ok 1818 /checksum/SHA512/reset/150 1277s ok 1819 /checksum/SHA512/reset/151 1277s ok 1820 /checksum/SHA512/reset/152 1277s ok 1821 /checksum/SHA512/reset/153 1277s ok 1822 /checksum/SHA512/reset/154 1277s ok 1823 /checksum/SHA512/reset/155 1277s ok 1824 /checksum/SHA512/reset/156 1277s ok 1825 /checksum/SHA512/reset/157 1277s ok 1826 /checksum/SHA512/reset/158 1277s ok 1827 /checksum/SHA512/reset/159 1277s ok 1828 /checksum/SHA512/reset/160 1277s ok 1829 /checksum/SHA512/reset/161 1277s ok 1830 /checksum/SHA512/reset/162 1277s ok 1831 /checksum/SHA512/reset/163 1277s ok 1832 /checksum/SHA512/reset/164 1277s ok 1833 /checksum/SHA512/reset/165 1277s ok 1834 /checksum/SHA512/reset/166 1277s ok 1835 /checksum/SHA512/reset/167 1277s ok 1836 /checksum/SHA512/reset/168 1277s ok 1837 /checksum/SHA512/reset/169 1277s ok 1838 /checksum/SHA512/reset/170 1277s ok 1839 /checksum/SHA512/reset/171 1277s ok 1840 /checksum/SHA512/reset/172 1277s ok 1841 /checksum/SHA512/reset/173 1277s ok 1842 /checksum/SHA512/reset/174 1277s ok 1843 /checksum/SHA512/reset/175 1277s ok 1844 /checksum/SHA512/reset/176 1277s ok 1845 /checksum/SHA512/reset/177 1277s ok 1846 /checksum/SHA512/reset/178 1277s ok 1847 /checksum/SHA512/reset/179 1277s ok 1848 /checksum/SHA512/reset/180 1277s ok 1849 /checksum/SHA512/reset/181 1277s ok 1850 /checksum/SHA512/reset/182 1277s ok 1851 /checksum/SHA512/reset/183 1277s # End of reset tests 1277s # End of SHA512 tests 1277s # End of checksum tests 1277s ok - glib/checksum.test 1277s # Running test: glib/utils-isolated.test 1277s TAP version 14 1277s # random seed: R02S5597900930af03880269dfbe511f9f05 1277s 1..11 1277s # Start of utils-isolated tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/tmp-dir/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/tmp-dir/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_NOJE02/utils-isolated/tmp-dir/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/tmp-dir/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_NOJE02/utils-isolated/tmp-dir/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/tmp-dir/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/tmp-dir/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NOJE02/utils-isolated/tmp-dir/.dirs/runtime 1277s ok 1 /utils-isolated/tmp-dir 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/home-dir/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/home-dir/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_NOJE02/utils-isolated/home-dir/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/home-dir/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_NOJE02/utils-isolated/home-dir/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/home-dir/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/home-dir/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NOJE02/utils-isolated/home-dir/.dirs/runtime 1277s ok 2 /utils-isolated/home-dir 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-cache-dir/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-cache-dir/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_NOJE02/utils-isolated/user-cache-dir/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-cache-dir/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_NOJE02/utils-isolated/user-cache-dir/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-cache-dir/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-cache-dir/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-cache-dir/.dirs/runtime 1277s ok 3 /utils-isolated/user-cache-dir 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-config-dirs/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-config-dirs/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_NOJE02/utils-isolated/system-config-dirs/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-config-dirs/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_NOJE02/utils-isolated/system-config-dirs/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-config-dirs/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-config-dirs/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-config-dirs/.dirs/runtime 1277s ok 4 /utils-isolated/system-config-dirs 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-config-dir/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-config-dir/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_NOJE02/utils-isolated/user-config-dir/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-config-dir/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_NOJE02/utils-isolated/user-config-dir/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-config-dir/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-config-dir/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-config-dir/.dirs/runtime 1277s ok 5 /utils-isolated/user-config-dir 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-data-dirs/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-data-dirs/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_NOJE02/utils-isolated/system-data-dirs/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-data-dirs/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_NOJE02/utils-isolated/system-data-dirs/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-data-dirs/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-data-dirs/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NOJE02/utils-isolated/system-data-dirs/.dirs/runtime 1277s ok 6 /utils-isolated/system-data-dirs 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-data-dir/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-data-dir/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_NOJE02/utils-isolated/user-data-dir/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-data-dir/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_NOJE02/utils-isolated/user-data-dir/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-data-dir/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-data-dir/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-data-dir/.dirs/runtime 1277s ok 7 /utils-isolated/user-data-dir 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-state-dir/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-state-dir/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_NOJE02/utils-isolated/user-state-dir/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-state-dir/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_NOJE02/utils-isolated/user-state-dir/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-state-dir/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-state-dir/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-state-dir/.dirs/runtime 1277s ok 8 /utils-isolated/user-state-dir 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-runtime-dir/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-runtime-dir/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_NOJE02/utils-isolated/user-runtime-dir/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-runtime-dir/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_NOJE02/utils-isolated/user-runtime-dir/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-runtime-dir/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-runtime-dir/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NOJE02/utils-isolated/user-runtime-dir/.dirs/runtime 1277s ok 9 /utils-isolated/user-runtime-dir 1277s # Start of cleanup tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs/runtime 1277s Unable to clean up temporary directory /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1277s Unable to clean up temporary directory /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1277s Unable to clean up temporary directory /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/handles-errors: Directory not empty 1277s ok 10 /utils-isolated/cleanup/handles-errors 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1277s Unable to clean up temporary directory /tmp/test_utils-isolated_NOJE02/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1277s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1277s # End of cleanup tests 1277s # End of utils-isolated tests 1277s ok - glib/utils-isolated.test 1277s # Running test: glib/memory-output-stream.test 1277s TAP version 14 1277s # random seed: R02Sc70a68f2137aa9097b6941d5c7115051 1277s 1..10 1277s # Start of memory-output-stream tests 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1277s ok 1 /memory-output-stream/truncate 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1277s ok 2 /memory-output-stream/get-data-size 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1277s ok 3 /memory-output-stream/properties 1277s ok 4 /memory-output-stream/write-bytes 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1277s ok 5 /memory-output-stream/write-null 1277s ok 6 /memory-output-stream/writev 1277s ok 7 /memory-output-stream/writev_nonblocking 1277s ok 8 /memory-output-stream/steal_as_bytes 1277s # Start of seek tests 1277s ok 9 /memory-output-stream/seek/fixed 1277s ok 10 /memory-output-stream/seek/resizable 1277s # End of seek tests 1277s # End of memory-output-stream tests 1277s ok - glib/memory-output-stream.test 1277s # Running test: glib/rwlock.test 1277s TAP version 14 1277s # random seed: R02S9871be6169866a78d4f50524d67dea6f 1277s 1..8 1277s # Start of thread tests 1277s ok 1 /thread/rwlock1 1277s ok 2 /thread/rwlock2 1277s ok 3 /thread/rwlock3 1277s ok 4 /thread/rwlock4 1277s ok 5 /thread/rwlock5 1277s ok 6 /thread/rwlock6 1282s # Executing: glib/rwlock.test 1283s ok 7 /thread/rwlock7 1283s # slow test /thread/rwlock7 executed in 5.17 secs 1283s ok 8 /thread/rwlock8 1283s # End of thread tests 1283s ok - glib/rwlock.test 1283s # Running test: glib/file-thumbnail.test 1283s TAP version 14 1283s # random seed: R02S5d537100bfd2c17c6f803ac717eb68a8 1283s 1..7 1283s # Start of file-thumbnail tests 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/fail/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/fail/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/fail/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/fail/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/fail/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/fail/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/fail/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_K01H02/file-thumbnail/fail/.dirs/runtime 1283s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1283s # Created test thumbnail at /tmp/test_file-thumbnail_K01H02/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1283s ok 1 /file-thumbnail/fail 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/runtime 1283s # Created test thumbnail at /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1283s # Created test thumbnail at /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1283s # Created test thumbnail at /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1283s # Created test thumbnail at /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1283s # Created test thumbnail at /tmp/test_file-thumbnail_K01H02/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1283s ok 2 /file-thumbnail/size-priority 1283s # Start of valid tests 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/normal/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/normal/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/normal/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/normal/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/normal/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/normal/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/normal/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/normal/.dirs/runtime 1283s # Created test thumbnail at /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1283s ok 3 /file-thumbnail/valid/normal 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/large/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/large/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/large/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/large/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/large/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/large/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/large/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/large/.dirs/runtime 1283s # Created test thumbnail at /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1283s ok 4 /file-thumbnail/valid/large 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/x-large/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/x-large/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/x-large/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/x-large/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/x-large/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/x-large/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/x-large/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/x-large/.dirs/runtime 1283s # Created test thumbnail at /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1283s ok 5 /file-thumbnail/valid/x-large 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/xx-large/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/xx-large/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/xx-large/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/xx-large/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/xx-large/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/xx-large/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/xx-large/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/xx-large/.dirs/runtime 1283s # Created test thumbnail at /tmp/test_file-thumbnail_K01H02/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1283s ok 6 /file-thumbnail/valid/xx-large 1283s # End of valid tests 1283s # Start of unknown tests 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/unknown/super-large/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/unknown/super-large/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/unknown/super-large/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/unknown/super-large/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_K01H02/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_K01H02/file-thumbnail/unknown/super-large/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/unknown/super-large/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_K01H02/file-thumbnail/unknown/super-large/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_K01H02/file-thumbnail/unknown/super-large/.dirs/runtime 1283s # Created test thumbnail at /tmp/test_file-thumbnail_K01H02/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1283s ok 7 /file-thumbnail/unknown/super-large 1283s # End of unknown tests 1283s # End of file-thumbnail tests 1283s ok - glib/file-thumbnail.test 1283s # Running test: glib/gthash.test 1283s TAP version 14 1283s # random seed: R02S3c8343b39fabbb850052c6d6d4b242ba 1283s 1..1 1283s # Start of gthash tests 1283s ok 1 /gthash/build-retrieve 1283s # End of gthash tests 1283s ok - glib/gthash.test 1283s # Running test: glib/642026-ec.test 1283s TAP version 14 1283s # random seed: R02Sfb6cdebc648cdcc89b9d182c56d9e3b4 1283s 1..1 1283s # Start of glib tests 1283s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1283s ok 1 /glib/642026 1283s # End of glib tests 1283s ok - glib/642026-ec.test 1283s # Running test: glib/rcbox.test 1283s TAP version 14 1283s # random seed: R02S55a2246e49df629c0543a09aeef9e04e 1283s 1..8 1283s # Start of rcbox tests 1283s ok 1 /rcbox/new 1283s # global_point = 0x57cbc5c7e840 1283s ok 2 /rcbox/release-full 1283s # global_point_a = 0x57cbc5c7e840 1283s # global_point_b = 0x57cbc5c7e800 1283s ok 3 /rcbox/dup 1283s ok 4 /rcbox/alignment 1283s # End of rcbox tests 1283s # Start of atomic-rcbox tests 1283s ok 5 /atomic-rcbox/new 1283s # global_point = 0x57cbc5c7ea10 1283s ok 6 /atomic-rcbox/release-full 1283s # global_point_a = 0x57cbc5c7ea10 1283s # global_point_b = 0x57cbc5c7e9d0 1283s ok 7 /atomic-rcbox/dup 1283s ok 8 /atomic-rcbox/alignment 1283s # End of atomic-rcbox tests 1283s ok - glib/rcbox.test 1283s # Running test: glib/macros-c-89.test 1283s TAP version 14 1283s # random seed: R02Sf2477f2c733a685d977257bb459fafb3 1283s 1..4 1283s # Start of C tests 1283s ok 1 /C/standard-89 1283s # End of C tests 1283s # Start of alignof tests 1283s ok 2 /alignof/fallback 1283s # End of alignof tests 1283s # Start of assert tests 1283s ok 3 /assert/static 1283s # End of assert tests 1283s # Start of struct tests 1283s ok 4 /struct/sizeof_member 1283s # End of struct tests 1283s ok - glib/macros-c-89.test 1283s # Running test: glib/portal-support-snap.test 1283s TAP version 14 1283s # random seed: R02S2c2458396b82ae7883b1f29c9bb45ee1 1283s 1..7 1283s # Start of portal-support tests 1283s # Start of snap tests 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/no-snapctl/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/no-snapctl/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/no-snapctl/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/no-snapctl/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/no-snapctl/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/no-snapctl/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/no-snapctl/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/no-snapctl/.dirs/runtime 1283s # Created snap.yaml in /tmp/test_portal-support-snap_Z3AP02/meta/snap.yaml 1283s Unable to clean up temporary directory /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/no-snapctl: No such file or directory 1283s ok 1 /portal-support/snap/no-snapctl 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none/.dirs/runtime 1283s # Created snap.yaml in /tmp/test_portal-support-snap_Z3AP02/meta/snap.yaml 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none/.dirs/runtime/snapctl 1283s Unable to clean up temporary directory /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/none: No such file or directory 1283s ok 2 /portal-support/snap/none 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all/.dirs/runtime 1283s # Created snap.yaml in /tmp/test_portal-support-snap_Z3AP02/meta/snap.yaml 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all/.dirs/runtime/snapctl 1283s Unable to clean up temporary directory /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/all: No such file or directory 1283s ok 3 /portal-support/snap/all 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only/.dirs/runtime 1283s # Created snap.yaml in /tmp/test_portal-support-snap_Z3AP02/meta/snap.yaml 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1283s Unable to clean up temporary directory /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/desktop-only: No such file or directory 1283s ok 4 /portal-support/snap/desktop-only 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only/.dirs/runtime 1283s # Created snap.yaml in /tmp/test_portal-support-snap_Z3AP02/meta/snap.yaml 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only/.dirs/runtime/snapctl 1283s Unable to clean up temporary directory /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/network-only: No such file or directory 1283s ok 5 /portal-support/snap/network-only 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only/.dirs/runtime 1283s # Created snap.yaml in /tmp/test_portal-support-snap_Z3AP02/meta/snap.yaml 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1283s Unable to clean up temporary directory /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/gsettings-only: No such file or directory 1283s ok 6 /portal-support/snap/gsettings-only 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/runtime 1283s # Created snap.yaml in /tmp/test_portal-support-snap_Z3AP02/meta/snap.yaml 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1283s # Created snapctl in /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1283s Unable to clean up temporary directory /tmp/test_portal-support-snap_Z3AP02/portal-support/snap/updates-dynamically: No such file or directory 1283s ok 7 /portal-support/snap/updates-dynamically 1283s # End of snap tests 1283s # End of portal-support tests 1283s Unable to clean up temporary directory /tmp/test_portal-support-snap_Z3AP02: No such file or directory 1283s ok - glib/portal-support-snap.test 1283s # Running test: glib/scannerapi.test 1283s TAP version 14 1283s # random seed: R02S55e66ed3126a982aa2f9d03c6951d9c0 1283s 1..4 1283s # Start of scanner tests 1283s ok 1 /scanner/warn 1283s ok 2 /scanner/error 1283s ok 3 /scanner/symbols 1283s ok 4 /scanner/tokens 1283s # End of scanner tests 1283s ok - glib/scannerapi.test 1283s # Running test: glib/file.test 1283s TAP version 14 1283s # random seed: R02Seb8e984bf69cac5ea04d710570d62b73 1283s 1..55 1283s # Start of file tests 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/basic/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/basic/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/basic/.dirs/system-config1:/tmp/test_file_PSMQ02/file/basic/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/basic/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/basic/.dirs/system-data1:/tmp/test_file_PSMQ02/file/basic/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/basic/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/basic/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/basic/.dirs/runtime 1283s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1283s ok 1 /file/basic 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/build-filename/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/build-filename/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/build-filename/.dirs/system-config1:/tmp/test_file_PSMQ02/file/build-filename/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/build-filename/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/build-filename/.dirs/system-data1:/tmp/test_file_PSMQ02/file/build-filename/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/build-filename/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/build-filename/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/build-filename/.dirs/runtime 1283s ok 2 /file/build-filename 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/build-filenamev/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/build-filenamev/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/build-filenamev/.dirs/system-config1:/tmp/test_file_PSMQ02/file/build-filenamev/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/build-filenamev/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/build-filenamev/.dirs/system-data1:/tmp/test_file_PSMQ02/file/build-filenamev/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/build-filenamev/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/build-filenamev/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/build-filenamev/.dirs/runtime 1283s ok 3 /file/build-filenamev 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/parent/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/parent/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/parent/.dirs/system-config1:/tmp/test_file_PSMQ02/file/parent/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/parent/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/parent/.dirs/system-data1:/tmp/test_file_PSMQ02/file/parent/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/parent/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/parent/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/parent/.dirs/runtime 1283s ok 4 /file/parent 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/child/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/child/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/child/.dirs/system-config1:/tmp/test_file_PSMQ02/file/child/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/child/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/child/.dirs/system-data1:/tmp/test_file_PSMQ02/file/child/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/child/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/child/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/child/.dirs/runtime 1283s ok 5 /file/child 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/empty-path/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/empty-path/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/empty-path/.dirs/system-config1:/tmp/test_file_PSMQ02/file/empty-path/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/empty-path/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/empty-path/.dirs/system-data1:/tmp/test_file_PSMQ02/file/empty-path/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/empty-path/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/empty-path/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/empty-path/.dirs/runtime 1283s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1283s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1283s ok 6 /file/empty-path 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/type/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/type/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/type/.dirs/system-config1:/tmp/test_file_PSMQ02/file/type/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/type/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/type/.dirs/system-data1:/tmp/test_file_PSMQ02/file/type/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/type/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/type/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/type/.dirs/runtime 1283s ok 7 /file/type 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/parse-name/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/parse-name/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/parse-name/.dirs/system-config1:/tmp/test_file_PSMQ02/file/parse-name/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/parse-name/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/parse-name/.dirs/system-data1:/tmp/test_file_PSMQ02/file/parse-name/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/parse-name/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/parse-name/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/parse-name/.dirs/runtime 1283s ok 8 /file/parse-name 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/replace-load/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/replace-load/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/replace-load/.dirs/system-config1:/tmp/test_file_PSMQ02/file/replace-load/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/replace-load/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/replace-load/.dirs/system-data1:/tmp/test_file_PSMQ02/file/replace-load/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/replace-load/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/replace-load/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/replace-load/.dirs/runtime 1283s ok 9 /file/replace-load 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/replace-cancel/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/replace-cancel/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/replace-cancel/.dirs/system-config1:/tmp/test_file_PSMQ02/file/replace-cancel/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/replace-cancel/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/replace-cancel/.dirs/system-data1:/tmp/test_file_PSMQ02/file/replace-cancel/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/replace-cancel/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/replace-cancel/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/replace-cancel/.dirs/runtime 1283s # Bug Reference: https://bugzilla.gnome.org/629301 1283s ok 10 /file/replace-cancel 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/replace-symlink/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/replace-symlink/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/replace-symlink/.dirs/system-config1:/tmp/test_file_PSMQ02/file/replace-symlink/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/replace-symlink/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/replace-symlink/.dirs/system-data1:/tmp/test_file_PSMQ02/file/replace-symlink/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/replace-symlink/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/replace-symlink/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/replace-symlink/.dirs/runtime 1283s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1283s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1283s # Using temporary directory /tmp/test_file_PSMQ02/g_file_replace_symlink_NNGQ02 1283s ok 11 /file/replace-symlink 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/async-new-tmp/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/async-new-tmp/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_PSMQ02/file/async-new-tmp/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/async-new-tmp/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_PSMQ02/file/async-new-tmp/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/async-new-tmp/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/async-new-tmp/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/async-new-tmp/.dirs/runtime 1283s ok 12 /file/async-new-tmp 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/async-new-tmp-dir/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/async-new-tmp-dir/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_PSMQ02/file/async-new-tmp-dir/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/async-new-tmp-dir/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_PSMQ02/file/async-new-tmp-dir/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/async-new-tmp-dir/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/async-new-tmp-dir/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/async-new-tmp-dir/.dirs/runtime 1283s ok 13 /file/async-new-tmp-dir 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/async-delete/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/async-delete/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/async-delete/.dirs/system-config1:/tmp/test_file_PSMQ02/file/async-delete/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/async-delete/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/async-delete/.dirs/system-data1:/tmp/test_file_PSMQ02/file/async-delete/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/async-delete/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/async-delete/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/async-delete/.dirs/runtime 1283s ok 14 /file/async-delete 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/async-make-symlink/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/async-make-symlink/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_PSMQ02/file/async-make-symlink/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/async-make-symlink/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_PSMQ02/file/async-make-symlink/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/async-make-symlink/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/async-make-symlink/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/async-make-symlink/.dirs/runtime 1283s ok 15 /file/async-make-symlink 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/copy-preserve-mode/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/copy-preserve-mode/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_PSMQ02/file/copy-preserve-mode/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/copy-preserve-mode/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_PSMQ02/file/copy-preserve-mode/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/copy-preserve-mode/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/copy-preserve-mode/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/copy-preserve-mode/.dirs/runtime 1283s # Current umask: 2 1283s # Vector 0 1283s # Vector 1 1283s # Vector 2 1283s # Vector 3 1283s # Vector 4 1283s # Vector 5 1283s # Vector 6 1283s # Vector 7 1283s # Vector 8 1283s # Vector 9 1283s # Vector 10 1283s ok 16 /file/copy-preserve-mode 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/copy-async-with-closures/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/copy-async-with-closures/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_PSMQ02/file/copy-async-with-closures/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/copy-async-with-closures/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_PSMQ02/file/copy-async-with-closures/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/copy-async-with-closures/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/copy-async-with-closures/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/copy-async-with-closures/.dirs/runtime 1283s ok 17 /file/copy-async-with-closures 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/measure/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/measure/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/measure/.dirs/system-config1:/tmp/test_file_PSMQ02/file/measure/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/measure/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/measure/.dirs/system-data1:/tmp/test_file_PSMQ02/file/measure/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/measure/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/measure/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/measure/.dirs/runtime 1283s ok 18 /file/measure 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/measure-async/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/measure-async/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/measure-async/.dirs/system-config1:/tmp/test_file_PSMQ02/file/measure-async/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/measure-async/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/measure-async/.dirs/system-data1:/tmp/test_file_PSMQ02/file/measure-async/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/measure-async/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/measure-async/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/measure-async/.dirs/runtime 1283s ok 19 /file/measure-async 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/load-bytes/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/load-bytes/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/load-bytes/.dirs/system-config1:/tmp/test_file_PSMQ02/file/load-bytes/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/load-bytes/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/load-bytes/.dirs/system-data1:/tmp/test_file_PSMQ02/file/load-bytes/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/load-bytes/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/load-bytes/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/load-bytes/.dirs/runtime 1283s ok 20 /file/load-bytes 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/load-bytes-async/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/load-bytes-async/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_PSMQ02/file/load-bytes-async/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/load-bytes-async/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_PSMQ02/file/load-bytes-async/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/load-bytes-async/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/load-bytes-async/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/load-bytes-async/.dirs/runtime 1283s ok 21 /file/load-bytes-async 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/load-bytes-4gb/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/load-bytes-4gb/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_PSMQ02/file/load-bytes-4gb/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/load-bytes-4gb/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_PSMQ02/file/load-bytes-4gb/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/load-bytes-4gb/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/load-bytes-4gb/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/load-bytes-4gb/.dirs/runtime 1283s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/load-contents-4gb/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/load-contents-4gb/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_PSMQ02/file/load-contents-4gb/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/load-contents-4gb/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_PSMQ02/file/load-contents-4gb/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/load-contents-4gb/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/load-contents-4gb/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/load-contents-4gb/.dirs/runtime 1283s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/load-contents-4gb-async/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/load-contents-4gb-async/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_PSMQ02/file/load-contents-4gb-async/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/load-contents-4gb-async/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_PSMQ02/file/load-contents-4gb-async/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/load-contents-4gb-async/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/load-contents-4gb-async/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/load-contents-4gb-async/.dirs/runtime 1283s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/writev/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/writev/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/writev/.dirs/system-config1:/tmp/test_file_PSMQ02/file/writev/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/writev/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/writev/.dirs/system-data1:/tmp/test_file_PSMQ02/file/writev/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/writev/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/writev/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/writev/.dirs/runtime 1283s ok 25 /file/writev 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/build-attribute-list-for-copy/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/build-attribute-list-for-copy/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_PSMQ02/file/build-attribute-list-for-copy/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/build-attribute-list-for-copy/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_PSMQ02/file/build-attribute-list-for-copy/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/build-attribute-list-for-copy/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/build-attribute-list-for-copy/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/build-attribute-list-for-copy/.dirs/runtime 1283s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1283s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1283s # 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::* 1283s # 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::* 1283s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1283s # Attributes for copy: standard::size,xattr::* 1283s # Attributes for copy: standard::size,unix::mode,xattr::* 1283s ok 26 /file/build-attribute-list-for-copy 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/move_async/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/move_async/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/move_async/.dirs/system-config1:/tmp/test_file_PSMQ02/file/move_async/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/move_async/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/move_async/.dirs/system-data1:/tmp/test_file_PSMQ02/file/move_async/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/move_async/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/move_async/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/move_async/.dirs/runtime 1283s ok 27 /file/move_async 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/move-async-with-closures/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/move-async-with-closures/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_PSMQ02/file/move-async-with-closures/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/move-async-with-closures/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_PSMQ02/file/move-async-with-closures/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/move-async-with-closures/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/move-async-with-closures/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/move-async-with-closures/.dirs/runtime 1283s ok 28 /file/move-async-with-closures 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/query-zero-length-content-type/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/query-zero-length-content-type/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_PSMQ02/file/query-zero-length-content-type/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/query-zero-length-content-type/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_PSMQ02/file/query-zero-length-content-type/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/query-zero-length-content-type/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/query-zero-length-content-type/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/query-zero-length-content-type/.dirs/runtime 1283s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1283s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1283s ok 29 /file/query-zero-length-content-type 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/runtime 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/data/applications 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/config 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/config 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/config 1283s ok 30 /file/query-default-handler-file 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/runtime 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/data/applications 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/config 1283s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_PSMQ02/file/query-default-handler-file/.dirs/config to /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/config 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/config 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/config 1283s ok 31 /file/query-default-handler-file-async 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/runtime 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/data/applications 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/config 1283s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_PSMQ02/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/config 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/config 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/config 1283s ok 32 /file/query-default-handler-uri 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/runtime 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/data/applications 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/config 1283s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_PSMQ02/file/query-default-handler-uri/.dirs/config to /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/config 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/config 1283s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_PSMQ02/file/query-default-handler-uri-async/.dirs/config 1283s ok 33 /file/query-default-handler-uri-async 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/enumerator-cancellation/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/enumerator-cancellation/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_PSMQ02/file/enumerator-cancellation/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/enumerator-cancellation/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_PSMQ02/file/enumerator-cancellation/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/enumerator-cancellation/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/enumerator-cancellation/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/enumerator-cancellation/.dirs/runtime 1283s ok 34 /file/enumerator-cancellation 1283s # Start of async-create-delete tests 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/async-create-delete/0/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/0/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_PSMQ02/file/async-create-delete/0/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/0/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_PSMQ02/file/async-create-delete/0/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/0/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/0/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/async-create-delete/0/.dirs/runtime 1283s ok 35 /file/async-create-delete/0 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/async-create-delete/1/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/1/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_PSMQ02/file/async-create-delete/1/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/1/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_PSMQ02/file/async-create-delete/1/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/1/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/1/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/async-create-delete/1/.dirs/runtime 1283s ok 36 /file/async-create-delete/1 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/async-create-delete/10/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/10/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_PSMQ02/file/async-create-delete/10/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/10/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_PSMQ02/file/async-create-delete/10/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/10/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/10/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/async-create-delete/10/.dirs/runtime 1283s ok 37 /file/async-create-delete/10 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/async-create-delete/25/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/25/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_PSMQ02/file/async-create-delete/25/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/25/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_PSMQ02/file/async-create-delete/25/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/25/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/25/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/async-create-delete/25/.dirs/runtime 1283s ok 38 /file/async-create-delete/25 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/async-create-delete/4096/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/4096/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_PSMQ02/file/async-create-delete/4096/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/4096/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_PSMQ02/file/async-create-delete/4096/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/4096/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/async-create-delete/4096/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/async-create-delete/4096/.dirs/runtime 1283s ok 39 /file/async-create-delete/4096 1283s # End of async-create-delete tests 1283s # Start of replace-symlink tests 1283s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/replace-symlink/using-etag/.dirs/home 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/replace-symlink/using-etag/.dirs/cache 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_PSMQ02/file/replace-symlink/using-etag/.dirs/system-config2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/replace-symlink/using-etag/.dirs/config 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_PSMQ02/file/replace-symlink/using-etag/.dirs/system-data2 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/replace-symlink/using-etag/.dirs/data 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/replace-symlink/using-etag/.dirs/state 1283s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/replace-symlink/using-etag/.dirs/runtime 1283s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1283s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1283s # Using temporary directory /tmp/test_file_PSMQ02/g_file_replace_symlink_using_etag_R5V4Z2 1285s ok 40 /file/replace-symlink/using-etag 1285s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1285s # End of replace-symlink tests 1285s # Start of replace tests 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/replace/write-only/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/replace/write-only/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/replace/write-only/.dirs/system-config1:/tmp/test_file_PSMQ02/file/replace/write-only/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/replace/write-only/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/replace/write-only/.dirs/system-data1:/tmp/test_file_PSMQ02/file/replace/write-only/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/replace/write-only/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/replace/write-only/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/replace/write-only/.dirs/runtime 1285s # /file/replace/write-only summary: Test various situations for g_file_replace() 1285s # Current umask: 2 1285s # Test 0, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_VLS4Z2 1285s # Test 1, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_G6S4Z2 1285s # Test 2, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_OZQ4Z2 1285s # Test 3, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_CIP4Z2 1285s # Test 4, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_LAP4Z2 1285s # Test 5, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_W0P4Z2 1285s # Test 6, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_HJQ4Z2 1285s # Test 7, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_DFM4Z2 1285s # Test 8, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_B9L4Z2 1285s # Test 9, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_NRM4Z2 1285s # Test 10, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_4GP6Z2 1285s # Test 11, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_HWN6Z2 1285s # Test 12, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_LQN6Z2 1285s # Test 13, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_9AO6Z2 1285s # Test 14, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_0OM6Z2 1285s # Test 15, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_IDK6Z2 1285s # Test 16, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_YPI6Z2 1285s # Test 17, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_TLG6Z2 1285s # Test 18, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_VLF6Z2 1285s # Test 19, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_I0D6Z2 1285s # Test 20, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_Y706Z2 1285s # Test 21, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_0F26Z2 1285s # Test 22, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_XC06Z2 1285s # Test 23, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_JW06Z2 1285s # Test 24, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_8SY6Z2 1285s # Test 25, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_E7W6Z2 1285s # Test 26, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_NTX6Z2 1285s # Test 27, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_PLX6Z2 1285s # Test 28, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_C1V6Z2 1285s # Test 29, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_AZR6Z2 1285s # Test 30, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_E8R6Z2 1285s # Test 31, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_0CS6Z2 1285s # Test 32, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_ERQ6Z2 1285s # Test 33, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_TKR6Z2 1285s # Test 34, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_CER6Z2 1285s # Test 35, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_SIZ5Z2 1285s # Test 36, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_MH05Z2 1285s # Test 37, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_5CW5Z2 1285s # Test 38, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_NBX5Z2 1285s # Test 39, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_BMV5Z2 1285s # Test 40, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_CFU5Z2 1285s # Test 41, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_1OR5Z2 1285s # Test 42, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_FTP5Z2 1285s # Test 43, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_AGO5Z2 1285s # Test 44, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_QZB6Z2 1285s # Test 45, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_6HC6Z2 1285s # Test 46, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_7VA6Z2 1285s # Test 47, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_WPA6Z2 1285s # Test 48, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_UD95Z2 1285s # We do not have CAP_DAC_OVERRIDE or equivalent 1285s ok 41 /file/replace/write-only 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/replace/read-write/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/replace/read-write/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/replace/read-write/.dirs/system-config1:/tmp/test_file_PSMQ02/file/replace/read-write/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/replace/read-write/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/replace/read-write/.dirs/system-data1:/tmp/test_file_PSMQ02/file/replace/read-write/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/replace/read-write/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/replace/read-write/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/replace/read-write/.dirs/runtime 1285s # /file/replace/read-write summary: Test various situations for g_file_replace() 1285s # Current umask: 2 1285s # Test 0, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_XQ95Z2 1285s # Test 1, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_EI95Z2 1285s # Test 2, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_4Y75Z2 1285s # Test 3, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_0N65Z2 1285s # Test 4, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_SG65Z2 1285s # Test 5, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_B265Z2 1285s # Test 6, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_JP45Z2 1285s # Test 7, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_8H25Z2 1285s # Test 8, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_K525Z2 1285s # Test 9, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_CV25Z2 1285s # Test 10, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_XD15Z2 1285s # Test 11, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_7GPD02 1285s # Test 12, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_21PD02 1285s # Test 13, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_UVPD02 1285s # Test 14, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_TJOD02 1285s # Test 15, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_T9OD02 1285s # Test 16, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_75MD02 1285s # Test 17, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_8RLD02 1285s # Test 18, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_BJJD02 1285s # Test 19, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_Z3HD02 1285s # Test 20, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_Q4FD02 1285s # Test 21, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_IVGD02 1285s # Test 22, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_52ED02 1285s # Test 23, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_DTED02 1285s # Test 24, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_WE2D02 1285s # Test 25, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_GL0D02 1285s # Test 26, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_N50D02 1285s # Test 27, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_OX0D02 1285s # Test 28, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_2IZD02 1285s # Test 29, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_6FXD02 1285s # Test 30, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_N2XD02 1285s # Test 31, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_HSXD02 1285s # Test 32, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_NLYD02 1285s # Test 33, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_0WWD02 1285s # Test 34, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_GCUD02 1285s # Test 35, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_SIUD02 1285s # Test 36, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_BPVD02 1285s # Test 37, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_JDTD02 1285s # Test 38, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_QJRD02 1285s # Test 39, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_OQ0C02 1285s # Test 40, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_JRYC02 1285s # Test 41, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_BHZC02 1285s # Test 42, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_CGXC02 1285s # Test 43, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_THVC02 1285s # Test 44, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_T0TC02 1285s # Test 45, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_64TC02 1285s # Test 46, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_A0UC02 1285s # Test 47, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_H4UC02 1285s # Test 48, using temporary directory /tmp/test_file_PSMQ02/g_file_replace_W2SC02 1285s # We do not have CAP_DAC_OVERRIDE or equivalent 1285s ok 42 /file/replace/read-write 1285s # End of replace tests 1285s # Start of copy tests 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/copy/progress/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/copy/progress/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/copy/progress/.dirs/system-config1:/tmp/test_file_PSMQ02/file/copy/progress/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/copy/progress/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/copy/progress/.dirs/system-data1:/tmp/test_file_PSMQ02/file/copy/progress/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/copy/progress/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/copy/progress/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/copy/progress/.dirs/runtime 1285s ok 43 /file/copy/progress 1285s # End of copy tests 1285s # Start of writev tests 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/writev/no-bytes-written/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/writev/no-bytes-written/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_PSMQ02/file/writev/no-bytes-written/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/writev/no-bytes-written/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_PSMQ02/file/writev/no-bytes-written/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/writev/no-bytes-written/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/writev/no-bytes-written/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/writev/no-bytes-written/.dirs/runtime 1285s ok 44 /file/writev/no-bytes-written 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/writev/no-vectors/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/writev/no-vectors/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_PSMQ02/file/writev/no-vectors/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/writev/no-vectors/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_PSMQ02/file/writev/no-vectors/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/writev/no-vectors/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/writev/no-vectors/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/writev/no-vectors/.dirs/runtime 1285s ok 45 /file/writev/no-vectors 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/writev/empty-vectors/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/writev/empty-vectors/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_PSMQ02/file/writev/empty-vectors/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/writev/empty-vectors/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_PSMQ02/file/writev/empty-vectors/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/writev/empty-vectors/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/writev/empty-vectors/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/writev/empty-vectors/.dirs/runtime 1285s ok 46 /file/writev/empty-vectors 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/writev/too-big-vectors/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/writev/too-big-vectors/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_PSMQ02/file/writev/too-big-vectors/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/writev/too-big-vectors/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_PSMQ02/file/writev/too-big-vectors/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/writev/too-big-vectors/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/writev/too-big-vectors/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/writev/too-big-vectors/.dirs/runtime 1285s ok 47 /file/writev/too-big-vectors 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/writev/async/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/writev/async/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/writev/async/.dirs/system-config1:/tmp/test_file_PSMQ02/file/writev/async/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/writev/async/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/writev/async/.dirs/system-data1:/tmp/test_file_PSMQ02/file/writev/async/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/writev/async/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/writev/async/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/writev/async/.dirs/runtime 1285s ok 48 /file/writev/async 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/writev/async_all/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/writev/async_all/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/writev/async_all/.dirs/system-config1:/tmp/test_file_PSMQ02/file/writev/async_all/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/writev/async_all/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/writev/async_all/.dirs/system-data1:/tmp/test_file_PSMQ02/file/writev/async_all/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/writev/async_all/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/writev/async_all/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/writev/async_all/.dirs/runtime 1285s ok 49 /file/writev/async_all 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/writev/async_all-empty-vectors/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-empty-vectors/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_PSMQ02/file/writev/async_all-empty-vectors/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-empty-vectors/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_PSMQ02/file/writev/async_all-empty-vectors/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-empty-vectors/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-empty-vectors/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/writev/async_all-empty-vectors/.dirs/runtime 1285s ok 50 /file/writev/async_all-empty-vectors 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/writev/async_all-no-vectors/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-no-vectors/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_PSMQ02/file/writev/async_all-no-vectors/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-no-vectors/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_PSMQ02/file/writev/async_all-no-vectors/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-no-vectors/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-no-vectors/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/writev/async_all-no-vectors/.dirs/runtime 1285s ok 51 /file/writev/async_all-no-vectors 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/writev/async_all-to-big-vectors/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-to-big-vectors/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_PSMQ02/file/writev/async_all-to-big-vectors/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-to-big-vectors/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_PSMQ02/file/writev/async_all-to-big-vectors/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-to-big-vectors/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-to-big-vectors/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/writev/async_all-to-big-vectors/.dirs/runtime 1285s ok 52 /file/writev/async_all-to-big-vectors 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/writev/async_all-cancellation/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-cancellation/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_PSMQ02/file/writev/async_all-cancellation/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-cancellation/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_PSMQ02/file/writev/async_all-cancellation/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-cancellation/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/writev/async_all-cancellation/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/writev/async_all-cancellation/.dirs/runtime 1285s ok 53 /file/writev/async_all-cancellation 1285s # End of writev tests 1285s # Start of from-uri tests 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/from-uri/ignores-query-string/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/from-uri/ignores-query-string/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_PSMQ02/file/from-uri/ignores-query-string/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/from-uri/ignores-query-string/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_PSMQ02/file/from-uri/ignores-query-string/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/from-uri/ignores-query-string/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/from-uri/ignores-query-string/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/from-uri/ignores-query-string/.dirs/runtime 1285s ok 54 /file/from-uri/ignores-query-string 1285s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_PSMQ02/file/from-uri/ignores-fragment/.dirs/home 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_PSMQ02/file/from-uri/ignores-fragment/.dirs/cache 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_PSMQ02/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_PSMQ02/file/from-uri/ignores-fragment/.dirs/system-config2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_PSMQ02/file/from-uri/ignores-fragment/.dirs/config 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_PSMQ02/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_PSMQ02/file/from-uri/ignores-fragment/.dirs/system-data2 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_PSMQ02/file/from-uri/ignores-fragment/.dirs/data 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_PSMQ02/file/from-uri/ignores-fragment/.dirs/state 1285s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_PSMQ02/file/from-uri/ignores-fragment/.dirs/runtime 1285s ok 55 /file/from-uri/ignores-fragment 1285s # End of from-uri tests 1285s # End of file tests 1285s ok - glib/file.test 1285s # Running test: glib/unix-streams.test 1285s TAP version 14 1285s # random seed: R02S306bcd8e4174052c7d249cb6931c063b 1285s 1..9 1285s # Start of unix-streams tests 1285s ok 1 /unix-streams/basic 1286s ok 2 /unix-streams/pipe-io-test 1286s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1286s ok 3 /unix-streams/nonblocking-io-test 1286s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1286s ok 4 /unix-streams/read_write 1286s ok 5 /unix-streams/read_writev 1286s ok 6 /unix-streams/write-wouldblock 1286s ok 7 /unix-streams/writev-wouldblock 1286s ok 8 /unix-streams/write-async-wouldblock 1286s ok 9 /unix-streams/writev-async-wouldblock 1286s # End of unix-streams tests 1286s ok - glib/unix-streams.test 1286s # Running test: glib/cmph-bdz.test 1286s TAP version 14 1286s # random seed: R02Se128a103997c0edcd21b7ede63c22c87 1286s 1..2 1286s # Start of cmph-bdz tests 1286s ok 1 /cmph-bdz/search 1286s ok 2 /cmph-bdz/search-packed 1286s # End of cmph-bdz tests 1286s ok - glib/cmph-bdz.test 1286s # Running test: glib/environment.test 1286s TAP version 14 1286s # random seed: R02Sd8ef1871d49ed966ed274557004a6e88 1286s 1..6 1286s # Start of environ tests 1286s # /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. 1286s ok 1 /environ/listenv 1286s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1286s ok 2 /environ/getenv 1286s ok 3 /environ/setenv 1286s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1286s ok 4 /environ/array 1286s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1286s ok 5 /environ/null 1286s # /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. 1286s ok 6 /environ/case 1286s # End of environ tests 1286s ok - glib/environment.test 1286s # Running test: glib/reference.test 1286s TAP version 14 1286s # random seed: R02Sc9c20d428783e88c139ef0ee4d42b2b2 1286s 1..29 1286s # Start of type tests 1286s ok 1 /type/fundamentals 1286s ok 2 /type/qdata 1286s ok 3 /type/query 1286s ok 4 /type/class-private 1286s # End of type tests 1286s # Start of object tests 1286s ok 5 /object/clear 1286s ok 6 /object/clear-function 1286s ok 7 /object/set 1286s ok 8 /object/set-function 1286s ok 9 /object/value 1286s ok 10 /object/initially-unowned 1286s ok 11 /object/weak-pointer 1286s ok 12 /object/weak-ref 1286s ok 13 /object/toggle-ref 1286s ok 14 /object/qdata 1286s ok 15 /object/qdata2 1286s # Start of set tests 1286s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1286s ok 16 /object/set/derived-type 1286s # End of set tests 1286s # Start of weak-pointer tests 1286s ok 17 /object/weak-pointer/clear 1286s ok 18 /object/weak-pointer/clear-function 1286s ok 19 /object/weak-pointer/set 1286s ok 20 /object/weak-pointer/set-function 1286s # End of weak-pointer tests 1286s # Start of weak-ref tests 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1286s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1286s ok 21 /object/weak-ref/on-dispose 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1286s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1286s ok 22 /object/weak-ref/on-run-dispose 1286s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1286s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1286s ok 23 /object/weak-ref/on-toggle-notify 1286s ok 24 /object/weak-ref/in-toggle-notify 1286s ok 25 /object/weak-ref/many 1286s # Start of concurrent tests 1286s ok 26 /object/weak-ref/concurrent/0 1286s ok 27 /object/weak-ref/concurrent/1 1286s # End of concurrent tests 1286s # End of weak-ref tests 1286s # Start of toggle-ref tests 1286s ok 28 /object/toggle-ref/ref-on-dispose 1286s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1286s # End of toggle-ref tests 1286s # End of object tests 1286s ok - glib/reference.test 1286s # Running test: glib/onceinit.test 1286s TAP version 14 1286s # random seed: R02S03429f39724cf2adcbf32a4924fa0f40 1286s 1..1 1286s # Start of thread tests 1286s ok 1 /thread/onceinit 1286s # End of thread tests 1286s ok - glib/onceinit.test 1286s # Running test: glib/atomic-c-11.test 1286s TAP version 14 1286s # random seed: R02S2d954d259d73a91c78b2c4a7f76a973e 1286s 1..2 1286s # Start of atomic tests 1286s ok 1 /atomic/types 1287s # Executing: glib/atomic-c-11.test 1287s ok 2 /atomic/threaded 1287s # End of atomic tests 1287s ok - glib/atomic-c-11.test 1287s # Running test: glib/dynamictype.test 1287s TAP version 14 1287s # random seed: R02Sc1b6c173029d865f5736136abe5e86bf 1287s 1..2 1287s # Start of gobject tests 1287s ok 1 /gobject/dynamic-type 1287s # Start of dynamic-type tests 1287s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1287s ok 2 /gobject/dynamic-type/query 1287s # End of dynamic-type tests 1287s # End of gobject tests 1287s ok - glib/dynamictype.test 1287s # Running test: glib/bytes.test 1287s TAP version 14 1287s # random seed: R02S0e38460068cfee22eb7e0f6153d734ad 1287s 1..21 1287s # Start of bytes tests 1287s ok 1 /bytes/new 1287s ok 2 /bytes/new-take 1287s ok 3 /bytes/new-static 1287s ok 4 /bytes/new-with-free-func 1287s ok 5 /bytes/new-from-bytes 1287s ok 6 /bytes/new-from-bytes-slice 1287s ok 7 /bytes/new-from-bytes-shared-ref 1287s ok 8 /bytes/hash 1287s ok 9 /bytes/equal 1287s ok 10 /bytes/compare 1287s ok 11 /bytes/null 1287s ok 12 /bytes/get-region 1287s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1287s ok 13 /bytes/unref-null 1287s # Start of to-data tests 1287s ok 14 /bytes/to-data/transferred 1287s ok 15 /bytes/to-data/two-refs 1287s ok 16 /bytes/to-data/non-malloc 1287s ok 17 /bytes/to-data/different-free-func 1287s # End of to-data tests 1287s # Start of to-array tests 1287s ok 18 /bytes/to-array/transferred 1287s ok 19 /bytes/to-array/two-refs 1287s ok 20 /bytes/to-array/non-malloc 1287s # Start of transferred tests 1287s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1287s ok 21 /bytes/to-array/transferred/oversize 1287s # End of transferred tests 1287s # End of to-array tests 1287s # End of bytes tests 1287s ok - glib/bytes.test 1287s # Running test: glib/filter-streams.test 1287s TAP version 14 1287s # random seed: R02S2838d538825bbaf7bf1494c9dcf3c8cd 1287s 1..4 1287s # Start of filter-stream tests 1287s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1287s ok 1 /filter-stream/input 1287s ok 2 /filter-stream/output 1287s ok 3 /filter-stream/async-input 1287s ok 4 /filter-stream/async-output 1287s # End of filter-stream tests 1287s ok - glib/filter-streams.test 1287s # Running test: glib/autoptr-gio.test 1287s TAP version 14 1287s # random seed: R02S189417b32ddf402f257a8884be54224b 1287s 1..1 1287s # Start of autoptr tests 1287s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1287s ok 1 /autoptr/autoptr 1287s # End of autoptr tests 1287s ok - glib/autoptr-gio.test 1287s # Running test: glib/fileattributematcher.test 1287s TAP version 14 1287s # random seed: R02S6f9992fb4426bdca2270c6d3a7ec75d1 1287s 1..3 1287s # Start of fileattributematcher tests 1287s ok 1 /fileattributematcher/exact 1287s ok 2 /fileattributematcher/equality 1287s ok 3 /fileattributematcher/subtract 1287s # End of fileattributematcher tests 1287s ok - glib/fileattributematcher.test 1287s # Running test: glib/gdbus-threading.test 1287s TAP version 14 1287s # random seed: R02S9b4893c8f9af9df59866d5aa846f1d1b 1287s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1287s ok - glib/gdbus-threading.test 1287s # Running test: glib/socket.test 1287s TAP version 14 1287s # random seed: R02S20e812f18d82c1064e6c82852261114c 1287s 1..28 1287s # Start of socket tests 1288s ok 1 /socket/ipv4_sync 1288s # slow test /socket/ipv4_sync executed in 1.00 secs 1289s ok 2 /socket/ipv4_async 1289s # slow test /socket/ipv4_async executed in 1.00 secs 1289s ok 3 /socket/ipv6_sync 1289s ok 4 /socket/ipv6_async 1289s ok 5 /socket/ipv6_v4mapped 1290s ok 6 /socket/close_graceful 1290s # slow test /socket/close_graceful executed in 1.00 secs 1290s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1290s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1290s ok 8 /socket/fd_reuse 1290s ok 9 /socket/address 1290s ok 10 /socket/unix-from-fd 1290s ok 11 /socket/unix-connection 1290s ok 12 /socket/unix-connection-ancillary-data 1290s ok 13 /socket/source-postmortem 1290s ok 14 /socket/read_write 1290s ok 15 /socket/read_writev 1290s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1290s ok 16 /socket/receive_bytes 1290s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1290s ok 17 /socket/receive_bytes_from 1290s # Start of ipv4_sync tests 1290s ok 18 /socket/ipv4_sync/datagram 1290s # Start of datagram tests 1291s ok 19 /socket/ipv4_sync/datagram/timeouts 1291s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1291s # End of datagram tests 1291s # End of ipv4_sync tests 1291s # Start of ipv6_sync tests 1291s ok 20 /socket/ipv6_sync/datagram 1291s # Start of datagram tests 1292s # Executing: glib/socket.test 1292s ok 21 /socket/ipv6_sync/datagram/timeouts 1292s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1292s # End of datagram tests 1292s # End of ipv6_sync tests 1292s # Start of reuse tests 1292s ok 22 /socket/reuse/tcp 1292s ok 23 /socket/reuse/udp 1292s # End of reuse tests 1292s # Start of get_available tests 1292s ok 24 /socket/get_available/datagram 1292s ok 25 /socket/get_available/stream 1292s # End of get_available tests 1292s # Start of credentials tests 1292s # Supported on this OS: GCredentials:linux-ucred:pid=0 1292s ok 26 /socket/credentials/tcp_client 1292s # Supported on this OS: GCredentials:linux-ucred:pid=0 1292s ok 27 /socket/credentials/tcp_server 1292s # Supported on this OS: GCredentials:linux-ucred:pid=14919,uid=1000,gid=1000 1292s ok 28 /socket/credentials/unix_socketpair 1292s # End of credentials tests 1292s # End of socket tests 1292s ok - glib/socket.test 1292s # Running test: glib/portal-support-flatpak-network-only.test 1292s TAP version 14 1292s # random seed: R02Sf7a33c0a97556b8bfe584c69850fc89d 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-network-only_L0RP02/portal-support/flatpak/network/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_L0RP02/portal-support/flatpak/network/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_L0RP02/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_L0RP02/portal-support/flatpak/network/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_L0RP02/portal-support/flatpak/network/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_L0RP02/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_L0RP02/portal-support/flatpak/network/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_L0RP02/portal-support/flatpak/network/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_L0RP02/portal-support/flatpak/network/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_L0RP02/portal-support/flatpak/network/.dirs/runtime 1292s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_L0RP02/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1292s ok 1 /portal-support/flatpak/network 1292s # End of flatpak tests 1292s # End of portal-support tests 1292s ok - glib/portal-support-flatpak-network-only.test 1292s # Running test: glib/tls-bindings.test 1292s TAP version 14 1292s # random seed: R02S8222dfb466a78aa583b3d68d6a5bdbe2 1292s 1..2 1292s # Start of tls-connection tests 1292s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1292s ok 1 /tls-connection/get-tls-channel-binding 1292s ok 2 /tls-connection/get-dtls-channel-binding 1292s # End of tls-connection tests 1292s ok - glib/tls-bindings.test 1292s # Running test: glib/spawn-path-search.test 1292s TAP version 14 1292s # random seed: R02Sd2a3e5e3ea9a8fa90147c2a65fcb9ec7 1292s 1..7 1292s # Start of spawn tests 1292s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1292s # 1292s # this is spawn-test-helper from glib/tests 1292s # 1292s ok 1 /spawn/do-not-search 1292s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1292s # 1292s # this is spawn-test-helper from path-test-subdir 1292s # 1292s ok 2 /spawn/search-path 1292s # /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. 1292s # 1292s # this is spawn-test-helper from path-test-subdir 1292s # 1292s ok 3 /spawn/search-path-from-envp 1292s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1292s # 1292s # this is spawn-test-helper from path-test-subdir 1292s # 1292s ok 4 /spawn/search-path-ambiguous 1292s # 1292s # this is spawn-test-helper from path-test-subdir 1292s # 1292s ok 5 /spawn/search-path-heap-allocation 1292s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1292s # 1292s # this is spawn-test-helper from glib/tests 1292s # 1292s ok 6 /spawn/search-path-fallback-in-environ 1292s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1292s # 1292s # this is spawn-test-helper from glib/tests 1292s # 1292s ok 7 /spawn/search-path-fallback-in-envp 1292s # End of spawn tests 1292s ok - glib/spawn-path-search.test 1292s # Running test: glib/rand.test 1292s TAP version 14 1292s # random seed: R02Scd6b567544ac4bb303ffdfb892e9ef65 1292s 1..2 1292s # Start of rand tests 1292s ok 1 /rand/test-rand 1292s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1292s ok 2 /rand/double-range 1292s # End of rand tests 1292s ok - glib/rand.test 1292s # Running test: glib/object.test 1292s TAP version 14 1292s # random seed: R02S4fbdc59a5bca0e8dc324e8471213e5c9 1292s 1..2 1292s # Start of object tests 1292s # Start of constructor tests 1292s ok 1 /object/constructor/singleton 1292s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1292s # End of constructor tests 1292s # End of object tests 1292s ok - glib/object.test 1292s # Running test: glib/gdbus-connection.test 1292s TAP version 14 1292s # random seed: R02Sf536b42f109178455d94b395c8bde3ca 1292s 1..9 1292s # Start of gdbus tests 1292s # Start of connection tests 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/bus-failure/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/bus-failure/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/bus-failure/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/bus-failure/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/bus-failure/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/bus-failure/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/bus-failure/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/bus-failure/.dirs/runtime 1292s ok 1 /gdbus/connection/bus-failure 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/basic/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/basic/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/basic/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/basic/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/basic/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/basic/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/basic/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/basic/.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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 /gdbus/connection/basic 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/life-cycle/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/life-cycle/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/life-cycle/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/life-cycle/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/life-cycle/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/life-cycle/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/life-cycle/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/life-cycle/.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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 3 /gdbus/connection/life-cycle 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/send/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/send/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/send/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/send/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/send/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/send/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/send/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/send/.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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 4 /gdbus/connection/send 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signals/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signals/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/signals/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signals/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/signals/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signals/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signals/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signals/.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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 5 /gdbus/connection/signals 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signal-match-rules/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signal-match-rules/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/signal-match-rules/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signal-match-rules/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/signal-match-rules/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signal-match-rules/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signal-match-rules/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/signal-match-rules/.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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 6 /gdbus/connection/signal-match-rules 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/filter/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/filter/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/filter/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/filter/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/filter/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/filter/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/filter/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/filter/.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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 7 /gdbus/connection/filter 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/serials/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/serials/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/serials/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/serials/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/serials/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/serials/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/serials/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/serials/.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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 8 /gdbus/connection/serials 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/cancel/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/cancel/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/cancel/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/cancel/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_MLSL02/gdbus/connection/cancel/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/cancel/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/cancel/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MLSL02/gdbus/connection/cancel/.dirs/runtime 1292s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 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-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 9 /gdbus/connection/cancel 1292s # End of connection tests 1292s # End of gdbus tests 1292s ok - glib/gdbus-connection.test 1292s # Running test: glib/unix-mounts.test 1292s TAP version 14 1292s # random seed: R02S7894ba00323463f258037967f0f36233 1292s 1..4 1292s # Start of unix-mounts tests 1292s ok 1 /unix-mounts/is-system-fs-type 1292s ok 2 /unix-mounts/is-system-device-path 1292s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1292s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1292s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1292s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1292s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1292s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1292s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1292s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1292s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1292s ok 3 /unix-mounts/get-mount-points 1292s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1292s ok 4 /unix-mounts/get-mount-entries 1292s # End of unix-mounts tests 1292s ok - glib/unix-mounts.test 1292s # Running test: glib/string.test 1292s TAP version 14 1292s # random seed: R02S58bd83f666205b5e669a1d7fd5bf0013 1292s 1..23 1292s # Start of string tests 1292s ok 1 /string/test-string-chunks 1292s ok 2 /string/test-string-chunk-insert 1292s ok 3 /string/test-string-new 1292s ok 4 /string/test-string-printf 1292s ok 5 /string/test-string-assign 1292s ok 6 /string/test-string-append-c 1292s ok 7 /string/test-string-append 1292s ok 8 /string/test-string-append-vprintf 1292s ok 9 /string/test-string-prepend-c 1292s ok 10 /string/test-string-prepend 1292s ok 11 /string/test-string-insert 1292s ok 12 /string/test-string-insert-unichar 1292s ok 13 /string/test-string-equal 1292s ok 14 /string/test-string-truncate 1292s ok 15 /string/test-string-overwrite 1292s ok 16 /string/test-string-nul-handling 1292s ok 17 /string/test-string-up-down 1292s ok 18 /string/test-string-set-size 1292s ok 19 /string/test-string-to-bytes 1292s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1292s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1292s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1292s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1292s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1292s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1292s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1292s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1292s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1292s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1292s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1292s # -> 4 replacements, "fd fr fals" 1292s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1292s # -> 3 replacements, "aaaaaaaaa" 1292s # 7: Replacing "a" with "" (limit 0) in "aaa" 1292s # -> 3 replacements, "" 1292s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1292s # -> 1 replacements, "bba" 1292s # 9: Replacing "" with "bar" (limit 0) in "foo" 1292s # -> 4 replacements, "barfbarobarobar" 1292s # 10: Replacing "" with "x" (limit 0) in "" 1292s # -> 1 replacements, "x" 1292s # 11: Replacing "" with "" (limit 0) in "" 1292s # -> 1 replacements, "" 1292s ok 20 /string/test-string-replace 1292s ok 21 /string/test-string-steal 1292s ok 22 /string/test-string-new-take 1292s # Start of test-string-new-take tests 1292s ok 23 /string/test-string-new-take/null 1292s # End of test-string-new-take tests 1292s # End of string tests 1292s ok - glib/string.test 1292s # Running test: glib/union-info.test 1292s TAP version 14 1292s # random seed: R02S44c629c1df03305a2c55d6182932bf4a 1292s 1..2 1292s # Start of union-info tests 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_FM2M02/union-info/basic/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_FM2M02/union-info/basic/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_FM2M02/union-info/basic/.dirs/system-config1:/tmp/test_union-info_FM2M02/union-info/basic/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_FM2M02/union-info/basic/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_FM2M02/union-info/basic/.dirs/system-data1:/tmp/test_union-info_FM2M02/union-info/basic/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_FM2M02/union-info/basic/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_FM2M02/union-info/basic/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_FM2M02/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_FM2M02/union-info/methods/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_FM2M02/union-info/methods/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_FM2M02/union-info/methods/.dirs/system-config1:/tmp/test_union-info_FM2M02/union-info/methods/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_FM2M02/union-info/methods/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_FM2M02/union-info/methods/.dirs/system-data1:/tmp/test_union-info_FM2M02/union-info/methods/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_FM2M02/union-info/methods/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_FM2M02/union-info/methods/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_FM2M02/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/vfs.test 1292s TAP version 14 1292s # random seed: R02Sb63af223688bd422a87e69b68a2934b0 1292s 1..3 1292s # Start of gvfs tests 1292s ok 1 /gvfs/local 1292s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1292s ok 2 /gvfs/register-scheme 1292s # Start of resource tests 1292s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1292s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1292s ok 3 /gvfs/resource/malformed-escaping 1292s # End of resource tests 1292s # End of gvfs tests 1292s ok - glib/vfs.test 1292s # Running test: glib/option-argv0.test 1292s TAP version 14 1292s # random seed: R02S51a23ee4ac4c8ed083d1d21bdfcca6b2 1292s 1..1 1292s # Start of option tests 1292s ok 1 /option/argv0 1292s # End of option tests 1292s ok - glib/option-argv0.test 1292s # Running test: glib/portal-support-flatpak-gsettings-only.test 1292s TAP version 14 1292s # random seed: R02Se692b24833508ff61cfd5c5732da6251 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_AWY7Z2/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_AWY7Z2/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_AWY7Z2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_AWY7Z2/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_AWY7Z2/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_AWY7Z2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_AWY7Z2/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_AWY7Z2/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_AWY7Z2/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_AWY7Z2/portal-support/flatpak/gsettings/.dirs/runtime 1292s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_AWY7Z2/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/gdbus-bz627724.test 1292s TAP version 14 1292s # random seed: R02S63b99749f630ca0bd30c923b9f94db4f 1292s 1..1 1292s # Start of gdbus tests 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_NGW7Z2/gdbus/bz627724/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_NGW7Z2/gdbus/bz627724/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_NGW7Z2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_NGW7Z2/gdbus/bz627724/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_NGW7Z2/gdbus/bz627724/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_NGW7Z2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_NGW7Z2/gdbus/bz627724/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_NGW7Z2/gdbus/bz627724/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_NGW7Z2/gdbus/bz627724/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_NGW7Z2/gdbus/bz627724/.dirs/runtime 1292s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 /gdbus/bz627724 1292s # End of gdbus tests 1292s ok - glib/gdbus-bz627724.test 1292s # Running test: glib/mutex.test 1292s TAP version 14 1292s # random seed: R02S108e6f928efcbfafd2deb80cc15bca58 1292s 1..17 1292s # Start of thread tests 1292s ok 1 /thread/mutex1 1292s ok 2 /thread/mutex2 1292s ok 3 /thread/mutex3 1292s ok 4 /thread/mutex4 1297s # Executing: glib/mutex.test 1298s ok 5 /thread/mutex5 1298s # slow test /thread/mutex5 executed in 6.09 secs 1298s # Start of mutex tests 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1298s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1298s ok 6 /thread/mutex/errno 1298s # Start of perf tests 1298s # max perf: inf mips 1298s ok 7 /thread/mutex/perf/uncontended 1298s # Start of contended tests 1298s # max perf: inf mips 1298s ok 8 /thread/mutex/perf/contended/1 1298s # max perf: inf mips 1298s ok 9 /thread/mutex/perf/contended/2 1298s # max perf: 2.000000 mips 1298s ok 10 /thread/mutex/perf/contended/3 1298s # max perf: 2.500000 mips 1298s ok 11 /thread/mutex/perf/contended/4 1298s # max perf: 3.000000 mips 1298s ok 12 /thread/mutex/perf/contended/5 1298s # max perf: 7.000000 mips 1298s ok 13 /thread/mutex/perf/contended/6 1298s # max perf: 4.000000 mips 1298s ok 14 /thread/mutex/perf/contended/7 1298s # max perf: 2.250000 mips 1298s ok 15 /thread/mutex/perf/contended/8 1298s # max perf: 5.000000 mips 1298s ok 16 /thread/mutex/perf/contended/9 1298s # max perf: 5.500000 mips 1298s ok 17 /thread/mutex/perf/contended/10 1298s # End of contended tests 1298s # End of perf tests 1298s # End of mutex tests 1298s # End of thread tests 1298s ok - glib/mutex.test 1298s # Running test: glib/cxx-98.test 1299s TAP version 14 1299s # random seed: R02S662476bb0e3453cd5d7974ab19168e5d 1299s 1..2 1299s # Start of gtask tests 1299s # 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. 1299s ok 1 /gtask/name 1299s # Start of name tests 1299s # 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. 1299s ok 2 /gtask/name/macro-wrapper 1299s # End of name tests 1299s # End of gtask tests 1299s ok - glib/cxx-98.test 1299s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=149.5s; system=96.7s; maxrss=149984 1299s autopkgtest [20:10:16]: test installed-tests: -----------------------] 1300s autopkgtest [20:10:17]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1300s installed-tests PASS 1300s autopkgtest [20:10:17]: test closure-refcount: preparing testbed 1300s Reading package lists... 1301s Building dependency tree... 1301s Reading state information... 1301s Starting pkgProblemResolver with broken count: 0 1301s Starting 2 pkgProblemResolver with broken count: 0 1301s Done 1301s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1302s autopkgtest [20:10:19]: test closure-refcount: [----------------------- 1302s Running test: glib/closure-refcount.test 1302s TAP version 14 1302s # random seed: R02S55f091a4c3adb51fd68c2a0c67aec4fd 1302s 1..1 1302s # Start of closure tests 1302s # Init 0x5ffe61f420a0 1302s # Yielding from main thread 1302s # Yielding from main thread 1302s # Yielding from thread2 1302s # Yielding from thread1 1302s # Yielding from main thread 1303s # Yielding from thread2 1303s # Yielding from main thread 1303s # Yielding from thread1 1303s # Yielding from main thread 1303s # Yielding from thread2 1303s # Yielding from thread1 1303s # Yielding from main thread 1303s # Yielding from thread1 1303s # Yielding from main thread 1303s # Yielding from thread2 1303s # Yielding from main thread 1303s # Yielding from main thread 1303s # Yielding from thread2 1303s # Yielding from main thread 1303s # Yielding from thread1 1303s # Yielding from thread2 1303s # Yielding from main thread 1303s # Yielding from main thread 1303s # Yielding from thread2 1303s # Yielding from thread1 1303s # Yielding from main thread 1304s # Yielding from main thread 1304s # Yielding from thread2 1304s # Yielding from main thread 1304s # Yielding from thread1 1304s # Yielding from main thread 1304s # Yielding from thread2 1304s # Yielding from main thread 1304s # Yielding from thread1 1304s # Yielding from main thread 1304s # Yielding from thread2 1304s # Yielding from thread1 1304s # Yielding from main thread 1304s # Yielding from thread2 1304s # Yielding from main thread 1304s # Yielding from thread1 1304s # Yielding from thread2 1304s # Yielding from main thread 1304s # Yielding from thread1 1304s # Yielding from thread2 1304s # Yielding from main thread 1305s # Yielding from thread2 1305s # Yielding from main thread 1305s # Yielding from main thread 1305s # Yielding from thread1 1305s # Yielding from thread2 1305s # Yielding from main thread 1305s # Yielding from main thread 1305s # Yielding from thread1 1305s # Yielding from thread2 1305s # Yielding from main thread 1305s # Yielding from thread1 1305s # Yielding from main thread 1305s # Yielding from thread2 1305s # Yielding from main thread 1305s # Yielding from thread1 1305s # Yielding from main thread 1305s # Yielding from thread2 1305s # Yielding from thread1 1305s # Yielding from main thread 1306s # Yielding from thread2 1306s # Yielding from main thread 1306s # Yielding from thread1 1306s # Yielding from main thread 1306s # Yielding from thread2 1306s # Yielding from main thread 1306s # Yielding from thread1 1306s # Yielding from thread2 1306s # Yielding from main thread 1306s # Yielding from thread1 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from thread1 1306s # Yielding from main thread 1306s # Yielding from thread2 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from thread2 1306s # Yielding from main thread 1306s # Yielding from thread1 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from thread2 1306s # Yielding from main thread 1306s # Yielding from thread1 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from thread1 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from thread2 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1306s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from thread1 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from thread2 1307s # Yielding from main thread 1307s # Yielding from thread1 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from thread1 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from thread2 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from thread1 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from thread2 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Yielding from main thread 1307s # Stopping 1307s # Stopped 1307s ok 1 /closure/refcount 1307s # slow test /closure/refcount executed in 4.75 secs 1307s # End of closure tests 1307s PASS: glib/closure-refcount.test 1307s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=9.5s; system=0.0s; maxrss=3912 1307s autopkgtest [20:10:24]: test closure-refcount: -----------------------] 1308s closure-refcount PASS 1308s autopkgtest [20:10:25]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1308s autopkgtest [20:10:25]: test debugcontroller: preparing testbed 1308s Reading package lists... 1309s Building dependency tree... 1309s Reading state information... 1309s Starting pkgProblemResolver with broken count: 0 1309s Starting 2 pkgProblemResolver with broken count: 0 1309s Done 1309s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1310s autopkgtest [20:10:27]: test debugcontroller: [----------------------- 1310s Running test: glib/debugcontroller.test 1310s TAP version 14 1310s # random seed: R02S3bdf4c99c3496a9a047310f1c1299fd9 1310s 1..3 1310s # Start of debug-controller tests 1310s # Start of dbus tests 1310s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1310s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1310s # GLib-GIO-DEBUG: Debug output enabled 1310s # GLib-GIO-DEBUG: Debug output disabled 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s ok 1 /debug-controller/dbus/basic 1310s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1310s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s ok 2 /debug-controller/dbus/duplicate 1310s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1310s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1310s # GLib-GIO-DEBUG: Debug output enabled 1310s # GLib-GIO-DEBUG: Debug output disabled 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1310s ok 3 /debug-controller/dbus/properties 1310s # End of dbus tests 1310s # End of debug-controller tests 1310s PASS: glib/debugcontroller.test 1310s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6384 1310s autopkgtest [20:10:27]: test debugcontroller: -----------------------] 1311s debugcontroller PASS 1311s autopkgtest [20:10:28]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1311s autopkgtest [20:10:28]: test gdbus-server-auth: preparing testbed 1311s Reading package lists... 1311s Building dependency tree... 1311s Reading state information... 1312s Starting pkgProblemResolver with broken count: 0 1312s Starting 2 pkgProblemResolver with broken count: 0 1312s Done 1312s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1313s autopkgtest [20:10:30]: test gdbus-server-auth: [----------------------- 1313s Running test: glib/gdbus-server-auth.test 1313s TAP version 14 1313s # random seed: R02Sa35a1ac4bbec75f2f03c40913ac0acbb 1313s 1..9 1313s # Start of gdbus tests 1313s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/.dirs/home 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/.dirs/cache 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/.dirs/system-config2 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/.dirs/config 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/.dirs/system-data2 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/.dirs/data 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/.dirs/state 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/.dirs/runtime 1313s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-SJ3M02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1313s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-SJ3M02/dbus-F3JhKym6 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15764 1313s ok 1 /gdbus/server-auth 1313s # Start of server-auth tests 1313s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/abstract/.dirs/home 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/abstract/.dirs/cache 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/abstract/.dirs/system-config2 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/abstract/.dirs/config 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/abstract/.dirs/system-data2 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/abstract/.dirs/data 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/abstract/.dirs/state 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/abstract/.dirs/runtime 1313s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-1K37Z2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1313s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-1K37Z2/dbus-wKiAXkEL 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15764 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1313s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15764 1313s ok 2 /gdbus/server-auth/abstract 1313s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/tcp/.dirs/home 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/tcp/.dirs/cache 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/tcp/.dirs/system-config2 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/tcp/.dirs/config 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/tcp/.dirs/system-data2 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/tcp/.dirs/data 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/tcp/.dirs/state 1313s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/tcp/.dirs/runtime 1313s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1313s # Connectable address: tcp:host=127.0.0.1,port=43977 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1313s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1313s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1313s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1313s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1313s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1313s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1314s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1314s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1314s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1314s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1314s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1314s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1314s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1314s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1314s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1314s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1314s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1314s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1314s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1314s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1314s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1314s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1314s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1314s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1314s ok 3 /gdbus/server-auth/tcp 1314s # slow test /gdbus/server-auth/tcp executed in 0.85 secs 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/.dirs/runtime 1314s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-BSUP02 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1314s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-BSUP02/dbus-uS4sk2UU 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15764 1314s ok 4 /gdbus/server-auth/anonymous 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/.dirs/runtime 1314s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-HU1L02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1314s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-HU1L02/dbus-ac2bVfNi 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1314s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15764 1314s ok 5 /gdbus/server-auth/external 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/.dirs/runtime 1314s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-JITL02 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1314s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-JITL02/dbus-1MmOEsBv 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15764 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1314s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15764 1314s ok 6 /gdbus/server-auth/sha1 1314s # Start of anonymous tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/tcp/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/tcp/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/tcp/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/tcp/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/tcp/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1314s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1314s # Connectable address: tcp:host=127.0.0.1,port=41287 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1314s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1314s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1314s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1314s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1314s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1315s ok 7 /gdbus/server-auth/anonymous/tcp 1315s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.83 secs 1315s # End of anonymous tests 1315s # Start of external tests 1315s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/require-same-user/.dirs/home 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/require-same-user/.dirs/cache 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/require-same-user/.dirs/config 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/require-same-user/.dirs/data 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/require-same-user/.dirs/state 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/external/require-same-user/.dirs/runtime 1315s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-4OUO02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1315s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CH6M02/gdbus-server-auth-4OUO02/dbus-FBR3sWGq 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15764 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1315s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15764,uid=1000,gid=1000 1315s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15764 1315s ok 8 /gdbus/server-auth/external/require-same-user 1315s # End of external tests 1315s # Start of sha1 tests 1315s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/tcp/.dirs/home 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/tcp/.dirs/cache 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/tcp/.dirs/config 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/tcp/.dirs/data 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/tcp/.dirs/state 1315s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CH6M02/gdbus/server-auth/sha1/tcp/.dirs/runtime 1315s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1315s # Connectable address: tcp:host=127.0.0.1,port=42143 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1315s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1315s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1315s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1315s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1315s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1316s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1316s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1316s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1316s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1316s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1316s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1316s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1316s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1316s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1316s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1316s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1316s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1316s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1316s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1316s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1316s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1316s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1316s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1316s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1316s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1316s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1316s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1316s ok 9 /gdbus/server-auth/sha1/tcp 1316s # slow test /gdbus/server-auth/sha1/tcp executed in 0.84 secs 1316s # End of sha1 tests 1316s # End of server-auth tests 1316s # End of gdbus tests 1316s PASS: glib/gdbus-server-auth.test 1316s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8848 1316s autopkgtest [20:10:33]: test gdbus-server-auth: -----------------------] 1316s gdbus-server-auth PASS 1316s autopkgtest [20:10:33]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1317s autopkgtest [20:10:34]: test gdbus-threading: preparing testbed 1317s Reading package lists... 1317s Building dependency tree... 1317s Reading state information... 1317s Starting pkgProblemResolver with broken count: 0 1317s Starting 2 pkgProblemResolver with broken count: 0 1317s Done 1318s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1318s autopkgtest [20:10:35]: test gdbus-threading: [----------------------- 1319s Running test: glib/gdbus-threading.test 1319s TAP version 14 1319s # random seed: R02S911d76437f29abce075538f045604a3b 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s 1..3 1319s # Start of gdbus tests 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/delivery-in-thread/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/delivery-in-thread/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_Q90J02/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_Q90J02/gdbus/delivery-in-thread/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/delivery-in-thread/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_Q90J02/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_Q90J02/gdbus/delivery-in-thread/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/delivery-in-thread/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/delivery-in-thread/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_Q90J02/gdbus/delivery-in-thread/.dirs/runtime 1319s ok 1 /gdbus/delivery-in-thread 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/method-calls-in-thread/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/method-calls-in-thread/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_Q90J02/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_Q90J02/gdbus/method-calls-in-thread/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/method-calls-in-thread/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_Q90J02/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_Q90J02/gdbus/method-calls-in-thread/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/method-calls-in-thread/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/method-calls-in-thread/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_Q90J02/gdbus/method-calls-in-thread/.dirs/runtime 1319s ok 2 /gdbus/method-calls-in-thread 1319s # slow test /gdbus/method-calls-in-thread executed in 0.82 secs 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/threaded-singleton/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/threaded-singleton/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_Q90J02/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_Q90J02/gdbus/threaded-singleton/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/threaded-singleton/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_Q90J02/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_Q90J02/gdbus/threaded-singleton/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/threaded-singleton/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_Q90J02/gdbus/threaded-singleton/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_Q90J02/gdbus/threaded-singleton/.dirs/runtime 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: refcount of 0x79102c0025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1320s # GLib-GIO-DEBUG: refcount of 0x79102c0025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1320s ok 3 /gdbus/threaded-singleton 1320s # slow test /gdbus/threaded-singleton executed in 0.67 secs 1320s # End of gdbus tests 1320s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1320s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1320s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1320s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1320s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1320s PASS: glib/gdbus-threading.test 1320s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.2s; maxrss=6524 1320s autopkgtest [20:10:37]: test gdbus-threading: -----------------------] 1321s gdbus-threading PASS 1321s autopkgtest [20:10:38]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1321s autopkgtest [20:10:38]: test gmenumodel: preparing testbed 1321s Reading package lists... 1322s Building dependency tree... 1322s Reading state information... 1322s Starting pkgProblemResolver with broken count: 0 1322s Starting 2 pkgProblemResolver with broken count: 0 1322s Done 1322s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1323s autopkgtest [20:10:40]: test gmenumodel: [----------------------- 1323s Running test: glib/gmenumodel.test 1323s TAP version 14 1323s # random seed: R02Sb4df3968b07f4d39b1038702be210185 1323s 1..15 1323s # Start of gmenu tests 1323s ok 1 /gmenu/equality 1324s ok 2 /gmenu/random 1324s ok 3 /gmenu/attributes 1324s ok 4 /gmenu/links 1324s ok 5 /gmenu/mutable 1324s ok 6 /gmenu/convenience 1324s ok 7 /gmenu/menuitem 1324s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1324s ok 8 /gmenu/input-validation 1324s # Start of dbus tests 1324s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1325s ok 9 /gmenu/dbus/roundtrip 1325s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1325s ok 10 /gmenu/dbus/subscriptions 1326s ok 11 /gmenu/dbus/threaded 1326s # slow test /gmenu/dbus/threaded executed in 0.64 secs 1326s # Start of peer tests 1327s ok 12 /gmenu/dbus/peer/roundtrip 1327s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1327s ok 13 /gmenu/dbus/peer/subscriptions 1327s # End of peer tests 1327s # Start of export tests 1327s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1327s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1327s ok 14 /gmenu/dbus/export/error-handling 1327s # End of export tests 1327s # End of dbus tests 1327s # Start of attributes tests 1327s ok 15 /gmenu/attributes/iterate 1327s # End of attributes tests 1327s # End of gmenu tests 1327s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1327s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1327s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1327s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1327s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1327s PASS: glib/gmenumodel.test 1327s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.9s; system=0.2s; maxrss=29144 1328s autopkgtest [20:10:45]: test gmenumodel: -----------------------] 1328s gmenumodel PASS 1328s autopkgtest [20:10:45]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1329s autopkgtest [20:10:46]: test mainloop: preparing testbed 1329s Reading package lists... 1329s Building dependency tree... 1329s Reading state information... 1329s Starting pkgProblemResolver with broken count: 0 1329s Starting 2 pkgProblemResolver with broken count: 0 1329s Done 1330s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1330s autopkgtest [20:10:47]: test mainloop: [----------------------- 1331s Running test: glib/mainloop.test 1331s TAP version 14 1331s # random seed: R02S4da7ce1c8694a37f2ce0989a85b932f7 1331s 1..45 1331s # Start of maincontext tests 1331s ok 1 /maincontext/basic 1331s # Add same-priority sources: 20 1331s # Find each source: 1 1331s # Remove in random order: 18 1331s ok 2 /maincontext/nsources_same_priority 1331s # Add different-priority sources: 18 1331s # Find each source: 1 1331s # Remove in random order: 19 1331s ok 3 /maincontext/nsources_different_priority 1331s # Add sources from threads: 186 1331s # Remove sources from threads: 119 1331s ok 4 /maincontext/nsources_threadpool 1331s ok 5 /maincontext/source_finalization 1331s # /maincontext/idle-once summary: Test g_idle_add_once() works 1331s ok 6 /maincontext/idle-once 1331s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1331s ok 7 /maincontext/timeout-once 1331s # Start of source_finalization_from_source tests 1331s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1331s ok 8 /maincontext/source_finalization_from_source/0 1331s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1331s ok 9 /maincontext/source_finalization_from_source/1 1331s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1331s ok 10 /maincontext/source_finalization_from_source/2 1331s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1331s ok 11 /maincontext/source_finalization_from_source/3 1331s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1331s ok 12 /maincontext/source_finalization_from_source/4 1331s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1331s ok 13 /maincontext/source_finalization_from_source/5 1331s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1331s ok 14 /maincontext/source_finalization_from_source/6 1331s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1331s ok 15 /maincontext/source_finalization_from_source/7 1331s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1331s ok 16 /maincontext/source_finalization_from_source/8 1331s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1331s ok 17 /maincontext/source_finalization_from_source/9 1331s # End of source_finalization_from_source tests 1331s # Start of source_finalization_from_dispatch tests 1331s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1331s ok 18 /maincontext/source_finalization_from_dispatch/0 1331s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1331s ok 19 /maincontext/source_finalization_from_dispatch/1 1331s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1331s ok 20 /maincontext/source_finalization_from_dispatch/2 1331s # End of source_finalization_from_dispatch tests 1331s # End of maincontext tests 1331s # Start of mainloop tests 1331s ok 21 /mainloop/basic 1331s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1331s ok 23 /mainloop/priorities 1332s ok 24 /mainloop/invoke 1332s # slow test /mainloop/invoke executed in 0.50 secs 1333s ok 25 /mainloop/child_sources 1333s # slow test /mainloop/child_sources executed in 1.18 secs 1335s ok 26 /mainloop/recursive_child_sources 1335s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 1335s ok 27 /mainloop/recursive_loop_child_sources 1335s ok 28 /mainloop/swapping_child_sources 1335s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1335s ok 29 /mainloop/blocked_child_sources 1336s ok 30 /mainloop/source_time 1336s # slow test /mainloop/source_time executed in 1.00 secs 1336s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1336s ok 31 /mainloop/overflow 1336s Executing: glib/mainloop.test 1337s ok 32 /mainloop/ready-time 1337s # slow test /mainloop/ready-time executed in 0.50 secs 1337s ok 33 /mainloop/wakeup 1337s ok 34 /mainloop/remove-invalid 1337s ok 35 /mainloop/unref-while-pending 1337s ok 36 /mainloop/unix-fd 1337s # slow test /mainloop/unix-fd executed in 0.69 secs 1337s ok 37 /mainloop/unix-fd-source 1337s ok 38 /mainloop/source-unix-fd-api 1337s ok 39 /mainloop/wait 1337s ok 40 /mainloop/unix-file-poll 1337s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1337s ok 41 /mainloop/unix-fd-priority 1337s ok 42 /mainloop/nfds 1337s ok 43 /mainloop/steal-fd 1337s # Start of ownerless-polling tests 1337s ok 44 /mainloop/ownerless-polling/attach-first 1337s ok 45 /mainloop/ownerless-polling/pop-first 1337s # End of ownerless-polling tests 1337s # End of mainloop tests 1337s PASS: glib/mainloop.test 1337s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=1.0s; maxrss=15964 1338s autopkgtest [20:10:55]: test mainloop: -----------------------] 1338s autopkgtest [20:10:55]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1338s mainloop PASS 1339s autopkgtest [20:10:56]: test memory-monitor-dbus: preparing testbed 1339s Reading package lists... 1339s Building dependency tree... 1339s Reading state information... 1339s Starting pkgProblemResolver with broken count: 0 1339s Starting 2 pkgProblemResolver with broken count: 0 1339s Done 1340s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1340s autopkgtest [20:10:57]: test memory-monitor-dbus: [----------------------- 1341s Running test: glib/memory-monitor-dbus.test 1341s TAP version 13 1341s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1341s # Received memory warning signal, level 1341s # Received memory warning signal, level 1341s # Received memory warning signal, level 1341s 1..1 1341s PASS: glib/memory-monitor-dbus.test 1341s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=30420 1341s autopkgtest [20:10:58]: test memory-monitor-dbus: -----------------------] 1342s memory-monitor-dbus PASS 1342s autopkgtest [20:10:59]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1342s autopkgtest [20:10:59]: test socket: preparing testbed 1342s Reading package lists... 1343s Building dependency tree... 1343s Reading state information... 1343s Starting pkgProblemResolver with broken count: 0 1343s Starting 2 pkgProblemResolver with broken count: 0 1343s Done 1343s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1344s autopkgtest [20:11:01]: test socket: [----------------------- 1344s Running test: glib/socket.test 1344s TAP version 14 1344s # random seed: R02S19d45c437dfbc9cd3b37140e0a59a038 1344s 1..28 1344s # Start of socket tests 1345s ok 1 /socket/ipv4_sync 1345s # slow test /socket/ipv4_sync executed in 1.00 secs 1346s ok 2 /socket/ipv4_async 1346s # slow test /socket/ipv4_async executed in 1.00 secs 1346s ok 3 /socket/ipv6_sync 1346s ok 4 /socket/ipv6_async 1346s ok 5 /socket/ipv6_v4mapped 1347s ok 6 /socket/close_graceful 1347s # slow test /socket/close_graceful executed in 1.00 secs 1347s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1347s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1347s ok 8 /socket/fd_reuse 1347s ok 9 /socket/address 1347s ok 10 /socket/unix-from-fd 1347s ok 11 /socket/unix-connection 1347s ok 12 /socket/unix-connection-ancillary-data 1347s ok 13 /socket/source-postmortem 1347s ok 14 /socket/read_write 1347s ok 15 /socket/read_writev 1347s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1347s ok 16 /socket/receive_bytes 1347s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1347s ok 17 /socket/receive_bytes_from 1347s # Start of ipv4_sync tests 1347s ok 18 /socket/ipv4_sync/datagram 1347s # Start of datagram tests 1348s ok 19 /socket/ipv4_sync/datagram/timeouts 1348s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1348s # End of datagram tests 1348s # End of ipv4_sync tests 1348s # Start of ipv6_sync tests 1348s ok 20 /socket/ipv6_sync/datagram 1348s # Start of datagram tests 1349s Executing: glib/socket.test 1349s ok 21 /socket/ipv6_sync/datagram/timeouts 1349s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1349s # End of datagram tests 1349s # End of ipv6_sync tests 1349s # Start of reuse tests 1349s ok 22 /socket/reuse/tcp 1349s ok 23 /socket/reuse/udp 1349s # End of reuse tests 1349s # Start of get_available tests 1349s ok 24 /socket/get_available/datagram 1349s ok 25 /socket/get_available/stream 1349s # End of get_available tests 1349s # Start of credentials tests 1349s # Supported on this OS: GCredentials:linux-ucred:pid=0 1349s ok 26 /socket/credentials/tcp_client 1349s # Supported on this OS: GCredentials:linux-ucred:pid=0 1349s ok 27 /socket/credentials/tcp_server 1349s # Supported on this OS: GCredentials:linux-ucred:pid=17633,uid=1000,gid=1000 1349s ok 28 /socket/credentials/unix_socketpair 1349s # End of credentials tests 1349s # End of socket tests 1349s PASS: glib/socket.test 1349s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5836 1350s autopkgtest [20:11:07]: test socket: -----------------------] 1350s socket PASS 1350s autopkgtest [20:11:07]: test socket: - - - - - - - - - - results - - - - - - - - - - 1351s autopkgtest [20:11:08]: test testfilemonitor: preparing testbed 1351s Reading package lists... 1351s Building dependency tree... 1351s Reading state information... 1351s Starting pkgProblemResolver with broken count: 0 1351s Starting 2 pkgProblemResolver with broken count: 0 1351s Done 1351s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1352s autopkgtest [20:11:09]: test testfilemonitor: [----------------------- 1352s Running test: glib/testfilemonitor.test 1352s TAP version 14 1352s # random seed: R02Sb67e1e6ff28473e6fb0059145004b2c4 1352s 1..8 1352s # Start of monitor tests 1352s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1352s # Using temporary directory: /tmp/gio-test-testfilemonitor_16WA02 1352s # Using GFileMonitor GInotifyFileMonitor 1354s ok 1 /monitor/atomic-replace 1354s # slow test /monitor/atomic-replace executed in 2.00 secs 1354s # Using temporary directory: /tmp/gio-test-testfilemonitor_V2SA02 1354s # Using GFileMonitor GInotifyFileMonitor 1357s ok 2 /monitor/file-changes 1357s # slow test /monitor/file-changes executed in 2.50 secs 1357s # Using temporary directory: /tmp/gio-test-testfilemonitor_M96L02 1357s # Using GFileMonitor GInotifyFileMonitor 1358s Executing: glib/testfilemonitor.test 1360s ok 3 /monitor/dir-monitor 1360s # slow test /monitor/dir-monitor executed in 3.50 secs 1360s # Using temporary directory: /tmp/gio-test-testfilemonitor_WAPA02 1360s # Using GFileMonitor GInotifyFileMonitor 1363s Executing: glib/testfilemonitor.test 1368s Executing: glib/testfilemonitor.test 1373s Executing: glib/testfilemonitor.test 1378s Executing: glib/testfilemonitor.test 1383s Executing: glib/testfilemonitor.test 1385s ok 4 /monitor/dir-not-existent 1385s # slow test /monitor/dir-not-existent executed in 25.02 secs 1385s # Using temporary directory: /tmp/gio-test-testfilemonitor_C949Z2 1385s # Using GFileMonitor 0 GInotifyFileMonitor 1385s # Using GFileMonitor 1 GInotifyFileMonitor 1387s ok 5 /monitor/cross-dir-moves 1387s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1387s # Using temporary directory: /tmp/gio-test-testfilemonitor_QM49Z2 1387s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1387s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1387s ok 6 /monitor/finalize-in-callback 1387s # Using temporary directory: /tmp/gio-test-testfilemonitor_GZV9Z2 1387s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1387s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1387s ok 7 /monitor/root 1387s # Start of file tests 1387s # Using temporary directory: /tmp/gio-test-testfilemonitor_2WV9Z2 1387s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1387s # Running with hard link tests 1387s # Using GFileMonitor GInotifyFileMonitor 1388s Executing: glib/testfilemonitor.test 1391s # Event 0 at expected index 7 skipped because it is marked as optional 1391s # Event 2 at expected index 11 skipped because it is marked as optional 1391s ok 8 /monitor/file/hard-links 1391s # slow test /monitor/file/hard-links executed in 3.50 secs 1391s # End of file tests 1391s # End of monitor tests 1391s PASS: glib/testfilemonitor.test 1391s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5960 1391s autopkgtest [20:11:48]: test testfilemonitor: -----------------------] 1392s autopkgtest [20:11:49]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1392s testfilemonitor PASS 1392s autopkgtest [20:11:49]: test thread-pool-slow: preparing testbed 1392s Reading package lists... 1393s Building dependency tree... 1393s Reading state information... 1393s Starting pkgProblemResolver with broken count: 0 1393s Starting 2 pkgProblemResolver with broken count: 0 1393s Done 1393s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1394s autopkgtest [20:11:51]: test thread-pool-slow: [----------------------- 1394s Running test: glib/thread-pool-slow.test 1394s TAP version 14 1394s # random seed: R02Sfa19f7adc0db502b64303bd05d80b437 1394s 1..7 1394s # Start of threadpool tests 1394s ok 1 /threadpool/functions 1395s ok 2 /threadpool/stop-unused 1395s # slow test /threadpool/stop-unused executed in 0.51 secs 1395s ok 3 /threadpool/pools 1395s # [unsorted] ===> pushed new thread with id:78, number of threads:1, unprocessed:1 1395s # [unsorted] ===> pushed new thread with id:40, number of threads:2, unprocessed:2 1395s # [unsorted] ===> pushed new thread with id:51, number of threads:3, unprocessed:3 1395s # [unsorted] ===> pushed new thread with id:65, number of threads:4, unprocessed:4 1395s # [unsorted] ===> pushed new thread with id:14, number of threads:5, unprocessed:5 1395s # [unsorted] ===> pushed new thread with id:40, number of threads:6, unprocessed:6 1395s # [unsorted] ===> pushed new thread with id:25, number of threads:7, unprocessed:7 1395s # [unsorted] ===> pushed new thread with id:31, number of threads:8, unprocessed:8 1395s # [unsorted] ===> pushed new thread with id:42, number of threads:9, unprocessed:9 1395s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:10 1395s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:11 1395s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:12 1395s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:13 1395s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:14 1395s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:15 1395s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:16 1395s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:17 1395s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:18 1395s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:19 1395s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:20 1395s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:21 1395s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:22 1395s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:23 1395s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:24 1395s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:25 1395s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:26 1395s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:27 1395s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:28 1395s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:29 1395s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:30 1395s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:31 1395s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:32 1395s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:33 1395s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:34 1395s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:35 1395s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:36 1395s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:37 1395s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:38 1395s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:39 1395s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:40 1395s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:41 1395s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:42 1395s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:43 1395s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:44 1395s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:45 1395s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:46 1395s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:47 1395s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:48 1395s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:49 1395s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:50 1395s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:51 1395s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:52 1395s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:53 1395s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:54 1395s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:55 1395s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:56 1395s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:57 1395s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:58 1395s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:58 1395s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:59 1395s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:60 1395s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:61 1395s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:61 1395s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:62 1395s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:62 1395s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:63 1395s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:64 1395s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:64 1395s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:65 1395s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:66 1395s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:67 1395s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:68 1395s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:69 1395s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:70 1395s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:71 1395s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:71 1395s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:72 1395s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:72 1395s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:72 1395s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:73 1395s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:73 1395s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:74 1395s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:74 1395s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:75 1395s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:76 1395s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:77 1395s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:78 1395s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:79 1395s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:80 1395s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:81 1395s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:82 1395s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:83 1395s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:84 1395s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:85 1395s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:86 1395s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:87 1395s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:88 1395s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:89 1395s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:90 1395s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:91 1395s ok 4 /threadpool/no-sort 1395s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:1 1395s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:2 1395s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:3 1395s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:4 1395s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:5 1395s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:6 1395s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:7 1395s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:8 1395s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:9 1395s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:10 1395s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:11 1395s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:12 1395s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:13 1395s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:14 1395s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:15 1395s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:16 1395s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:17 1395s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:18 1395s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:19 1395s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:20 1395s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:21 1395s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:22 1395s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:23 1395s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:24 1395s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:25 1395s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:26 1395s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:27 1395s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:28 1395s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:29 1395s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:30 1395s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:31 1395s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:32 1395s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:33 1395s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:34 1395s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:35 1395s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:36 1395s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:37 1395s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:38 1395s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:39 1395s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:40 1395s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:41 1395s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:42 1395s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:43 1395s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:44 1395s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:45 1395s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:46 1395s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:47 1395s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:48 1395s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:49 1395s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:50 1395s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:51 1395s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:52 1395s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:53 1395s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:54 1395s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:55 1395s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:56 1395s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:57 1395s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:58 1395s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:59 1395s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:60 1395s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:61 1395s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:62 1395s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:63 1395s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:64 1395s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:65 1395s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:66 1395s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:67 1395s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:68 1395s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:69 1395s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:70 1395s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:71 1395s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:72 1395s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:73 1395s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:74 1395s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:75 1395s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:76 1395s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:77 1395s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:78 1395s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:79 1395s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:80 1395s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:81 1395s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:82 1395s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:83 1395s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:84 1395s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:85 1395s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:86 1395s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:87 1395s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:88 1395s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:89 1395s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:90 1395s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:91 1395s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:92 1395s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:93 1395s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:94 1395s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:95 1395s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:96 1395s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:97 1395s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:98 1395s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:99 1395s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:100 1395s # Starting thread pool processing 1395s ok 5 /threadpool/sort 1395s ok 6 /threadpool/stop-unused-multiple 1395s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1395s # Pool idle thread count: 0, unprocessed jobs: 40 1396s # Pool idle thread count: 0, unprocessed jobs: 0 1396s # Pool idle thread count: 0, 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 # Pool idle thread count: 10, unprocessed jobs: 0 1399s # 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 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: 10, unprocessed jobs: 0 1403s # 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 Executing: glib/thread-pool-slow.test 1404s # Pool idle thread count: 10, unprocessed jobs: 2 1404s # Pool idle thread count: 10, unprocessed jobs: 2 1404s # Pool idle thread count: 8, unprocessed jobs: 0 1404s # Pool idle thread count: 8, 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: 10, unprocessed jobs: 0 1405s # Pool idle thread count: 10, unprocessed jobs: 0 1406s # Pool idle thread count: 10, unprocessed jobs: 0 1406s # Pool idle thread count: 10, 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 # Pool idle thread count: 2, unprocessed jobs: 0 1409s # 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 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 # Pool idle thread count: 2, unprocessed jobs: 0 1414s # Pool idle thread count: 2, unprocessed jobs: 0 1414s Executing: glib/thread-pool-slow.test 1414s # Pool idle thread count: 2, unprocessed jobs: 0 1414s # Pool idle thread count: 2, unprocessed jobs: 0 1415s ok 7 /threadpool/idle-time 1415s # slow test /threadpool/idle-time executed in 19.53 secs 1415s # End of threadpool tests 1415s PASS: glib/thread-pool-slow.test 1415s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=4344 1415s autopkgtest [20:12:12]: test thread-pool-slow: -----------------------] 1416s autopkgtest [20:12:13]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1416s thread-pool-slow PASS 1416s autopkgtest [20:12:13]: test threadtests: preparing testbed 1417s Reading package lists... 1417s Building dependency tree... 1417s Reading state information... 1417s Starting pkgProblemResolver with broken count: 0 1417s Starting 2 pkgProblemResolver with broken count: 0 1417s Done 1417s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1418s autopkgtest [20:12:15]: test threadtests: [----------------------- 1418s Running test: glib/threadtests.test 1418s TAP version 14 1418s # random seed: R02Sd16017e1f2ac85915af2820761a60663 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.76 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.5s; system=0.6s; maxrss=3996 1420s autopkgtest [20:12:17]: test threadtests: -----------------------] 1420s autopkgtest [20:12:17]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1420s threadtests PASS 1421s autopkgtest [20:12:18]: test timeout: preparing testbed 1421s 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 1421s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1422s autopkgtest [20:12:19]: test timeout: [----------------------- 1422s Running test: glib/timeout.test 1422s TAP version 14 1422s # random seed: R02Sec5a8922159fbaf4085e1618eccd5c9d 1422s 1..5 1422s # Start of timeout tests 1422s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1424s ok 1 /timeout/seconds 1424s # 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 1427s 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 1432s Executing: glib/timeout.test 1437s Executing: glib/timeout.test 1439s ok 5 /timeout/rounding 1439s # slow test /timeout/rounding executed in 10.55 secs 1439s # End of timeout tests 1439s PASS: glib/timeout.test 1439s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3336 1440s autopkgtest [20:12:37]: test timeout: -----------------------] 1440s autopkgtest [20:12:37]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1440s timeout PASS 1440s autopkgtest [20:12:37]: test timer: preparing testbed 1441s Reading package lists... 1441s Building dependency tree... 1441s Reading state information... 1441s Starting pkgProblemResolver with broken count: 0 1441s Starting 2 pkgProblemResolver with broken count: 0 1441s Done 1441s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1442s autopkgtest [20:12:39]: test timer: [----------------------- 1442s Running test: glib/timer.test 1442s TAP version 14 1442s # random seed: R02S840c5081bee396f1a1a56bc9b18c94d7 1442s 1..10 1442s # Start of timer tests 1442s ok 1 /timer/basic 1442s ok 2 /timer/stop 1442s ok 3 /timer/continue 1442s ok 4 /timer/reset 1442s ok 5 /timer/is_active 1442s # End of timer tests 1442s # Start of timeval tests 1442s ok 6 /timeval/add 1442s ok 7 /timeval/from-iso8601 1442s ok 8 /timeval/to-iso8601 1442s # Start of to-iso8601 tests 1442s ok 9 /timeval/to-iso8601/overflow 1442s # End of to-iso8601 tests 1442s # End of timeval tests 1442s # Start of usleep tests 1442s ok 10 /usleep/with-zero-wait 1442s # End of usleep tests 1442s PASS: glib/timer.test 1442s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3432 1443s autopkgtest [20:12:40]: test timer: -----------------------] 1443s timer PASS 1443s autopkgtest [20:12:40]: test timer: - - - - - - - - - - results - - - - - - - - - - 1443s autopkgtest [20:12:40]: test 1065022-futureproofing: preparing testbed 1679s autopkgtest [20:16:36]: testbed dpkg architecture: amd64 1679s autopkgtest [20:16:36]: testbed apt version: 2.9.18 1680s autopkgtest [20:16:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1680s autopkgtest [20:16:37]: testbed release detected to be: plucky 1681s autopkgtest [20:16:38]: updating testbed package index (apt update) 1681s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1681s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1681s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1681s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1681s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [166 kB] 1681s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 1682s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.2 kB] 1682s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1682s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [304 kB] 1682s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [214 kB] 1682s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 1682s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 1682s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1011 kB] 1682s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [438 kB] 1682s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4396 B] 1682s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.8 kB] 1682s Fetched 3154 kB in 1s (3096 kB/s) 1683s Reading package lists... 1683s + lsb_release --codename --short 1683s + RELEASE=plucky 1683s + cat 1683s + [ plucky != trusty ] 1683s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 1683s Reading package lists... 1683s Building dependency tree... 1683s Reading state information... 1684s Calculating upgrade... 1684s The following packages will be upgraded: 1684s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-chardet 1684s python3-jwt rng-tools-debian usb.ids 1684s 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1684s Need to get 1352 kB of archives. 1684s After this operation, 1024 B disk space will be freed. 1684s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 1684s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-13ubuntu1 [10.3 kB] 1684s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-13ubuntu1 [53.0 kB] 1684s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-13ubuntu1 [787 kB] 1684s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-13ubuntu1 [78.2 kB] 1684s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 1684s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 1684s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-chardet all 5.2.0+dfsg-2 [116 kB] 1684s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-jwt all 2.10.1-2 [21.0 kB] 1685s Fetched 1352 kB in 1s (2145 kB/s) 1685s (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 ... 75824 files and directories currently installed.) 1685s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 1685s Unpacking rng-tools-debian (2.6) over (2.5) ... 1685s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_amd64.deb ... 1685s Unpacking libatomic1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 1685s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_amd64.deb ... 1685s Unpacking gcc-14-base:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 1685s Setting up gcc-14-base:amd64 (14.2.0-13ubuntu1) ... 1685s (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 ... 75824 files and directories currently installed.) 1685s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_amd64.deb ... 1685s Unpacking libstdc++6:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 1685s Setting up libstdc++6:amd64 (14.2.0-13ubuntu1) ... 1685s (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 ... 75824 files and directories currently installed.) 1685s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_amd64.deb ... 1685s Unpacking libgcc-s1:amd64 (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 1685s Setting up libgcc-s1:amd64 (14.2.0-13ubuntu1) ... 1685s (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 ... 75824 files and directories currently installed.) 1685s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 1685s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 1685s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 1685s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 1685s Preparing to unpack .../python3-chardet_5.2.0+dfsg-2_all.deb ... 1685s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 1685s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 1685s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 1685s Setting up python3-jwt (2.10.1-2) ... 1685s Setting up python3-chardet (5.2.0+dfsg-2) ... 1686s Setting up rng-tools-debian (2.6) ... 1686s Setting up libatomic1:amd64 (14.2.0-13ubuntu1) ... 1686s Setting up usb.ids (2025.01.14-1) ... 1686s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 1686s Processing triggers for man-db (2.13.0-1) ... 1687s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1687s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 1687s + /usr/lib/apt/apt-helper analyze-pattern ?true 1687s Reading package lists... 1687s Building dependency tree...+ DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 1687s 1687s Reading state information... 1688s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1688s + grep -q trusty /etc/lsb-release 1688s + [ ! -d /usr/share/doc/unattended-upgrades ] 1688s + [ ! -d /usr/share/doc/lxd ] 1688s + [ ! -d /usr/share/doc/lxd-client ] 1688s + [ ! -d /usr/share/doc/snapd ] 1688s + type iptables 1688s + cat 1688s + chmod 755 /etc/rc.local 1688s + . /etc/rc.local 1688s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1688s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 1688s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 1688s + uname -m 1688s + [ x86_64 = ppc64le ] 1688s + [ -d /run/systemd/system ] 1688s + systemd-detect-virt --quiet --vm 1688s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 1688s + cat 1688s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 1688s + echo COMPRESS=lz4 1688s + sync 1688s autopkgtest [20:16:45]: upgrading testbed (apt dist-upgrade and autopurge) 1688s Reading package lists... 1688s Building dependency tree... 1688s Reading state information... 1688s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1688s Starting 2 pkgProblemResolver with broken count: 0 1688s Done 1689s Entering ResolveByKeep 1689s 1689s The following packages will be upgraded: 1689s libselinux1 1689s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1689s Need to get 87.1 kB of archives. 1689s After this operation, 1024 B of additional disk space will be used. 1689s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libselinux1 amd64 3.7-3ubuntu2 [87.1 kB] 1689s Fetched 87.1 kB in 0s (308 kB/s) 1689s (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 ... 75821 files and directories currently installed.) 1689s Preparing to unpack .../libselinux1_3.7-3ubuntu2_amd64.deb ... 1689s Unpacking libselinux1:amd64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 1689s Setting up libselinux1:amd64 (3.7-3ubuntu2) ... 1689s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1690s Reading package lists... 1690s Building dependency tree... 1690s Reading state information... 1690s Starting pkgProblemResolver with broken count: 0 1690s Starting 2 pkgProblemResolver with broken count: 0 1690s Done 1690s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1691s autopkgtest [20:16:48]: rebooting testbed after setup commands that affected boot 1716s Reading package lists... 1716s Building dependency tree... 1716s Reading state information... 1717s Starting pkgProblemResolver with broken count: 0 1717s Starting 2 pkgProblemResolver with broken count: 0 1717s Done 1717s The following NEW packages will be installed: 1717s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1717s libdconf1 1717s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1717s Need to get 137 kB of archives. 1717s After this operation, 630 kB of additional disk space will be used. 1717s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libdconf1 amd64 0.40.0-4build2 [39.4 kB] 1717s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-service amd64 0.40.0-4build2 [27.5 kB] 1717s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-gsettings-backend amd64 0.40.0-4build2 [22.1 kB] 1717s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 dpkg-repack all 1.54 [11.2 kB] 1717s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1718s Fetched 137 kB in 0s (387 kB/s) 1718s Selecting previously unselected package libdconf1:amd64. 1718s (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 ... 75821 files and directories currently installed.) 1718s Preparing to unpack .../libdconf1_0.40.0-4build2_amd64.deb ... 1718s Unpacking libdconf1:amd64 (0.40.0-4build2) ... 1718s Selecting previously unselected package dconf-service. 1718s Preparing to unpack .../dconf-service_0.40.0-4build2_amd64.deb ... 1718s Unpacking dconf-service (0.40.0-4build2) ... 1718s Selecting previously unselected package dconf-gsettings-backend:amd64. 1718s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_amd64.deb ... 1718s Unpacking dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 1718s Selecting previously unselected package dpkg-repack. 1718s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1718s Unpacking dpkg-repack (1.54) ... 1718s Selecting previously unselected package gsettings-desktop-schemas. 1718s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1718s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1718s Setting up dpkg-repack (1.54) ... 1718s Setting up libdconf1:amd64 (0.40.0-4build2) ... 1718s Setting up dconf-service (0.40.0-4build2) ... 1718s Setting up dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 1718s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1718s Processing triggers for man-db (2.13.0-1) ... 1718s Processing triggers for libglib2.0-0t64:amd64 (2.82.4-1) ... 1718s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1729s autopkgtest [20:17:26]: test 1065022-futureproofing: [----------------------- 1729s + export DEBIAN_FRONTEND=noninteractive 1729s + n=0 1729s + failed=0 1729s + binary_package=libglib2.0-0t64 1729s + future_binary_package=libglib2.0-0xyz 1729s + pwd 1729s + srcdir=/tmp/autopkgtest.20kj3z/build.ScS/src 1729s + mktemp -d 1729s + tmpdir=/tmp/tmp.WqjX9L64s5 1729s + cd /tmp/tmp.WqjX9L64s5 1729s + [ -e /tmp/autopkgtest.20kj3z/build.ScS/src/debian/tests/manual/local-1065022.sources ] 1729s + dpkg-query -W dpkg-repack 1729s dpkg-repack 1.54 1729s + dpkg-repack --generate libglib2.0-0t64 1729s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1729s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.bJGFFN for libglib2.0-0t64 1729s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.bJGFFN ." 1729s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.bJGFFN/DEBIAN/control 1729s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.bJGFFN/DEBIAN/control 1729s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.bJGFFN/DEBIAN/control 1729s + 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.bJGFFN/DEBIAN/control 1729s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.bJGFFN libglib2.0-0xyz.deb 1729s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1731s + apt-get -y install ./libglib2.0-0xyz.deb 1731s Reading package lists... 1731s Building dependency tree... 1731s Reading state information... 1731s The following packages were automatically installed and are no longer required: 1731s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1731s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1731s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1731s libprotobuf-c1 libtss2-esys-3.0.2-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64 1731s libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 python3-apport python3-certifi 1731s python3-chardet python3-configobj python3-debconf python3-markdown-it 1731s python3-mdurl python3-openssl python3-problem-report python3-pygments 1731s python3-requests python3-rich python3-systemd python3-urllib3 1731s Use 'sudo apt autoremove' to remove them. 1731s The following additional packages will be installed: 1731s xdg-user-dirs 1731s Suggested packages: 1731s low-memory-monitor 1731s Recommended packages: 1731s shared-mime-info 1731s The following packages will be REMOVED: 1731s apport apport-core-dump-handler bolt cloud-init cloud-init-base fwupd 1731s gir1.2-girepository-2.0 gir1.2-glib-2.0 libblockdev-crypto3 libblockdev-fs3 1731s libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 1731s libblockdev-swap3 libblockdev-utils3 libblockdev3 libfwupd3 1731s libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 libjcat1 1731s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 1731s libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 libqmi-proxy 1731s libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 netplan-generator 1731s netplan.io networkd-dispatcher python3-dbus python3-gi python3-netplan 1731s shared-mime-info ubuntu-minimal udisks2 1731s The following NEW packages will be installed: 1731s libglib2.0-0xyz xdg-user-dirs 1731s 0 upgraded, 2 newly installed, 44 to remove and 0 not upgraded. 1731s Need to get 18.5 kB/1675 kB of archives. 1731s After this operation, 32.9 MB disk space will be freed. 1731s Get:1 /tmp/tmp.WqjX9L64s5/libglib2.0-0xyz.deb libglib2.0-0xyz amd64 2.82.4-1 [1656 kB] 1731s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 xdg-user-dirs amd64 0.18-2 [18.5 kB] 1731s Fetched 18.5 kB in 0s (83.4 kB/s) 1732s (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 ... 75889 files and directories currently installed.) 1732s Removing bolt (0.9.8-1) ... 1732s Removing cloud-init (25.1~2g4ee65391-0ubuntu1) ... 1732s Removing cloud-init-base (25.1~2g4ee65391-0ubuntu1) ... 1732s Removing fwupd (2.0.3-3) ... 1733s Removing networkd-dispatcher (2.2.4-1.1) ... 1733s Removing udisks2 (2.10.1-11ubuntu1) ... 1733s Removing libblockdev-crypto3:amd64 (3.2.1-1) ... 1733s Removing libblockdev-fs3:amd64 (3.2.1-1) ... 1733s Removing libblockdev-loop3:amd64 (3.2.1-1) ... 1733s Removing libblockdev-mdraid3:amd64 (3.2.1-1) ... 1733s Removing libblockdev-nvme3:amd64 (3.2.1-1) ... 1733s Removing libblockdev-part3:amd64 (3.2.1-1) ... 1733s Removing libblockdev-swap3:amd64 (3.2.1-1) ... 1733s Removing libblockdev3:amd64 (3.2.1-1) ... 1733s Removing libblockdev-utils3:amd64 (3.2.1-1) ... 1733s Removing libfwupd3:amd64 (2.0.3-3) ... 1733s Removing shared-mime-info (2.4-5) ... 1733s Removing python3-dbus (1.3.2-5build4) ... 1733s Removing ubuntu-minimal (1.544) ... 1733s Removing netplan.io (1.1.1-1) ... 1733s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1733s Removing netplan-generator (1.1.1-1) ... 1734s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1734s Removing libxmlb2:amd64 (0.3.21-1) ... 1734s Removing libvolume-key1:amd64 (0.3.12-8) ... 1734s Removing libudisks2-0:amd64 (2.10.1-11ubuntu1) ... 1734s Removing libqmi-proxy (1.35.6-1) ... 1734s Removing libqmi-glib5:amd64 (1.35.6-1) ... 1734s Removing libqrtr-glib0:amd64 (1.2.2-1ubuntu4) ... 1734s Removing libpolkit-agent-1-0:amd64 (125-2ubuntu1) ... 1734s Removing libpolkit-gobject-1-0:amd64 (125-2ubuntu1) ... 1734s Removing python3-netplan (1.1.1-1) ... 1734s Removing libnetplan1:amd64 (1.1.1-1) ... 1734s Removing libmm-glib0:amd64 (1.23.4-0ubuntu2) ... 1734s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1734s Removing libmbim-glib4:amd64 (1.31.2-0ubuntu4) ... 1734s Removing libjcat1:amd64 (0.2.0-2build3) ... 1734s Removing libjson-glib-1.0-0:amd64 (1.10.6+ds-1) ... 1734s Removing libgudev-1.0-0:amd64 (1:238-6) ... 1734s Removing apport (2.31.0-0ubuntu2) ... 1734s Removing apport-core-dump-handler (2.31.0-0ubuntu2) ... 1735s Removing python3-gi (3.50.0-3build1) ... 1735s Removing gir1.2-girepository-2.0:amd64 (1.82.0-3) ... 1735s Removing gir1.2-glib-2.0:amd64 (2.82.4-1) ... 1735s Removing libgirepository-1.0-1:amd64 (1.82.0-3) ... 1735s dpkg: libglib2.0-0t64:amd64: dependency problems, but removing anyway as you requested: 1735s libdconf1:amd64 depends on libglib2.0-0 (>= 2.79.0); however: 1735s Package libglib2.0-0 is not installed. 1735s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 1735s dconf-service depends on libglib2.0-0 (>= 2.79.0); however: 1735s Package libglib2.0-0 is not installed. 1735s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 1735s dconf-gsettings-backend:amd64 depends on libglib2.0-0 (>= 2.79.0); however: 1735s Package libglib2.0-0 is not installed. 1735s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 1735s 1735s Removing libglib2.0-0t64:amd64 (2.82.4-1) ... 1735s Selecting previously unselected package libglib2.0-0xyz:amd64. 1735s (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 ... 74888 files and directories currently installed.) 1735s Preparing to unpack .../libglib2.0-0xyz.deb ... 1735s Unpacking libglib2.0-0xyz:amd64 (2.82.4-1) ... 1735s Selecting previously unselected package xdg-user-dirs. 1735s Preparing to unpack .../xdg-user-dirs_0.18-2_amd64.deb ... 1735s Unpacking xdg-user-dirs (0.18-2) ... 1735s Setting up xdg-user-dirs (0.18-2) ... 1735s Setting up libglib2.0-0xyz:amd64 (2.82.4-1) ... 1735s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1735s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1735s Processing triggers for man-db (2.13.0-1) ... 1736s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1736s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1736s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1736s + n=1 1736s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1736s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1736s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1736s + n=2 1736s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1736s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1736s ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1736s ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1736s ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1736s ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1736s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1736s + n=3 1736s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1736s + echo ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1736s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1736s + n=4 1736s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1736s + echo ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1736s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1736s + n=5 1736s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1736s + echo ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1736s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1736s + n=6 1736s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1736s + echo ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1736s + apt-get -y purge libglib2.0-0t64 1736s Reading package lists... 1736s Building dependency tree... 1736s Reading state information... 1736s The following packages were automatically installed and are no longer required: 1736s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1736s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1736s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1736s libprotobuf-c1 libtss2-esys-3.0.2-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64 1736s libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 python3-apport python3-certifi 1736s python3-chardet python3-configobj python3-debconf python3-markdown-it 1736s python3-mdurl python3-openssl python3-problem-report python3-pygments 1736s python3-requests python3-rich python3-systemd python3-urllib3 1736s Use 'sudo apt autoremove' to remove them. 1736s The following packages will be REMOVED: 1736s libglib2.0-0t64* 1736s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1736s After this operation, 0 B of additional disk space will be used. 1737s (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 ... 74923 files and directories currently installed.) 1737s Purging configuration files for libglib2.0-0t64:amd64 (2.82.4-1) ... 1737s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1737s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1737s ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1737s ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1737s ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1737s ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1737s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1737s + n=7 1737s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1737s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1737s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1737s + n=8 1737s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1737s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1737s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1737s + n=9 1737s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1737s + echo ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1737s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1737s + n=10 1737s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1737s + echo ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1737s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1737s + n=11 1737s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1737s + echo ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1737s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1737s + n=12 1737s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1737s + echo ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1737s + apt-get -y purge libglib2.0-0xyz 1737s Reading package lists... 1737s Building dependency tree... 1737s Reading state information... 1737s The following packages were automatically installed and are no longer required: 1737s apport-symptoms fwupd-signed jq libatasmart4 libatomic1 libbytesize-common 1737s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 1737s libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 1737s libnss3 libnvme1t64 libonig5 libprotobuf-c1 libtss2-esys-3.0.2-0t64 1737s libtss2-sys1t64 libtss2-tcti-cmd0t64 libtss2-tcti-mssim0t64 1737s libtss2-tcti-swtpm0t64 python3-apport python3-certifi python3-chardet 1737s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1737s python3-openssl python3-problem-report python3-pygments python3-requests 1737s python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1737s Use 'sudo apt autoremove' to remove them. 1737s The following packages will be REMOVED: 1737s dconf-gsettings-backend* dconf-service* gsettings-desktop-schemas* 1737s libdconf1* libglib2.0-0xyz* 1737s 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded. 1737s After this operation, 5172 kB disk space will be freed. 1737s (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 ... 74923 files and directories currently installed.) 1737s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1737s Removing dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 1737s Removing dconf-service (0.40.0-4build2) ... 1737s Removing libdconf1:amd64 (0.40.0-4build2) ... 1737s Removing libglib2.0-0xyz:amd64 (2.82.4-1) ... 1737s Processing triggers for man-db (2.13.0-1) ... 1738s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1738s (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 ... 74840 files and directories currently installed.) 1738s Purging configuration files for libglib2.0-0xyz:amd64 (2.82.4-1) ... 1738s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1738s + n=13 1738s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1738s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1738s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1738s + n=14 1738s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1738s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1738s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1738s + n=15 1738s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1738s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1738s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1738s + n=16 1738s + test -e /usr/lib/*/gio/modules/giomodule.cache 1738s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1738s + echo 1..16 1738s + exit 0 1738s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1738s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1738s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1738s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1738s 1..16 1738s autopkgtest [20:17:35]: test 1065022-futureproofing: -----------------------] 1739s autopkgtest [20:17:36]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1739s 1065022-futureproofing PASS 1739s autopkgtest [20:17:36]: @@@@@@@@@@@@@@@@@@@@ summary 1739s build PASS (superficial) 1739s build-static PASS (superficial) 1739s girepository-tools PASS (superficial) 1739s libgio-2.0-dev-bin PASS (superficial) 1739s libglib2.0-dev PASS (superficial) 1739s installed-tests PASS 1739s closure-refcount PASS 1739s debugcontroller PASS 1739s gdbus-server-auth PASS 1739s gdbus-threading PASS 1739s gmenumodel PASS 1739s mainloop PASS 1739s memory-monitor-dbus PASS 1739s socket PASS 1739s testfilemonitor PASS 1739s thread-pool-slow PASS 1739s threadtests PASS 1739s timeout PASS 1739s timer PASS 1739s 1065022-futureproofing PASS 1831s nova [W] Skipping flock for amd64 1831s Creating nova instance adt-plucky-amd64-glib2.0-20250117-194837-juju-7f2275-prod-proposed-migration-environment-2-18ff74ab-01ce-407a-b5da-12412017a748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1831s nova [W] Timed out waiting for 93c28216-6527-40c4-974c-402212c55bbd to get deleted. 1831s nova [W] Skipping flock for amd64 1831s Creating nova instance adt-plucky-amd64-glib2.0-20250117-194837-juju-7f2275-prod-proposed-migration-environment-2-18ff74ab-01ce-407a-b5da-12412017a748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1831s nova [W] Timed out waiting for c68ccea6-e737-4b4e-9206-e84817887182 to get deleted. 1831s nova [W] Skipping flock for amd64 1831s Creating nova instance adt-plucky-amd64-glib2.0-20250117-194837-juju-7f2275-prod-proposed-migration-environment-2-18ff74ab-01ce-407a-b5da-12412017a748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1831s nova [W] Timed out waiting for 42593ff8-cbfc-4f57-a6f9-cfd8ab1c05c8 to get deleted. 1831s nova [W] Skipping flock for amd64 1831s Creating nova instance adt-plucky-amd64-glib2.0-20250117-194837-juju-7f2275-prod-proposed-migration-environment-2-18ff74ab-01ce-407a-b5da-12412017a748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1831s nova [W] Timed out waiting for 5441c60a-9cc8-4223-a31d-5da6b2c7b9e3 to get deleted. 1831s nova [W] Skipping flock for amd64 1831s Creating nova instance adt-plucky-amd64-glib2.0-20250117-194837-juju-7f2275-prod-proposed-migration-environment-2-18ff74ab-01ce-407a-b5da-12412017a748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1831s nova [W] Timed out waiting for 2fb9815d-8eed-4119-b3c9-00bbe16fbb63 to get deleted. 1831s nova [W] Skipping flock for amd64 1831s Creating nova instance adt-plucky-amd64-glib2.0-20250117-194837-juju-7f2275-prod-proposed-migration-environment-2-18ff74ab-01ce-407a-b5da-12412017a748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1831s nova [W] Timed out waiting for 7bef093e-7dff-4601-bf69-58e4ad837ba9 to get deleted.